spanning tree.
spanning-tree port-priority port-priority
no spanning-tree port-priority
【Parameter】
port-priority:Configure the port priority. It ranges from 0 to 255
【Default】
The default port priority of a port in any spanning tree is 128
【Command configuration mode】
Interface configuration mode
【Usage】
The smaller the value of priority is, the superior the priority is, and the port is
easier to be a root port.
【Example】
!Configure the port priority of Ethernet 0/1 in STP to 64
7-10