28 spanning-tree rootguard, 29 spanning-tree tcflush (global mode), 28 spanning-tree rootguard -116 – PLANET XGS3-24042 User Manual

Page 270: 29 spanning-tree tcflush (global mode) -116

Advertising
background image

14-116

Switch(config)#spanning-tree priority 4096

14.1.28 spanning-tree rootguard

Command:

spanning-tree rootguard

no spanning-tree rootguard

Function:

Set the port is root port, “no spanning-tree rootguard” command sets the port is non-root port.

Default:

Port is non-root port.

Command Mode:

Port Mode

Usage Guide:

The command is used in Port Mode, if the port is configured to be a rootguand port, it is forbidden to

be a MSTP root port. If superior BPDU packet is received from a rootguard port, MSTP did not

recalculate spanning-tree, and just set the status of the port to be root_inconsistent (blocked). If no

superior BPDU packet is received from a blocked rootguard port, the port status will restore to be

forwarding. The rootguard function can maintain a relative stable spanning-tree topology when a

new switch is added to the network.

Example:

Set the port 1 is root port.

Switch(Config-If-Ethernet1/0/1)#spanning-tree rootguard

14.1.29 spanning-tree tcflush (Global mode)

Command:

spanning-tree tcflush {enable| disable| protect}

no spanning-tree tcflush

Function:

Configure the spanning-tree flush mode 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.

Advertising