Spanning-tree port-priority, Spanning-tree edge-port – Asus GigaX2024SX User Manual

Page 313

Advertising
background image

Interface Configuration (Ethernet, Port Channel)

Command Usage
• This command is used by the Spanning Tree Algorithm to determine the best
path between devices. Therefore, lower values should be assigned to ports
attached to faster media, and higher values assigned to ports with slower media.
• Path cost takes precedence over port priority.
• When the spanning-tree pathcost method (page 4-135) is set to short, the
maximum value for path cost is 65,535.
Example

spanning-tree port-priority

This command configures the priority for the specified interface. Use the no form

the default.

priority priority

riority

iority for a port. (Range: 0-240, in steps of 16)

guration (Ethernet, Port Channel)

fines the priority for the use of a port in the Spanning Tree

to restore

Syntax

spanning-tree port-
no spanning-tree port-p

priority - The pr

Default Setting

128

and Mode

Comm

Interface Confi

e

Command Usag
• This command de
Algorithm. If the path cost for all ports on a switch are the same, the port with the
highest priority (that is, lowest value) will be configured as an active link inthe
spanning tree.
• Where more than one port is assigned the highest priority, the port with the
lowest numeric identifier will be enabled.
Example

Related Commands
spanning-tree cost (4-190)

spanning-tree edge-port

This command specifies an interface as an edge port. Use the no form to restore
the default.

4-145

Advertising