API Guide

Error-Disable Recovery Timer Interval: 300 seconds
Error-Disable Reason Recovery Status
---------------------------------------------------
bpduguard Enabled
Recovery Time left
Interface Errdisable Cause (seconds)
---------------------------------------------------------------------
ethernet 1/1/1:1 bpduguard 273
ethernet 1/1/2 bpduguard 4
port-channel 12 bpduguard 45
支持的版本
10.4.2.0 or later
Identifier GUID-CC891769-9711-455F-A535-BCDF9BD3E561
Version 2
Status Translation approved
show spanning-tree interface
显示以太网和端口通道的生成树接口信息。
语法
show spanning-tree interface {ethernet node/slot/port [:subport] | port-channel
port-id} [detail]
参数
ethernet node/slot/port[:subport] 显示物理接口的生成树信息。
port-channel port-id 显示端口通道编号的生成树信息 1 128
detail 可选显示有关接口的详细信息。
默认 未配置
命令模式
EXEC
使用情况信息
示例
OS10# show spanning-tree interface ethernet 1/1/6:2 detail
Port 281 (ethernet1/1/6:2) of RSTP 1 is root Forwarding
Port path cost 2000, Port priority 128, Port Identifier 281.128
Designated root has priority 32768, address 34:17:44:55:66:7f
Designated bridge has priority 32768, address 34:17:44:55:66:7f
Designated port id is 151.128, designated path cost
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state 1
Link type is point-to-point by default, auto
PVST Simulation is enabled by default
BPDU sent 3, received 7
支持的版本
10.2.0E or later
Identifier GUID-C3FFDED1-0B17-4EFA-8339-095022D98392
Version 8
Status Translation approved
Rapid per-VLAN spanning-tree plus
Rapid per-VLAN spanning-tree plus (RPVST+) 用于按 VLAN 创建单个拓扑。默认情况下RPVST+ 处于启用状态它可提供比 STP
更快的融合并在默认 VLAN (VLAN 1) 上运行。
配置快速 PVST+ 是一个四步流程
1. 确保接口处于 L2 模式。
2. 将接口置于 VLAN 中。默认情况下交换机端口接口是默认 (VLAN1) 的成员。
3. 启用快速 PVST+。只有 STP 的其他变体存在时才需要此步骤。
4. 可选 VLAN 选择非默认桥优先级以实现负载均衡。
2 445