show spanning-tree rpvst+
Use this command to display RPVST information.
Command Syntax
show spanning-tree rpvst+
show spanning-tree rpvst+ config
show spanning-tree rpvst+ detail
show spanning-tree rpvst+ detail interface IFNAME
show spanning-tree rpvst+ interface IFNAME
show spanning-tree rpvst+ vlan <1-4094>
show spanning-tree rpvst+ vlan <1-4094> interface IFNAME
Parameters
config
Display configuration information.
detail
Display detailed information.
IFNAME
Display interface information.
<1-4094>
Display VLAN information
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following displays output of this command without any parameters.
#show spanning-tree rpvst+
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6
% 1: Root Id 8001525400b092de
% 1: Bridge Id 8001525400b092de
% 1: last topology change Wed Mar 28 02:31:50 2018
% 1: 1 topology change(s) - last topology change Wed Mar 28 02:31:50 2018
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% eth1: Port Number 3 - Ifindex 3 - Port Id 0x8003 - Role Designated - State Forwarding
% eth1: Designated External Path Cost 0 -Internal Path Cost 0
% eth1: Configured Path Cost 200000 - Add type Explicit ref count 2
% eth1: Designated Port Id 0x8003 - Priority 128 -
% eth1: Root 8001525400b092de
% eth1: Designated Bridge 8001525400b092de
% eth1: Message Age 0 - Max Age 20
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 3 - topo change timer 0
% eth1: forward-transitions 1
% eth1: Version Rapid Spanning Tree Protocol - Received None - Send RSTP
% eth1: No portfast configured - Current portfast off
% eth1: bpdu-guard default - Current bpdu-guard off
% eth1: bpdu-filter default - Current bpdu-filter off
% eth1: no root guard configured - Current root guard off
% eth1: Configured Link Type point-to-point - Current point-to-point
% eth1: No auto-edge configured - Current port Auto Edge off
%
%
% Instance VLAN
% 0: 1, 4-10
% 1: 2
% 2: 3
The following displays output of this command with the config parameter.
#show spanning-tree rpvst+ config
%
% RPVST Configuration Information for bridge 1 :
%------------------------------------------------------
% Format Id : 0
% Name : Default
% Revision Level : 0
% Digest : 0xB41829F9030A054FB74EF7A8587FF58D
%------------------------------------------------------
#show spanning-tree rpvst+ detail
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6
% 1: Root Id 8001525400b092de
% 1: Bridge Id 8001525400b092de
% 1: last topology change Wed Mar 28 02:31:50 2018
% 1: 1 topology change(s) - last topology change Wed Mar 28 02:31:50 2018
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% eth1: Port Number 3 - Ifindex 3 - Port Id 0x8003 - Role Designated - State Forwarding
% eth1: Designated External Path Cost 0 -Internal Path Cost 0
% eth1: Configured Path Cost 200000 - Add type Explicit ref count 2
% eth1: Designated Port Id 0x8003 - Priority 128 -
% eth1: Root 8001525400b092de
% eth1: Designated Bridge 8001525400b092de
% eth1: Message Age 0 - Max Age 20
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% eth1: forward-transitions 1
% eth1: Version Rapid Spanning Tree Protocol - Received None - Send RSTP
% eth1: No portfast configured - Current portfast off
% eth1: bpdu-guard default - Current bpdu-guard off
% eth1: bpdu-filter default - Current bpdu-filter off
% eth1: no root guard configured - Current root guard off
% eth1: Configured Link Type point-to-point - Current point-to-point
% eth1: No auto-edge configured - Current port Auto Edge off
%
% Instance 1: Vlans: 2
% eth1: Port Number 3 - Ifindex 3 - Port Id 0x8003 - Role Designated - State Forwarding
% eth1: Designated Internal Path Cost 0 - Designated Port Id 0x8003
% eth1: Configured Internal Path Cost 200000
% eth1: Configured External Path cost 200000
% eth1: Configured Internal Priority 128
% eth1: Configured External Priority 128
% eth1: Designated Root 8002525400b092de
% eth1: Designated Bridge 8002525400b092de
% eth1: Message Age 0 - Max Age 20
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1
#show spanning-tree rpvst+ vlan 2
% vlan 2 Instance 1 configured
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Root Id 8002525400b092de
% 1: Bridge Id 8002525400b092de
% eth1: Port Number 3 - Ifindex 3 - Port Id 0x8003 - Role Designated - State Forwarding
% eth1: Designated Internal Path Cost 0 - Designated Port Id 0x8003
% eth1: Configured Internal Path Cost 200000
% eth1: Configured External Path cost 200000
% eth1: Configured Internal Priority 128
% eth1: Configured External Priority 128
% eth1: Designated Root 8002525400b092de
% eth1: Designated Bridge 8002525400b092de
% eth1: Message Age 0 - Max Age 20
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1
%
%
#show spanning-tree rpvst+ vlan 2 interface eth1
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Root Id 8002525400b092de
% 1: Bridge Id 8002525400b092de
% eth1: Port Number 3 - Ifindex 3 - Port Id 0x8003 - Role Designated - State Forwarding
% eth1: Designated Internal Path Cost 0 - Designated Port Id 0x8003
% eth1: Configured Internal Path Cost 200000
% eth1: Configured External Path cost 200000
% eth1: Configured Internal Priority 128
% eth1: Configured External Priority 128
% eth1: Designated Root 8002525400b092de
% eth1: Designated Bridge 8002525400b092de
% eth1: Message Age 0 - Max Age 20
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
%