mac
Commands for MSTP
237
17.1.31 spanning-tree tcflush (Port mode)
Command: spanning-tree tcflush {enable| disable| protect}
no spanning-tree tcflush
Function: Configure the spanning-tree flush mode for port once the topology changes.
“no spanning-tree tcflush” restores to default setting.
Parameter: enable: The spanning-tree flush once the topology changes.
disable: The spanning tree don’t flush when the topology changes.
protect: the spanning-tree flush not more than one time every ten seconds.
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)#
17.1.32 spanning-tree transmit-hold-count
Command: spanning-tree transmit-hold-count <tx-hold-count-value>
no spanning-tree transmit-hold-count
Function: Set the max transmit-hold-count of port.
Parameter: tx-hold-count-value: ranging from 1 to 20, the default value is 10.
Command mode: Global Mode
Default: 10.
Usage Guide: Set the max number for sending BPDU within the Hello Time interval to
control BPDU flow. The variable is used to whole MST bridge.
Example: Set the max transmit-hold-count as 20.
Switch(config)#spanning-tree transmit-hold-count 20










