beautypg.com

Spanning-tree edgeport – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1277

background image

Network OS Command Reference

1239

53-1003115-01

spanning-tree edgeport

2

spanning-tree edgeport

Enables the edge port on an interface to allow the interface to quickly transition to the forwarding
state.

Synopsis

spanning-tree edgeport [bpdu-filter | bpdu-guard]

Operands

bpdu-filter

Sets the edge port Bridge Protocol Data Unit (BPDU) filter for the port.

bpdu-guard

Guards the port against the reception of BPDUs.

Defaults

Edge port is disabled.

Command Modes

Interface subtype configuration mode

Description

Use this command to enable the edge port feature. This command is only for RSTP and MSTP.
Use the spanning-tree portfast command for STP.

Usage Guidelines

If xSTP is enabled over VCS, this command must be executed on all RBridge nodes.Note the
following details about edge ports and their behavior:

A port can become an edge port if no BPDU is received.

A port must become an edge port before it receives a BPDU.

When an edge port receives a BPDU, it becomes a normal spanning-tree port and is no
longer an edge port.

Because ports directly connected to end stations cannot create bridging loops in the
network, edge ports directly transition to the forwarding state, and skip the listening and
learning states

Examples

To enable a port to quickly transition to the forwarding state:

switch(config)# interface tengigabitethernet 0/1

switch(conf-if-te-0/1)# spanning-tree edgeport

To set the edgeport BPDU filter for the port:

switch(conf-if-te-0/1)# spanning-tree edgeport

switch(conf-if-te-0/1)# spanning-tree edgeport bpdu-filter

To guard the port against reception of BPDUs:

switch(config)# interface tengigabitethernet 0/1

switch(conf-if-te-0/1)# spanning-tree edgeport

switch(conf-if-te-0/1)# spanning-tree edgeport bpdu-guard

See Also

spanning-tree portfast, spanning-tree autoedge