4-30
Description
Use the
stp port priority
command to set the priority of the port(s).
Use the
undo stp port priority
command to restore the system default.
Port priority affects the role of a port in an MSTI.
By default, the port priority is 128.
Note that:
z
Configured in Ethernet interface view, the setting takes effect on the current interface only;
configured in port group view, the setting takes effect on all ports in the port group.
z
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface. Configured on a member port in an aggregation group, the setting can take effect only
after the port leaves the aggregation group.
z
Setting different priorities for the same port in different MSTIs allows VLAN traffic flows to be
forwarded along different physical links, thus to achieve VLAN-based load balancing.
z
When the priority of a port is changed in an MSTI, MSTP will re-compute the role of the port and
initiate a state transition in the MSTI.
Related commands:
display stp
.
Examples
# Set the priority of port GigabitEthernet 1/0/3 in MSTI 2 to 16.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp instance 2 port priority 16
stp port-log
Syntax
stp
port-log
{
all
|
instance
instance-id
}
undo
stp
port-log
{
all
|
instance instance-id
}
View
System view
Default Level
2: System level
Parameters
all
: Enables output of port state transition information for all MSTIs.
instance instance-id
: Enables output of port state transition information for the specified MSTI. The
minimum value of
instance-id
is 0, representing the CIST, and the maximum value of this argument is
32.
Description
Use the
stp
port-log
command to enable output of port state transition information for the specified
MSTI or all MSTIs.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...