beautypg.com

FUJITSU XG Series P3NK-4452-01ENZD User Manual

Page 461

background image

XG Series User's Guide

Chapter 5 Command Reference

Bridge Counter, Log, Statistics, and Status Display and Clear Operation

Commands

461

Display of spanning tree information of the specified interface

1)

Interface name and port status

One of the following is displayed for the port status.
Disabled

: The STP is disabled.

Discarding

: The port is in the discarding state (it is displayed only when

RSTP or MSTP is active).

Blocking

: The port is in the blocking state.

Listening

: The port is in the listening state.

Learning

: The port is in the learning state.

Forwarding

: The port is in the forwarding state.

2)

STP version of port

One of the following is displayed for the STP version.
- (OFF)

: STP unused port

0 (STP)

: 802.1d STP

2 (RSTP)

: 802.1w RSTP

3 (MSTP)

: 802.1s MSTP

3)

Port path cost

The path cost of the relevant port is displayed.

4)

Port priority

The priority of the relevant port is displayed.

5)

Port ID

The port ID (the port priority and port number) is displayed.

# show spanning-tree interface 1

eth1 is Forwarding Port Version 0(STP)

------------------ -------------------

(1) (2)

Port path cost 200000(auto), Port priority 128, Port Identifier 128.1

--------------------------- ----------------- ----------------------

(3) (4) (5)

Port role is Root

-----------------

(6)

Designated root has priority 32768, address 00:00:e2:08:57:89

---------------------------------- -------------------------

(7) (8)

Designated bridge has priority 32768, address 00:00:e2:08:57:89

------------------------------------ -------------------------

(9) (10)

Designated port id is 128.1, Designated path cost 0

--------------------------- -----------------------

(11) (12)

BPDU statistics:

Config BPDU: sent 3, sent error 0

------ ------------

(13) (14)

received 112, discarded 0

------------- -----------

(15) (16)

TCN BPDU: sent 2, sent error 0

------ ------------

(17) (18)

received 0, discarded 0

---------- -----------

(19) (20)

Other error: bad protocol 0, bad version 0

-------------- -------------

(21) (22)

bad BPDU type 0

---------------

(23)