LSW2 system-view vlan batch 10 20 30 int e 0/0/4 port link-type access port default vlan 10 quit int e 0/0/3 port link-type access port default vlan 20 quit int e 0/0/2 port link-type access port default vlan 30 quit int e 0/0/1 port link-type trunk port trunk allow-pass vlan 10 20 30 quit quit save LSW3 system-view vlan batch 10 20 30 int e 0/0/4 port link-type access port default vlan 10 quit int e 0/0/3 port link-type access port default vlan 20 quit int e 0/0/2 port link-type access port default vlan 30 quit int e 0/0/1 port link-type trunk port trunk allow-pass vlan 10 20 30 quit quit save LSW4 system-view vlan batch 10 20 30 int e 0/0/4 port link-type access port default vlan 10 quit int e 0/0/3 port link-type access port default vlan 20 quit int e 0/0/2 port link-type access port default vlan 30 quit int e 0/0/1 port link-type trunk port trunk allow-pass vlan 10 20 30 quit quit save core SW system-view vlan batch 10 20 30 40 int vlan 10 ip address 192.168.10.254 255.255.255.0 quit int vlan 20 ip address 192.168.20.254 255.255.255.0 quit int vlan 30 ip address 192.168.30.254 255.255.255.0 quit int vlan 40 ip address 10.0.0.2.254 255.255.255.252 quit int gi 0/0/2 port link-type trunk port trunk allow-pass vlan 10 20 30 quit int gi 0/0/3 port link-type trunk port trunk allow-pass vlan 10 20 30 quit int gi 0/0/4 port link-type trunk port trunk allow-pass vlan 10 20 30 quit int gi 0/0/1 port link-type access port default vlan 40 quit ip route-static 172.16.1.0 255,255,255,0 10.0.0.1 quit quit save LSW6-RT sys vlan batch 40 50 quit int vlan 40 ip add 10.0.0.1 255.255.255.252 quit int vlan 50 ip add 172.16.1.1 255.255.255.0 quit ip route-static 192.168.10.0 255,255,255,0 10.0.0.2 ip route-static 192.168.20.0 255,255,255,0 10.0.0.2 ip route-static 192.168.30.0 255,255,255,0 10.0.0.2 quit quit save
华为一般企业网核心部分-排错-练习题-适合老手
原创
©著作权归作者所有:来自51CTO博客作者抽烟的土豆的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:cisco设备NAT-适合初学者
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Pandas——练习题一
作业一:(使用jupyter notebook 工具)Step
pandas值筛选 数据 赋值