4 增强型的按VLAN生成树(PVST+)
PVST+有以下特征:
>它是CISCO发展的,可以与802.1Q公共生成树(CST)互操作。
>通过ISL中继,PVST+与现存的CISCO交换机PVST协议向后兼容,同时,PVST+也通过802.1Q中继与CST连接互操作。
>如果PVST区域和CST区域之间要互操作,一定要通过PVST+区域。
二 生成树配置
生成树配置涉及下面一些任务:
>选举和维护一个根网桥。
>通过配置一些生成树的参数来优化生成树。(如端口优先级 端口成本)
>通过配置上行链路来减少生成树的收敛时间。
2950交换机上生成树的缺省配置:
>STP启用:缺省情况下VLAN1启用
>STP模式:PVST+
>交换机优先级:32768
>STP端口优先级:128
>STP路径成本:1000M:4 100M:19 10M:100
>STP VLAN端口成本: (同上)
>STP计时器:HELLO时间:2秒 转发延迟:15秒 最大老化时间:20秒
1 启用生成树:
| switch(config)#spanning-tree vlan vlan-list 步骤: switch#c onfig t switch(config)# spanning-tree vlan 10 switch(config)#end switch#show spanning-tree summary/detail summary摘要 detail详细 Bridge Identifier has priority 8912,address 0006.eb06.1741 (本地交换机网桥ID) desigated root has priority 8912,address 0006.eb06.1741 (根网桥ID) designated port is 7,path cost 0 (路径成本) times: hold1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 (根计时器) |

