AT-IFS802SP-80 User Manual

83

Spanning Tree Commands Set

 

 

 

 

 

 

 

Netstar Commands

Level

Description

Example

 

 

 

 

 

 

 

 

spanning-tree enable

G

Enable spanning tree

switch(config)#spanning-tree enable

 

 

spanning-tree priority

G

Configure spanning tree

switch(config)#spanning-tree priority

 

 

[0~61440]

 

priority parameter

32768

 

 

 

 

Use the spanning-tree max-

 

 

 

 

 

age global configuration

 

 

 

 

 

command to change the

 

 

 

 

 

interval between messages

 

 

 

 

 

the spanning tree receives

 

 

 

spanning-tree max-age

 

from the root switch. If a

 

 

 

G

switch does not receive a

switch(config)#spanning-tree max-age 15

 

 

[seconds]

 

bridge protocol data unit

 

 

 

 

 

 

 

 

 

 

(BPDU) message from the

 

 

 

 

 

root switch within this

 

 

 

 

 

interval, it recomputed the

 

 

 

 

 

Spanning Tree Protocol

 

 

 

 

 

(STP) topology.

 

 

 

 

 

 

 

 

 

 

 

Use the spanning-tree hello-

 

 

 

 

 

time global configuration

 

 

 

spanning-tree hello-

G

command to specify the

switch(config)#spanning-tree hello-time 3

 

 

time [seconds]

interval between hello

 

 

 

 

 

 

 

 

bridge protocol data units

 

 

 

 

 

(BPDUs).

 

 

 

 

 

Use the spanning-tree

 

 

 

 

 

forward-time global

 

 

 

 

 

configuration command to

 

 

 

spanning-tree

 

set the forwarding-time for

 

 

 

 

the specified spanning-tree

switch(config)#spanning-tree forward-time

 

 

forward-time

G

 

 

instances.The forwarding

20

 

 

[seconds]

 

 

 

 

time determines how long

 

 

 

 

 

 

 

 

 

 

each of the listening and

 

 

 

 

 

learning states last before

 

 

 

 

 

the port begins forwarding.

 

 

 

 

 

Use the spanning-tree cost

 

 

 

 

 

interface configuration

 

 

 

 

 

command to set the path

 

 

 

 

 

cost for Spanning Tree

 

 

 

stp-path-cost

I

Protocol (STP) calculations.

switch(config)#interface fastEthernet 2

 

 

[1~200000000]

In the event of a loop,

switch(config-if)#stp-path-cost 20

 

 

 

 

 

 

 

spanning tree considers the

 

 

 

 

 

path cost when selecting

 

 

 

 

 

an interface to place into

 

 

 

 

 

the forwarding state.

 

 

 

 

 

 

 

 

Page 87
Image 87
Allied Telesis AT-IFS802SP manual Spanning Tree Commands Set, ~61440, Seconds, Time seconds, ~200000000