拓扑图
配置:
SW0:SW-L201(config)#interface fastEthernet 0/1
SW-L201(config-if)#switchport mode access
SW-L201(config)#interface fastEthernet 0/24
SW-L201(config-if)#switchport mode trunk
SW1:同SW0
RT0:
RT-L(config)#interface fastEthernet 0/0
RT-L(config-if)#no shutdown
RT-L(config-if)#ip address 192.168.1.1 255.255.255.0
RT-L(config-if)#exit
RT-L(config)#interface serial 0/0/0
RT-L(config-if)#clock rate 64000
RT-L(config-if)#exit
RT-L(config)#interface serial 0/0/0
RT-L(config-if)#clock rate 64000
RT-L(config-if)#ip address 192.168.3.1 255.255.255.0
RT-L(config-if)#no shutdown
RT-L(config-if)#exit
RT-L(config-if)#exit
RT-L(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.2
RT-L(config-if)#end
RT-L(config-if)#end
RT1:
RT-L(config)#interface fastEthernet 0/0
RT-L(config-if)#no shutdown
RT-L(config-if)#ip address 192.168.2.1 255.255.255.0
RT-L(config-if)#exit
RT-L(config)#interface serial 0/0/0
RT-L(config-if)#clock rate 64000
RT-L(config-if)#exit
RT-L(config)#interface serial 0/0/0
RT-L(config-if)#clock rate 64000
RT-L(config-if)#ip address 192.168.3.2 255.255.255.0
RT-L(config-if)#no shutdown
RT-L(config-if)#exit
RT-L(config-if)#exit
RT-L(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.1
RT-L(config-if)#end
RT-L(config-if)#end