生成树与eth-trunk

生成树与eth-trunk

聚合端口在生成树中会以为一个聚合端口来显示在它在一棵树的端口角色!

LSW1配置

dis cu
#
sysname Huawei
#
vlan batch 2 to 3
#
stp instance 1 root primary
stp instance 2 root secondary
#
stp region-configuration
region-name 1
instance 1 vlan 2 to 3
active region-configuration
#
interface Eth-Trunk1
#
interface Eth-Trunk2
#
interface Ethernet0/0/1
eth-trunk 1
#
interface Ethernet0/0/2
eth-trunk 1
#
interface Ethernet0/0/3
eth-trunk 2

interface Ethernet0/0/4
eth-trunk 2
#

LSW2的配置

dis cu
#
sysname Huawei
#
vlan batch 2 to 3
#
stp instance 1 root secondary
stp instance 2 root primary
#
stp region-configuration
region-name 1
instance 1 vlan 2 to 3
active region-configuration
#
interface Eth-Trunk1
#
interface Eth-Trunk2
#
interface Ethernet0/0/1
eth-trunk 1
#
interface Ethernet0/0/2
eth-trunk 1
#
interface Ethernet0/0/3
eth-trunk 2

interface Ethernet0/0/4
eth-trunk 2
#

LSW1:

dis stp brief
MSTID Port Role STP State Protection
0 Eth-Trunk1 DESI FORWARDING NONE
0 Eth-Trunk2 DESI FORWARDING NONE

LSW2:
DIS STP B
MSTID Port Role STP State Protection
0 Eth-Trunk1 ROOT FORWARDING NONE
0 Eth-Trunk2 ALTE DISCARDING NONE

转载于:https://blog.51cto.com/9616635/2071454

你可能感兴趣的:(生成树与eth-trunk)