RouterA配置脚本 |
sysname RouterA
interface Ethernet1/0/0
ip address
interface Serial2/0/0
link-protocol ppp
ip address
ip route-static 30.1.1.0 255.255.255.0
/配置到对端PC2所在网段的静态路由,缺省优先级为60/
|
RouterB配置脚本 |
sysname RouterA
interface Ethernet1/0/0
ip address
interface Serial2/0/0
link-protocol ppp
ip address
ip route-static 30.1.1.0 255.255.255.0
/配置到对端PC2所在网段的静态路由,缺省优先级为60/
|