20 spanning-tree guard root – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 143

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 143 of 855

Command Mode

Interface mode

Default

Usage

Use this command to set the BPDU filter value for individual ports. When the enable or disable
parameter is used with this command, this configuration takes precedence over bridge configuration.
However, when the default parameter is used with this command, the bridge level BPDU filter
configuration takes effect for the port. Use the bridge spanning-tree portfast bpdu-filter command to
configure the BPDU filter feature on a bridge.
Use the show spanning tree command to display administratively configured, and currently running
values, of the BPDU filter parameter for the bridge and port.

Examples

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# spanning-tree edgeport bpdu-filter

Related Commands

7.20 spanning-tree guard root

Use this command to enable the Root Guard feature for the port. This feature disables reception of
superior BPDUs. Use the no parameter with this command to disable the root guard feature for the
port.


Command Syntax

spanning-tree guard root
no spanning-tree guard root

Command Mode

Interface mode

Default

Root guard is disabled.

Usage

The Root Guard feature makes sure that the port on which it is enabled is a designated port. If the Root
Guard enabled port receives a superior BPDU, it goes to a Listening state (for STP) or discarding state
(for RSTP and MSTP).

Advertising