beautypg.com

Allied Telesis AT-S62 User Manual

Page 388

background image

Chapter 25: STP Commands

388

portpriority

Specifies the port’s priority. This parameter is used as a
tie breaker when two or more ports are determined to
have equal costs to the root bridge. The range is 0 to
240 in increments of 16. There are sixteen increments.
The increments are listed in Table 4. You specify the
increment of the desired value. The default is 128
(increment 8).

Description

This command configures the following STP parameter settings for a
switch port:

❑ Port cost

❑ Port priority

Examples

The following command sets the port cost to 15 and the port priority to
192 (increment 12) for port 6:

set stp port=6 portcost=15 portpriority=12

This command sets the port cost to auto-detect on ports 7 to 10:

set stp port=7-10 portcost=auto

Table 4 Port Priority Value Increments

Increment

Port
Priority

Increment

Port
Priority

0

0

8

128

1

16

9

144

2

32

10

160

3

48

11

176

4

64

12

192

5

80

13

208

6

96

14

224

7

112

15

240