run show spanning-tree pvst


The run show spanning-tree pvst command displays the configuration information and status of spanning tree protocol Rapid PVST+.


Command Syntax

run show spanning-tree pvst <bridge | interface> [all | vlan <vlan-id>]


Parameter

Parameter

Description

<bridge | interface>

Indicates to show the spanning tree information based on bridge or interface.

[all | vlan <vlan-id>]

The value could be all, vlan <vlan-id>.

  • all: Indicates to show the Rapid PVST+ information of all the VLANs.
  • vlan <vlan-id>: Specifies the VLAN ID. Indicates to show the Rapid PVST+ information of a specific VLAN.

Optional when showing the spanning tree information based on bridge. Required when showing the spanning tree information based on interface.


Example

  •  Run run show spanning-tree pvst command to view the configuration information and status of spanning tree protocol Rapid PVST+.
admin@PICOS# run show spanning-tree pvst interface all

Rapid PVST+ Spanning Tree Interface Status for VLAN 1
Interface   Port ID    Designated  Designated Bridge        Path Cost  State       Role
                       Port ID     ID
----------  ---------  ----------  -----------------------  ---------  ----------  ---------------
te-1/1/1    128.1      128.1       32768.3c:2c:30:10:20:83  800        FORWARDING  ROOT



admin@PICOS# run show spanning-tree pvst bridge
--------------------------------------------------
Bridge Spanning Tree Parameters
  Enabled Protocol: PVST
  Root ID: 32768.3c:2c:30:10:20:83
  Root Path Cost: 800
  Designated Bridge ID: 32768.3c:2c:30:10:20:83
  Root Port: te-1/1/1
  Hello Time: 2
  Maximum Age: 20
  Forward Delay: 15
  Number of Topology Changes: 1
  Time Since Last Topology Change: 0 day 00:00:35
Local Parameters
  Bridge ID: 32769.8c:ea:1b:32:1f:58
  Hello Time: 2
  Maximum Age: 20
  Forward Delay: 15






Copyright © 2024 Pica8 Inc. All Rights Reserved.