Spanning Tree PortFast BPDU Guard

标签:
杂谈 |
分类: 思科-交换技术 |
Spanning Tree PortFast BPDU Guard
特性描述:
2009 May 22 15:13:32 %SPANTREE-2-RX_PORTFAST:Received BPDU on PortFast enable port. Disabling 2/1
2009 May 22 15:13:32 %PAGP-5-PORTFROMSTP:Port 2/1 left bridge port 2/1Consider this example:
配置
CatSwitch-IOS(config)# spanning-tree portfast bpduguard
一旦端口被置为errdisable状态后,就一直保持该状态,除非手工激活它。你也可以通过配置超时特性,使该端口在计时器超时后自动恢复。
CatSwitch-IOS(config)# errdisable recovery cause bpduguard
CatSwitch-IOS(config)# errdisable recovery interval 400
注意:确实超时间隔为300秒,并且缺省下超时特性是不启用的。
CatSwitch-IOS# show spanning-tree summary totals
Root bridge for: none.
PortFast BPDU Guard is enabled
UplinkFast is disabled
BackboneFast is disabled
Spanning tree default pathcost method used is short
Name
-------------------- -------- --------- -------- ---------- ----------