项目需求:全网互通
1.拓扑图
2.配置思路
1)所有交换机创建 10 20 30 40 50 60 70 80 100 200 500 等Vlan并修改名字
详细:略..
注:Vlan分两次创建、不然会报错
2)拆解分析
图一、
图二、
图三、
图四、
一、使PC机能与网关互通
图1:
SW1
[SW1] port-group group-member g0/0/1 g0/0/2
[SW1-port-group] port link-type trunk
[SW1-port-group]port trunk allow-pass vlan all
[SW1-port-group]quit
[SW1]interface Vlanif 10
[SW1-Vlanif10]ip add 192.168.10.254 24
[SW1-Vlanif10]interface Vlanif 20
[SW1-Vlanif20]ip add 192.168.20.254 24
[SW1-Vlanif20]interface Vlanif 30
[SW1-Vlanif30]ip add 192.168.30.254 24
[SW1-Vlanif30]quit
SW5