D-Link DGS-3130 Emulator - Page 810
spanning-tree guard root, 19 spanning-tree link-type
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 810 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Switch#configure terminal Switch(config)#interface ethernet 1/0/3 Switch(config-if)#spanning-tree loop-guard Switch(config-if)# 78-18 spanning-tree guard root This command is used to enable the root guard mode. Use the no form of this command to revert to the default setting. spanning-tree guard root no spanning-tree guard root Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline BPDU guard prevents a port from becoming a root port. This feature is useful for the service provider to prevent external bridges to a core region of the network influencing the spanning tree active topology, possibly because those bridges are not under the full control of the administrator. When a port is guarded from becoming a root port, the port will only play the role as a designated port. If the port receives the configuration BPDU with a higher priority, the port will change to the alternate port, which is in the blocking state. The received superior factor will not participate in the STP computation. The port will listen for BPDUs on the link. If the port times out the received superior BPDU, it will change to the designated port role. When a port changes to the alternate port state, due to the root guard, a system message will be generated. This configuration will take effect for all the spanning-tree versions. Example This example shows how to configure to prevent interface ethernet 1/0/1 from being a root port. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# spanning-tree guard root Switch(config-if)# 78-19 spanning-tree link-type This command is used to configure a link-type for a port. Use the no form of this command to revert to the default setting. 806