R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
5
Related commands
• active region-configuration
• instance
• region-name
• revision-level
• vlan-mapping modulo
display stp
Use display stp to display spanning tree status and statistics. Based on the information, you can analyze
and maintain the network topology or determine whether the spanning tree is working correctly.
Syntax
MSR2000/MSR3000:
display stp [ instance instance-list | vlan vlan-id-list ] [ interface interface-list ] [ brief ]
MSR4000:
display stp [ instance instance-list | vlan vlan-id-list ] [ interface interface-list | slot slot-number ] [ brief ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-list: Displays the status and statistics information of the MSTIs that are specified by an
instance list. They are in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where
&<1-10> indicates that you can specify up to 10 instances or instance ranges. The value range for the
instance-id argument is 0 to 4094, and the value 0 represents the CIST.
vlan vlan-id-list: Displays the spanning tree status and statistics for the VLANs specified by a VLAN ID list.
They are in the format of vlan-id-list = { vlan-id [ to vlan-id ] }&<1-10>, where &<1-10> indicates that you
can specify up to 10 vlan-id [ to vlan-id ] parameters. The value range for the vlan-id argument is 1 to
4094.
interface interface-list: Displays the spanning tree status and statistics on the ports that are specified by
a port list. They are in the format of interface-list = { interface-type interface-number [ to interface-type
interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 ports or port
ranges.
brief: Displays brief spanning tree status and statistics. If this keyword is not specified, the command
displays the detailed spanning tree status and statistics.
slot slot-number: Displays the spanning tree status and statistics on the specified card. slot-number
represents the number of the slot that houses the card. If this option is not specified, this command
displays the spanning tree status and statistics on all cards.
Usage guidelines
In STP or RSTP mode: