User Guide

OmniAccess SafeGuard OS Administration Guide
158
Chapter 5: Setting Up SafeGuard Switches
spanning-tree max-age time
no spanning-tree max-age
The following example sets the Bridge Max Age parameter to 20:
(SafeGuardOS) #configure terminal
(SafeGuardOS) (config) #spanning-tree max-age 20
(SafeGuardOS) (config) #exit
Setting the Path Cost or Port Priority
To set the Path Cost or Port Priority for a port, use the spanning-tree port command in
Interface Configuration mode.
To set the Path Cost or Port Priority for a port in the common and internal spanning tree
to the respective default values, use the
no version of the command.
spanning-tree port [cost [1-200000000 | auto] | priority 0-240]
no spanning-tree port [cost | priority]
The following example sets the path cost and port priority:
(SafeGuardOS)#configure terminal
(SafeGuardOS) (config) #interface 0/25
(SafeGuardOS) (interface 0/25)#spanning-tree port cost 32768
(SafeGuardOS) (interface 0/25)#spanning-tree port priority 128
(SafeGuardOS) (interface 0/25)#exit
(SafeGuardOS) (config) #exit
Syntax Description time Time in seconds within a range of 6 to 40.
The value must be less than or equal to - 1
(2 x Bridge Forward Delay).
Syntax Description port
Spanning tree settings for a port.
cost 1-200000000
The path cost. Must be a number in the
range of 1 to 200000000.
auto Selecting auto causes the path cost value
to be based on link speed.
priority 0-240
The priority for this port
. The priority value is
a number in the range of 0 to
240 in
increments of 16.