标签:span sof 5.0 style end mil 分享 步骤 family
配置三层交换机实现生成树导向
步骤1.
首相配置二层交换机3:
vlan 10
in fa0/2
sw acc mo vl 10
vlan 20
sw acc mo vl 20
in fa0/4
sw mode trunk
in fa0/13
sw mode trunk
步骤2:
配置三层交换机1:
in fa0/7
sw trunk encapsulation dot1q
sw mode trunk
vlan 10
vlan 20
vlan 30
in vlan 10
ip add 192.168.1.1 255.255.255.0
in vlan 20
ip add 192.168.2.1 255.255.255.0
in vlan 30
ip add 192.168.3.1 255.255.255.0
in fa0/5
sw acc vlan 30
end
conf t
in range fa0/2-3
channel-group 1 mode on
ex
in port-channel 1
sw trunk encapsulation dot1q
sw mo trunk
end
配置三层交换机2:
in range fa0/4
sw trunk encapsulation dot1q
sw mode trunk
vlan 10
vlan 20
vlan 30
in vlan 10
ip add 192.168.1.1 255.255.255.0
in vlan 20
ip add 192.168.2.1 255.255.255.0
in vlan 30
ip add 192.168.3.1 255.255.255.0
in fa0/5
sw acc vlan 30
end
conf t
in range fa0/2-3
channel-group 1 mode on
ex
in port-channel 1
sw trunk encapsulation dot1q
sw mo trunk
end
标签:span sof 5.0 style end mil 分享 步骤 family
原文地址:https://www.cnblogs.com/qing-one-two/p/9176763.html