Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2099946
  • 博文数量: 433
  • 博客积分: 4775
  • 博客等级: 上校
  • 技术积分: 8054
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-19 16:15
文章存档

2014年(9)

2013年(20)

2012年(77)

2011年(323)

2009年(4)

分类:

2012-02-07 20:30:39

要显示MST实例的生成树状态,可以使用表12-26中的一个或多个特权模式命令。

12-26  显示MST状态可用的命令

命令

用途说明

Switch#show spanning-tree mst configuration

显示MST实例VLAN配置

Switch# show spanning-tree mst [detail]

显示详细MST协议信息

Switch#show spanning-tree mst instance_id [detail]

显示指定MST实例的MST信息

Switch#show spanning-tree mst interface interface_id [detail]

显示指定接口上的MST信息

Switch# show spanning-tree vlan vlan_ID

显示MST模式中的VLAN信息

【示例1显示MST实例中的VLAN配置信息。

Switch# show spanning-tree mst configuration

Name      [cisco]

Revision  1

Instance  Vlans mapped

--------  ---------------------------------------------------------------------

0         11-4094

1         1-10

-------------------------------------------------------------------------------

【示例2显示交换机上各MST实例的详细配置信息。

Switch# show spanning-tree mst

 

###### MST00        vlans mapped:  11-4094

Bridge      address 00d0.00b8.1400  priority  32768 (32768 sysid 0)

Root        address 00d0.004a.3c1c  priority  32768 (32768 sysid 0)

            port    Fa4/48          path cost 203100  

IST master  this switch

Operational hello time 2, forward delay 15, max age 20, max hops 20

Configured  hello time 2, forward delay 15, max age 20, max hops 20

 

Interface        Role Sts Cost      Prio.Nbr Status

---------------- ---- --- --------- -------- --------------------------------

Fa4/4            Back BLK 1000      240.196  P2p

Fa4/5            Desg FWD 200000    128.197  P2p

Fa4/48           Root FWD 200000    128.240  P2p Bound(STP)

 

###### MST01        vlans mapped:  1-10

Bridge      address 00d0.00b8.1400  priority  32769 (32768 sysid 1)

Root        this switch for MST01

 

Interface        Role Sts Cost      Prio.Nbr Status

---------------- ---- --- --------- -------- --------------------------------

Fa4/4            Back BLK 1000      240.196  P2p

Fa4/5            Desg FWD 200000    128.197  P2p

Fa4/48           Boun FWD 200000    128.240  P2p Bound(STP)

【示例3显示生成树MST实例1MSTP信息。

Switch# show spanning-tree mst 1

 

###### MST01        vlans mapped:  1-10

Bridge      address 00d0.00b8.1400  priority  32769 (32768 sysid 1)

Root        this switch for MST01

 

Interface        Role Sts Cost      Prio.Nbr Status

---------------- ---- --- --------- -------- --------------------------------

Fa4/4            Back BLK 1000      240.196  P2p

Fa4/5            Desg FWD 200000    128.197  P2p

Fa4/48           Boun FWD 200000    128.240  P2p Bound(STP)

【示例4显示fastethernet 4/4接口上的MSTP信息。

Switch# show spanning-tree mst interface fastethernet 4/4

 

FastEthernet4/4 of MST00 is backup blocking

Edge port:no (default)                    port guard :none        (default)

Link type:point-to-point (auto)           bpdu filter:disable     (default)

Boundary :internal                        bpdu guard :disable     (default)

Bpdus sent 2, received 368

 

Instance Role Sts Cost      Prio.Nbr Vlans mapped

-------- ---- --- --------- -------- -------------------------------

0        Back BLK 1000      240.196  11-4094

1        Back BLK 1000      240.196  1-10

【示例5显示fastethernet 4/4接口上MST实例1MSTP信息。

Switch# show spanning-tree mst 1 interface fastethernet 4/4

 

FastEthernet4/4 of MST01 is backup blocking

Edge port:no (default)                    port guard :none        (default)

Link type:point-to-point (auto)           bpdu filter:disable     (default)

Boundary :internal                        bpdu guard :disable     (default)

Bpdus (MRecords) sent 2, received 364

 

Instance Role Sts Cost      Prio.Nbr Vlans mapped

-------- ---- --- --------- -------- -------------------------------

1        Back BLK 1000      240.196  1-10

【示例6显示MST实例1的详细信息。

Switch# show spanning-tree mst 1 detail    

 

###### MST01        vlans mapped:  1-10

Bridge      address 00d0.00b8.1400  priority  32769 (32768 sysid 1)

Root        this switch for MST01

 

FastEthernet4/4 of MST01 is backup blocking

Port info             port id        240.196  priority    240  cost        1000

Designated root       address 00d0.00b8.1400  priority  32769  cost           0

Designated bridge     address 00d0.00b8.1400  priority  32769  port id  128.197

Timers:message expires in 5 sec, forward delay 0, forward transitions 0

Bpdus (MRecords) sent 123, received 1188

 

FastEthernet4/5 of MST01 is designated forwarding

Port info             port id        128.197  priority    128  cost      200000

Designated root       address 00d0.00b8.1400  priority  32769  cost           0

Designated bridge     address 00d0.00b8.1400  priority  32769  port id  128.197

Timers:message expires in 0 sec, forward delay 0, forward transitions 1

Bpdus (MRecords) sent 1188, received 123

 

FastEthernet4/48 of MST01 is boundary forwarding

Port info             port id        128.240  priority    128  cost      200000

Designated root       address 00d0.00b8.1400  priority  32769  cost           0

Designated bridge     address 00d0.00b8.1400  priority  32769  port id  128.240

Timers:message expires in 0 sec, forward delay 0, forward transitions 1

Bpdus (MRecords) sent 78, received 0

【示例7显示VLAN 10的生成树信息。

Switch# show spanning-tree vlan 10

 

MST01

  Spanning tree enabled protocol mstp

  Root ID    Priority    32769

             Address     00d0.00b8.1400

             This bridge is the root

             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

 

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)

             Address     00d0.00b8.1400

             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

 

Interface        Role Sts Cost      Prio.Nbr Status

---------------- ---- --- --------- -------- --------------------------------

Fa4/4            Back BLK 1000      240.196  P2p

Fa4/5            Desg FWD 200000    128.197  P2p

【示例8显示生成树协议配置汇总信息。

Switch# show spanning-tree summary

Root bridge for:MST01

EtherChannel misconfiguration guard is enabled

Extended system ID   is enabled

Portfast             is disabled by default

PortFast BPDU Guard  is disabled by default

Portfast BPDU Filter is disabled by default

Loopguard            is disabled by default

UplinkFast           is disabled

BackboneFast         is disabled

Pathcost method used is long

 

Name                   Blocking Listening Learning Forwarding STP Active

---------------------- -------- --------- -------- ---------- ----------

MST00                     1        0         0        2          3     

MST01                     1        0         0        2          3     

---------------------- -------- --------- -------- ---------- ----------

2 msts                    2        0         0        4          6     

Switch#

阅读(1620) | 评论(0) | 转发(0) |
0

上一篇:链接类型指定

下一篇:启用根保护

给主人留下些什么吧!~~