Specifications
CLI Management Guide
TigerAccess™ EE
280 SMC7824M/VSW
8.3.9 Root Guard
The standard STP does not allow the administrator to enforce the position of the root
bridge, as any bridge in the network with lower bridge ID will take the role of the root
bridge. Root guard feature is designed to provide a way to enforce the root bridge place-
ment in the network. Even if the administrator sets the root bridge priority to zero in an ef-
fort to secure the root bridge position, there is still no guarantee against bridge with prior-
ity zero and a lower MAC address.
Switch A Switch B
Root Switch
Root Guard
Configuration
Service provider Customer
Fig. 8.26 Root Guard
Software-based bridge applications launched on PCs or other switches connected by a
customer to a service-provider network can be elected as root switches. If the priority of
bridge B is zero or any value lower than that of the root bridge, device B will be elected as
a root bridge for this VLAN. As a result, network topology could be changed. This may
lead to sub-optimal switching. But, by configuring root guard on switch A, no switches be-
hind the port connecting to switch A can be elected as a root for the service provider’s
switch network. In which case, switch A will block the port connecting switch B.
To configure Root-Guard, use the following command.
Command Mode Description
spanning-tree port PORTS
guard root
Bridge Configures Root Guard on the network.
To delete a configured Root-Guard of specified port, use the following command.
Command Mode Description
spanning-tree port PORTS
guard none
Disables Root Guard function.
no spanning-tree port PORTS
guard
Bridge
Deletes a configured Root Guard, returns to default
configurations.