生成树与eth-trunk
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了生成树与eth-trunk相关的知识,希望对你有一定的参考价值。
生成树与eth-trunk
聚合端口在生成树中会以为一个聚合端口来显示在它在一棵树的端口角色!
LSW1配置
<Huawei>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的配置
<Huawei>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:
<Huawei>dis stp brief
MSTID Port Role STP State Protection
0 Eth-Trunk1 DESI FORWARDING NONE
0 Eth-Trunk2 DESI FORWARDING NONE
<Huawei>
LSW2:
<Huawei>DIS STP B
MSTID Port Role STP State Protection
0 Eth-Trunk1 ROOT FORWARDING NONE
0 Eth-Trunk2 ALTE DISCARDING NONE
<Huawei>
以上是关于生成树与eth-trunk的主要内容,如果未能解决你的问题,请参考以下文章