Displaying and maintaining the spanning tree – H3C Technologies H3C S10500 Series Switches User Manual

Page 109

Advertising
background image

98

Displaying and maintaining the spanning tree

To do...

Use the command...

Remarks

Display information about ports blocked

by spanning tree protection functions

display stp abnormal-port [ | { begin |

exclude | include } regular-expression ] Available in any view

Display BPDU statistics on ports

display stp bpdu-statistics [ interface
interface-type interface-number [ instance

instance-id ] ] [ | { begin | exclude |

include } regular-expression ]

Available in any view

Display information about ports shut
down by spanning tree protection
functions

display stp down-port [ | { begin |
exclude | include } regular-expression ]

Available in any view

Display the historical information of port
role calculation for the specified MSTI or
all MSTIs (in standalone mode)

display stp [ instance instance-id | vlan
vlan-id ] history [ slot slot-number ] [ |
{ begin | exclude | include }

regular-expression ]

Available in any view

Display the historical information of port
role calculation for the specified MSTI or

all MSTIs (in IRF mode)

display stp [ instance instance-id | vlan
vlan-id ] history [ chassis chassis-number

slot slot-number ] [ | { begin | exclude |

include } regular-expression ]

Available in any view

Display the statistics of TC/TCN BPDUs
sent and received by all ports in the

specified MSTI or all MSTIs (in standalone
mode)

display stp [ instance instance-id | vlan
vlan-id ] tc [ slot slot-number ] [ | { begin |

exclude | include } regular-expression ]

Available in any view

Display the statistics of TC/TCN BPDUs
sent and received by all ports in the
specified MSTI or all MSTIs (in IRF mode)

display stp [ instance instance-id | vlan
vlan-id ] tc [ chassis chassis-number slot
slot-number ] [ | { begin | exclude |

include } regular-expression ]

Available in any view

Display the spanning tree status and
statistics (in standalone mode)

display stp [ instance instance-id | vlan
vlan-id ] [ interface interface-list | slot

slot-number ] [ brief ] [ | { begin | exclude

| include } regular-expression ]

Available in any view

Display the spanning tree status and
statistics (in IRF mode)

display stp [ instance instance-id | vlan
vlan-id ] [ interface interface-list | chassis

chassis-number slot slot-number ] [ brief ]
[ | { begin | exclude | include }

regular-expression ]

Available in any view

Display the MST region configuration
information that has taken effect

display stp region-configuration [ |
{ begin | exclude | include }

regular-expression ]

Available in any view

Display the root bridge information of all
MSTIs

display stp root [ | { begin | exclude |
include } regular-expression ]

Available in any view

Clear the spanning tree statistics

reset stp [ interface interface-list ]

Available in user view

Advertising