1-32
[Sysname] stp interface Ethernet 1/0/2 to Ethernet 1/0/4 point-to-point force-true
stp port priority
Syntax
z
Ethernet port view:
stp
[
instance instance-id
]
port priority priority
undo stp
[
instance instance-id
]
port priority
z
System view:
stp interface interface-list instance instance-id port priority priority
undo stp interface interface-list instance instance-id port priority
View
System view, Ethernet port view
Parameters
instance-id
: MSTI ID ranging from 0 to 16. The value of 0 refers to the CIST.
port priority priority
: Sets the port priority. The
priority
argument ranges from 0 to 240 and must be a
multiple of 16 (such as 0, 16, and 32).
interface-list
: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the
form of
interface-list =
{
interface-type interface-number
[
to
interface-type interface-number
] } &<1-10>,
where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument.
Description
z
Use the
stp port priority
command to set the port priority of the current port in the specified MSTI.
Use the
undo stp port priority
command to restore the default port priority of the current port in
the specified MSTI.
z
Use the
stp interface port priority
command to set a port priority for the specified ports in the
specified MSTI in system view. Use the
undo stp interface port priority
command to restore the
default priority of the specified ports in the specified MSTI in system view.
The default port priority of a port in any MSTI is 128.
If you specify the
instance-id
argument to 0 or do not specify the argument, the two commands apply to
the port priorities of ports on the CIST. The role a port plays in a MSTI is determined by the port priority
in the instance. A port on a MSTP-enabled switch can have different port priorities and play different
roles in different MSTIs. This enables packets of different VLANs to be forwarded along different
physical links, so as to implement VLAN-based load balancing. Changing port priorities result in port
role recalculation and state transition.
Examples
# Set the port priority of Ethernet 1/0/1 in MSTI 2 to 16.
z
Set the port priority of Ethernet 1/0/1 in MSTI 2 to 16 in Ethernet port view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp instance 2 port priority 16
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...