码迷,mamicode.com
首页 > 其他好文 > 详细

生成树与eth-trunk

时间:2018-02-13 10:29:37      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:net   batch   角色   blog   ati   bat   cti   col   技术分享   

生成树与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

标签:net   batch   角色   blog   ati   bat   cti   col   技术分享   

原文地址:http://blog.51cto.com/9616635/2071454

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!