2 commands for monitor and debug, 1 show spanning-tree, Ommands for – PLANET WGSW-50040 User Manual

Page 173: Onitor and, Ebug

Advertising
background image

Command mode:

Port Mode

Default:

Global configuration

Usage Guide:

According to MSTP, when topology changes, the port that send change message clears MAC/ARP

table (FLUSH). In fact it is not needed for some network environment to do FLUSH with every

topology change. At the same time, as a method to avoid network assault, we allow the network

administrator to configure FLUSH mode by the command

Note: For the complicated network, especially need to switch from one spanning tree branch to

another rapidly, the disable mode is not recommended.

Example:

Configure the spanning-tree flush mode once the topology change is not flush to TC.

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)#spanning-tree tcflush disable

Switch(Config-If-Ethernet1/2)#

9.2 Commands for Monitor and Debug

9.2.1 show spanning-tree

Command:

show spanning-tree [mst [<instance-id>]] [interface <interface-list>] [detail]

Function:

Display the MSTP Information.

Parameter:

<interface-list> sets interface list;

<instance-id> sets the instance ID. The valid range is from 0 to 64;

detail sets the detailed spanning-tree information.

Command mode:

Admin and Configuration Mode

Usage Guide:

This command can display the MSTP information of the instances in the current bridge.

Example:

Display the bridge MSTP.

Switch#sh spanning-tree

Advertising