You are here: Home > CLI Commands > Just_CLI_Topics > show spanning-tree

show spanning-tree

show spanning-tree

<interface [gigabitethernet <slot/module/port> | port-channel id]

<vlan vlan-id>

Description

View the RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this. and PVST+Per-VLAN Spanning Tree+. PVST+ is an extension of the PVST standard that uses the 802.1Q trunking technology. configuration.

Syntax

Parameter

Description

interface

Enter the keyword interface followed by the interface and slot/module/port or port-channel id:

For Gigabit EthernetEthernet is a network protocol for data transmission over LAN. enter the keyword gigabitethernet followed by the <slot/module/port>

For Port Channel enter the keyword port-channel followed by an id number

Range: 0 to 7

vlanVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN.

Enter the keyword vlan follow by the VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. ID.

Range: 1 to 4094

Default: 1

Example—show spanning-tree

(host) # show spanning-tree

 

Spanning tree instance for vlan 10

Spanning Tree is executing the IEEE compatible Rapid Spanning Tree protocol

Bridge Identifier has priority 32768, address 00:0b:86:f0:20:00

Configured hello time 2, max age 20, forward delay 15

We are the root of the spanning tree

Topology change flag is not set, detected flag not set, changes 1

Times: hold 1, topology change 35 hello 2, max age 20, forward delay 15

Timers: hello 0, notification 0

Last topology change: 2 days, 0 hours, 31 mins, 21 secs

 

Spanning tree instance for vlan 20

Spanning Tree is executing the IEEE compatible Rapid Spanning Tree protocol

Bridge Identifier has priority 32768, address 00:0b:86:f0:20:00

Configured hello time 2, max age 20, forward delay 15

We are the root of the spanning tree

Topology change flag is not set, detected flag not set, changes 1

Times: hold 1, topology change 3 hello 2, max age 20, forward delay 15

Timers: hello 0, notification 0

Last topology change: 1 days, 0 hours, 3 mins, 2 secs

Example—show spanning-tree vlan

(host) # show spanning-tree vlan 2

Spanning Tree is executing the IEEE compatible Rapid Spanning Tree protocol

Bridge Identifier has priority 32768, address 00:0b:86:f0:20:00

Configured hello time 2, max age 20, forward delay 15

We are the root of the spanning tree

Topology change flag is not set, detected flag not set, changes 1

Times: hold 1, topology change 35 hello 2, max age 20, forward delay 15

Timers: hello 0, notification 0

Last topology change: 2 days, 0 hours, 31 mins, 21 secs

 

Example—show spanning-tree interface gigabitethernet

(host) (config-if)#show spanning-tree interface gigabitethernet 0/0/1

 

Interface FE 1/1 (port 2) in Spanning tree is FORWARDING

Port path cost 19, Port priority 128 Role DISNIGNATED

PortFast DISABLED P-to-P ENABLED

Designated root has priority 0 address 00:01:e8:d5:a3:6d

Designated bridge has priority 32768 address 00:0b:86:50:58:30

Designated port is 2, path cost 0

Timers: message age 0, forward delay 20, hold 0

Counts: BPDUs received 0, sent 0

Related Commands

Related Command

Description

ap system-profile

This command configures an AP system profile.

ap wired-port-profile

This command configures a wired port profile.

interface gigabitethernet

This command configures a GigabitEthernet interface.

interface port-channel

This command configures an EthernetEthernet is a network protocol for data transmission over LAN. port channel.

Command History

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

Licensing

Command Mode

All platforms

Base operating system.

Enable and Config mode on Mobility Master.

/*]]>*/