Stp Port Priority - H3C S6812 Series Command Reference Manual

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Examples
# Enable BPDU guard on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] stp port bpdu-protection enable
Related commands
stp bpdu-protection
stp edged-port

stp port priority

Use stp port priority to set the priority of a port. The port priority affects the role of a port in a
spanning tree.
Use undo stp port priority to restore the default.
Syntax
stp [ instance instance-list | vlan vlan-id-list ] port priority priority
undo stp [ instance instance-list | vlan vlan-id-list ] port priority
Default
The port priority is 128.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
instance instance-list: Specifies a space-separated list of up to 10 MSTI items. Each item specifies
an MSTI or a range of MSTIs in the form of instance-id1 [ to instance-id2 ]. The value for instance-id2
must be equal to or greater than the value for instance-id1. The value range for the instance-id
argument is 0 to 4094, and the value 0 represents the CIST.
vlan vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a
VLAN or a range of VLANs in the form of vlan-id1 [ to vlan-id2 ]. The value for vlan-id2 must be equal
to or greater than the value for vlan-id1. The value range for the vlan-id argument is 1 to 4094.
priority: Specifies the port priority in the range of 0 to 240 in increments of 16 (as in 0, 16, 32).
Usage guidelines
The smaller the value, the higher the port priority. If all ports on your device use the same priority
value, the port priority depends on the port index. The smaller the index, the higher the priority.
If this command is configured in Layer 2 Ethernet interface view, it takes effect only on that interface.
If this command is configured in Layer 2 aggregate interface view, it takes effect only on the
aggregate interface.
If this command is configured on a member port in an aggregation group, it takes effect only after the
port leaves the aggregation group.
If you do not specify an MSTI or VLAN, this command configures the priority of the ports in the MSTP
CIST or in the STP or RSTP spanning tree.
38

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents