spanning-tree bpduguard

Configures spanning-tree BPDU Guard configuration.

Syntax

Command Parameters

enable
Enables BPDU Guard on the port. The default is disabled.
port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

timeout <0-65535>
Specifies the value to use for port-state recovery. After a BPDU guard disables a port, the port remains in the disabled state until this timer expires. You can configure a value from 10 to 65535. The default is 120 seconds.

Default

The default is disabled.

Command Mode

GigabitEthernet Interface Configuration