14.
Multiple Spanning Tree Protocol (MSTP)
MN700004 Rev 01
171
Example
device-name
#
debug mstp bpdu rx
MstPRX: 1970/01/01 02:11:46 : Rcvd Mstp bpdu on port 1/2/2
tMstPRX: 1970/01/01 02:11:46 : -------------------------------
tMstPRX: 1970/01/01 02:11:47 : BPDU Protocol = 0
tMstPRX: 1970/01/01 02:11:47 : BPDU Version = 3
tMstPRX: 1970/01/01 02:11:47 : BPDU Type = 2
tMstPRX: 1970/01/01 02:11:47 :
tMstPRX: 1970/01/01 02:11:47 : BPDU Flags = 0x6c
Multiple Spanning Tree Protocol (MSTP)
tMstPRX: 1970/01/01 02:11:47 : BPDU TcAck = 0
tMstPRX: 1970/01/01 02:11:47 : BPDU Agree = 1
tMstPRX: 1970/01/01 02:11:47 : BPDU Frwrd = 1
tMstPRX: 1970/01/01 02:11:48 : BPDU Learn = 0
tMstPRX: 1970/01/01 02:11:48 : BPDU Role = Designated(3)
tMstPRX: 1970/01/01 02:11:48 : BPDU Prop = 0
tMstPRX: 1970/01/01 02:11:48 : BPDU Tc = 0
tMstPRX: 1970/01/01 02:11:48 :
tMstPRX: 1970/01/01 02:11:48 : BPDU Root Id = 0xa071c41880330e12
Debugging the MSTP PRTM
The
debug mstp prt
command, in Privileged (Enable) mode, displays logs of the Port Role
Transition state Machine in the Multiple Spanning Tree Protocol (MSTP) for a specified port
range. Use the
no
form of this command to disable the MSTP PRTM debugging.
The
debug mstp prt
command will not be saved after reload.
By default, MSTP PRTM debugging is disabled.
Command Syntax
device-name
#
debug mstp prt
{
all
|
flags
|
events
|
stats
}
from
<P
a
>
to
<P
z
>
device-name
#
no
debug mstp prt
{
all
|
flags
|
events
|
stats
}
Argument Description
all
Displays logs of all three PRTM options (flags, events, stats) for the specified port range.
flags
Displays only the PRTM flags logs for the specified port range.
events
Displays only the PRTM events logs for the specified port range.
stats
Displays only the PRTM stats logs for the specified port range.
<P
a
>
Number of the first port specifying the port range. The number must be in logical port
number format.
<P
z
>
Number of the last port specifying the port range. The number must be in logical port
number format.
Example
device-name
#
debug mstp prt all from 1 to 20
tMstPRT: 1970/01/01 01:28:27 : PRT eve E_mstAgreed port 20 mst 0
tMstPRT: 1970/01/01 01:28:27 : PRT ACTIVE_PORT -> ROOT port 20 mst 0
tMstPRT: 1970/01/01 01:28:27 : PRT ROOT -> ACTIVE_PORT port 20 mst 0t