IronPort Systems 4108GL User Manual

Page 377

Advertising
background image

16-7

Spanning Tree Protocol (STP)

CLI: Configuring STP

S

p

a

nni
ng
T

ree
P

rot

o

col

(ST
P

)

C a u t i o n

Because incorrect STP settings can adversely affect network performance,
HP recommends that you use the default STP parameter settings. You should
not change these settings unless you have a strong understanding of how STP
operates. For more on STP, see the IEEE 802.1D standard.

HP4108(config)# spanning tree

Enables STP on the switch.

Reconfiguring General STP Operation on the Switch.

You can config-

ure one or more of the following parameters:

Table 16-1.General STP Operating Parameters

N o t e

Executing

spanning-tree alone enables STP. Executing spanning-tree with one

or more of the above “STP Operating Parameters” does not enable STP. It only
configures the STP parameters (regardless of whether STP is actually running
(enabled) on the switch).

Syntax:

spanning-tree

priority <0 - 65355>
maximum-age <6 - 40 seconds>
hello-time <1 - 10 seconds>
forward-delay <4 - 30 seconds>

Default:

See table 16-1, above.

Name

Default

Range

Function

priority

32768

0 - 65535 Specifies the priority value used along with the

switch MAC address to determine which device is
root. The lower a priority value, the higher the
priority.

*maximum-age

20 seconds 6 - 40

seconds

Maximum received message age the switch
allows for STP information before discarding the
message.

*hello-time

2 seconds

1 - 10

Time between messages transmitted when the
switch is the root.

*forward-delay

15 seconds 4 - 30

seconds

Time the switch waits before transitioning from the
listening to the learning state, and between the
learning state to the forwarding state.

*The switch uses its own maximum-age, hello-time, and forward-delay settings only if it is
operating as the root device. If another device is operating as the root device, then the switch
uses the other device’s settings for these parameters.

Advertising