Tuning the Port ID on a CLIBased Switch

The Port ID can be tuned on a CLI-based switch by using one of the following commands:

Switch (enable) set spantree portpri {module/port} priority

Switch (enable) set spantree portvlanpri {module/port} priority [vlans]

The set spantree portpri command is used to set the port priority value on a port for all VLANs. In a PVST environment where multiple instances of STP are running for multiple VLANs, the set spantree portvlanpri command should be used. The port priority then can be tailored for each specific VLAN that the port participates. The priority value ranges from 0 to 63 and defaults to 32.

Was this article helpful?

0 0

Post a comment