beautypg.com

Stp commands – Allied Telesis AT-8550 User Manual

Page 13

background image

AT-9108, AT-8518, AT-8525, and AT-8550 User’s Command Guide

11

STP Commands

Command

Description

config stpd add vlan

Adds a VLAN to the STPD.

config stpd hellotime

Specifies the time delay (in seconds) between the transmission of
BPDUs from this STPD when it is the Root Bridge.
The range is 1 through 10. The default setting is 2 seconds.

config stpd forwarddelay

Specifies the time (in seconds) that the ports in this STPD spend in
the listening and learning states when the switch is the Root Bridge.
The range is 4 through 30. The default setting is 15 seconds.

config stpd maxage

Specifies the maximum age of a BPDU in this STPD.
The range is 6 through 40. The default setting is 20 seconds.
Note that the time must be greater than, or equal to 2 * (Hello Time
+ 1) and less than, or equal to 2 * (Forward Delay –1).

config stpd priority

Specifies the priority of the STPD. By changing the priority of the
STPD, you can make it more or less likely to become the Root Bridge.
The range is 0 through 65,535. The default setting is 32,768. A
setting of 0 indicates the highest priority.

config stpd port cost

Specifies the path cost of the port in this STPD.
The range is 1 through 65,535. The switch automatically assigns a
default path cost based on the speed of the port, as follows:

For a 10Mbps port, the default cost is 100.

For a 100Mbps port, the default cost is 19.

For a 1000Mbps port, the default cost is 4.

config stpd port priority

Specifies the priority of the port in this STPD. By changing the
priority of the port, you can make it more or less likely to become the
Root Port.
The range is 0 through 255. The default setting is 128. A setting of 0
indicates the lowest priority.

create stpd

Creates an STPD. When created, an STPD has the following default
parameters:

Bridge priority — 32,768

Hello time — 2 seconds

Forward delay — 15 seconds

delete stpd

Removes an STPD. An STPD can only be removed if all VLANs have
been deleted from it. The default STPD, s0, cannot be deleted.

disable stpd [ | all]

Disables the STP mechanism on a particular STPD, or for all STPDs.

disable stpd port

Disables STP on one or more ports. Disabling STP on one or more
ports puts those ports in forwarding state; all BPDUs received on
those ports will be disregarded.

enable stpd {}

Enables the STP protocol for one or all STPDs. The default setting is
disabled.

enable stpd port {}

Enables the STP protocol on one or more ports. If STPD is enabled for
a port, Bridge protocol Data Units (BPDUs) will be generated on that
port if STP is enabled for the associated STPD. The default setting is
enabled.

show stpd {}

Displays STP information for one or all STPDs on the switch.

show stpd port

Displays port-specific STP information.

This manual is related to the following products: