Stp commands, Stp commands 4-14 – 3Com 3800 User Manual

Page 68

Advertising
background image

4-14

C

HAPTER

4: C

OMMANDS

STP Commands

Table 4-12 describes STP commands.

Table 4-12 STP Commands

Command

Description

show stpd {<stpd_name> | all}

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

show stpd <stpd_name> port <portlist>

Displays port-specific STP information, including the
forwarding state of each port.

create stpd <stpd_name>

Allows you to create 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 <stpd_name>

Allows you to remove an STPD. An STPD can only be
removed if all VLANs have been deleted from it.

config stpd <stpd_name> add vlan <name>

Allows you to add a VLAN to the STPD.

config stpd <stpd_name> delete vlan
[<name> | all]

Allows you to remove one or all VLANs from an STPD.
If

all

is specified, the association between the STPD

and VLAN is removed, but both still exist.

config stpd <stpd_name> hellotime <value>

Allows you to specify 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 <stpd_name> forwarddelay
<value>

Allows you to specify the time (in seconds) that the
ports on 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 <stpd_name> maxage <value>

Allows you to specify 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 x (Hello Time + 1) and less than, or equal to 2 x
(Forward Delay –1).

config stpd <stpd_name> priority
<value>

Allows you to specify the priority of the STPD. By
changing the priority of the Switch, you can make it
more or less likely to become the Root Bridge.

The range is 0–65,535. The default setting is 32,768. A
setting of 0 indicates the highest priority.

(continued)

SW3800.BK Page 14 Tuesday, May 5, 1998 5:20 PM

Advertising