第11周实验

三台交换机相连

交换机1:

system-view

interface LoopBack 0

ip add 192.168.10.1 24

qu

interface g0/0

ip add 10.1.1.1 30

qu

ip route-static 10.1.1.4 30 10.1.1.2

ip  route-static 172.16.1.0 24 10.1.1.2

交换机2:

system-view

interface g0/0

ip add 10.1.1.2 30

qu

interface g0/1

ip  route-static 10.1.1.5 30

qu

ip  route-static 192.168.10.0 24 10.1.1.1

ip  route-static 172.16.1.0 24 10.1.1.6

交换机3:

system-view

interface LoopBack 0

ip add 172.16.1.1 24

qu

inteface g0/1

ip add 10.1.1.5 30

qu

ip  route-static 192.168. 10. 0 24 10.1.1.5

ip  route-static 10.1.1.0 30 10.1.1.5

猜你喜欢

转载自www.cnblogs.com/201710110240aa/p/10886996.html