Spanning-tree – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 343

Advertising
background image

Brocade Mobility RFS7000-GR Controller CLI Reference Guide

329

53-1001945-01

Interface Config commands

12

spanning-tree

Interface Config commands

Use this command to configure spanning tree parameters.

Syntax

spanning-tree [bpdufilter(enable|disable)|bpduguard

(enable|disable)|edgeport|force-version <0-3>|guard (root)|link-type

(point-to-point|shared)|mst(<0-15>|port-cisco-interoperability)|portfast]

spanning-tree mst [<0-15>(cost <1-200000000>|port-priority <0-240>)|

port-cisco-interoperability (disable|enable)]

Parameters

bpdufilter (disable|enable)

Use this command to set a portfast BPDU filter for the port.
Use the

no

parameter with this command to revert the port BPDU filter to default.

The spanning tree protocol sends BPDUs from all ports. Enabling the BPDU filter
ensures PortFastenabled ports do not transmit or receive BPDUs.

bpduguard (disable|enable)

Use this command to enable or disable the BPDU guard feature on a port.
Use the

no

parameter with this command to set the BPDU guard feature to default

values.
When BPDU guard is set for a bridge, all portfast-enabled ports that have
bpdu-guard set to default shut down the port upon receiving a BPDU. If this occurs,
the BPDU is not processed. The port can be brought back either manually (using the
no shutdown command), or by configuring the errdisable-timeout to enable the port
after the specified interval.

edgeport

Enables an interface as an edgeport.

force-version <0-3>

Specifies the spanning-tree force version. A version identifier of less than 2 enforces
the spanning tree protocol.
Select from the following versions:

0 – STP

1 – Not supported.

2 – RSTP

3 – MSTP

The default value for forcing the version is MSTP.

guard (root)

Enables the Root Guard feature for the port. The root guard disables the reception of
superior BPDUs.
The Root Guard ensures the enabled port is a designated port. If the Root Guard
enabled port receives a superior BPDU, it moves to a discarding state.
Use the

no

parameter with this command to disable the root guard feature.

link-type
(point-to-point|shared)

Enables or disables point-to-point or shared link types.

point-to-point – enables rapid transition.

shared – disables rapid transition.

Advertising