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

2014年(9)

2013年(20)

2012年(77)

2011年(323)

2009年(4)

分类:

2012-02-07 20:39:51

虽然在上节我们已看到在两台接入层交换机上已配置了PVST+生成树模式的一些特性,但并没有具体了解这两台交换机上的一些特性应用情况。在迁移之前,最好先查看一下原来的UplinkFastBackboneFast配置应用情况,可以通过对比迁移前后的这些特性的状态来加深理解Rapid-PVST+生成树模式中对这些特性的支持。

以下就是通过几个show spanning-tree命令查看PVST+特性在两台交换机上的配置应用情况。从中可以看出,这两种特性在该交换机上都是启用的,参见输出信息中的粗体字部分。

Access 1#show spanning-tree vlan 10

 

VLAN0010

  Spanning tree enabled protocol ieee

  Root ID    Priority    24586

             Address     0015.63f6.b700

             Cost        3019

             Port        107 (FastEthernet3/0/1)

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

 

  Bridge ID  Priority    49162  (priority 49152 sys-id-ext 10)

             Address     000f.f794.3d00

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

             Aging Time 300

  Uplinkfast enabled

 

Interface        Role Sts Cost      Prio.Nbr Type

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

Fa3/0/1          Root FWD 3019      128.107  P2p

Fa3/0/2          Altn BLK 3019      128.108  P2p

 

Access 1#show spanning-tree summary

Switch is in pvst mode

Root bridge for: none

Extended system ID           is enabled

Portfast Default             is disabled

PortFast BPDU Guard Default  is enabled

Portfast BPDU Filter Default is disabled

Loopguard Default            is disabled

EtherChannel misconfig guard is enabled

UplinkFast                   is enabled

BackboneFast                 is enabled

Configured Pathcost method used is short

 

Name                   Blocking Listening Learning Forwarding STP Active

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

 

VLAN0010                     1         0        0          1          2

VLAN0020                     1         0        0          1          2

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

2 vlans                      2         0        0          2          4

从以上show spanning-tree summary命令的输出可以看出,在Access 1交换机上是同时启用了UplinkFastBackboneFast增强特性的。但是,它们对于Rapid-PVST+模式是无效的,所以在迁移时要删除这两项配置。当然,如果你不删除,也不会影响Rapid-PVST+模式的任何操作。如果你使用no spanning-tree uplinkfast命令禁止UplinkFast特性,则该交换机上的交换机优先级和端口开销设置将恢复到默认值。

【说明】下面要正式介绍从PVST+模式迁移到Rapid-PVST+模式的配置方法。建议迁移的顺序是从接入层一步步往上层交换机上进行配置。在本示例中,是按以下顺序进行迁移的:

1Access 1

2Access 2

3Services 1Services 2

4Distribution 1Distribution 2

阅读(954) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~