beautypg.com

Displaying information about 802-1w – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 303

background image

Example

Suppose you want to enable 802.1W on a system with no active port-based VLANs and change the
hello-time from the default value of 2 to 8 seconds. Additionally, suppose you want to change the path
and priority costs for port 5 only. To do so, enter the following commands.

device(config)#spanning-tree 802-1w hello-time 8

device(config)#spanning-tree 802-1w ethernet 5 path-cost 15 priority 64

Displaying information about 802-1W

To display a summary of 802-1W, use the following command.

device#show

802-1w

--- VLAN 1 [ STP Instance owned by VLAN 1 ] ----------------------------

VLAN 1 BPDU cam_index is 2 and the IGC and DMA master Are(HEX) 0 1 2 3

Bridge IEEE 802.1W Parameters:

Bridge Bridge Bridge Bridge Force tx

Identifier MaxAge Hello FwdDly Version Hold

hex sec sec sec cnt

800000e080541700 20 2 15 Default 3

RootBridge RootPath DesignatedBri- Root Max Fwd Hel

Identifier Cost dge Identifier Port Age Dly lo

hex hex sec sec sec

800000e0804c9c00 200000 800000e0804c9c00 1 20 15 2

Port IEEE 802.1W Parameters:

<--- Config Params -->|<-------------- Current state ----------------->

Port Pri PortPath P2P Edge Role State Designa- Designated

Num Cost Mac Port ted cost bridge

1 128 200000 F F ROOT FORWARDING 0 800000e0804c9c00

2 128 200000 F F DESIGNATED FORWARDING 200000 800000e080541700

3 128 200000 F F DESIGNATED FORWARDING 200000 800000e080541700

4 128 200000 F F BACKUP DISCARDING 200000 800000e080541700

Syntax: show 802-1w [ vlan vlan-id]

The vlan vlan-id parameter displays 802.1W information for the specified port-based VLAN.

The show 802-1w command shows the information listed in the following figure.

CLI display of 802.1W summary

TABLE 49

Field

Description

VLAN ID

The port-based VLAN that owns the STP instance. VLAN 1 is the default VLAN. If you have
not configured port-based VLANs on this device, all 802.1W information is for VLAN 1.

Bridge IEEE 802.1W parameters

Bridge Identifier

The ID of the bridge.

Bridge Max Age

The configured max age for this bridge. The default is 20.

Bridge Hello

The configured hello time for this bridge.The default is 2.

Bridge FwdDly

The configured forward delay time for this bridge. The default is 15.

Force-Version

The configured force version value. One of the following value is displayed:

• 0 - The bridge has been forced to operate in an STP compatibility mode.
• 2 - The bridge has been forced to operate in an 802.1W mode. (This is the default.)

Displaying information about 802-1W

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

303

53-1003086-04