Verifying The Port Cost Configuration On Both A Set/Clear Command− And Cli−Based Interface; Configuring The Port Priority On A Set/Clear Command−Based Ios; Configuring The Port Priority On A Cli−Based Ios - Cisco RJ-45-to-AUX Brochure

Cisco switch brochure
Table of Contents

Advertisement

This example uses 100 as the port cost:
spantree cost 100
Verifying the Port Cost Configuration on Both a Set/Clear
Command− and CLI−Based Interface
To verify the port cost on the port configured previously, use the following Privileged mode command:
show spantree <module/port>
The following command provides output on module 0, port 3:
show spantree 0/3
The output on the console should look similar to this:
Port
Vlan
Port−State
—————— ——————
——————————
0/3
4
forwarding
Configuring the Port Priority on a Set/Clear Command−Based
IOS
The port with the lowest priority value forwards frames for all VLANs. In the event that all ports have the
same priority value, the port with the lowest port number will forward the frames. The possible port priority
value range is from 0 to 63. The default port priority value is 32. To change a port's priority, enter the
following Privileged mode command:
set spantree portpri <module/port> <port priority>
Here, 4 is the module number, 3 is the port number, and 10 is the port priority:
set spantree portpri 4/3 10
Configuring the Port Priority on a CLI−Based IOS
On a Cisco IOS command−based switch, the priority value is a numerical value from 0 to 255. To set the port
priority on a Cisco IOS command−based switch, enter the following Interface Configuration mode command:
spantree priority <port priority>
In this example, 100 is the priority value:
spantree priority 100
Cost
Priority Fast−StartGroup−method
————
———————— —————————— ——————————
10
32
disabled
217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents