1-3display stpSyntaxdisplay stp [ instance instance-id ] [ interface interface-list | slot slot-number ] [ brief ]ViewAny viewParametersinstance-id: ID of the MSTI ranging from 0 to 16. The value of 0 refers to the common and internalspanning tree (CIST).interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in theform of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>,where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument.slot slot-number: Specifies a slot whose STP-related information is to be displayed.brief: Displays only port state and protection measures taken on the port.DescriptionUse the display stp command to display the state and statistical information about one or all spanningtrees.The state and statistical information about MSTP can be used to analyze and maintain the topology of anetwork. It can also be helpful when trying to make MSTP operate properly.z If neither MSTI nor port list is specified, the command displays spanning tree information about allMSTIs on all ports in the order of port number.z If only one MSTI is specified, the command displays information about the specified MSTI on allports in the order of the port number.z If only a port list is specified, the command displays information about all MSTIs on these ports inthe order of the port numbers.z If both an MSTI ID list and a port list are specified, the command displays spanning tree informationabout the specified MSTIs and the specified ports in the order of MSTI ID.MSTP state information includes:1) Global CIST parameters: Protocol operating mode, switch priority in the CIST instance, MACaddress, hello time, max age, forward delay, max hops, the common root of the CIST, the externalpath cost for the switch to reach the CIST common root, region root, the internal path cost for theswitch to reach the region root, CIST root port of the switch, the state of the BPDU guard function(enabled or disabled), the state of the digest snooping feature (enabled or disabled), and the stateof the TC-BPDU attack guard function (enabled or disabled).2) CIST port parameters: Port protocol, port role, port priority, path cost, designated bridge,designated port, edge port/non-edge port, whether or not the link on a port is a point-to-point link,format of the MST BPDUs that the port can send, the maximum transmitting speed, type of theenabled guard function, state of the digest snooping feature (enabled or disabled), VLAN mappings,hello time, max age, forward delay, Message-age time, and remaining hops.3) Global MSTI parameters: MSTI instance ID, bridge priority of the instance, region root, internalpath cost, MSTI root port, master bridge, and external path cost.