R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

41
Views
System view
Predefined user roles
network-admin
Parameters
instance instance-list: Sets the priority of the device in the MSTIs that are specified by an instance list.
They are in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10> indicates
that you can specify up to 10 instances or instance ranges. The value range for the instance-id argument
is 0 to 4094, and the value 0 represents the CIST.
vlan vlan-id-list: Sets the priority of the device in the VLANs specified by a VLAN ID list. They are in the
format of vlan-id-list = { vlan-id [ to vlan-id ] }&<1-10>, where &<1-10> indicates that you can specify up
to 10 vlan-id [ to vlan-id ] parameters. The value range for the vlan-id argument is 1 to 4094.
priority: Specifies the device priority in the range of 0 to 61440 in increments of 4096 (as in 0, 4096,
8192). You can set up to 16 priority values on the device. The smaller the value, the higher the device
priority.
Usage guidelines
If you do not specify any MSTI or VLAN, this command configures the priority of the device in the MSTP
CIST or in the STP or RSTP spanning tree.
Examples
# In MSTP mode, set the device priority to 4096 in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 priority 4096
# In PVST mode, set the device priority to 4096 in VLAN 1.
<Sysname> system-view
[Sysname] stp vlan 1 priority 4096
stp region-configuration
Use stp region-configuration to enter MST region view.
Use undo stp region-configuration to restore the default MST region configurations.
Syntax
stp region-configuration
undo stp region-configuration
Default
The default settings for the MST region are as follows:
The MST region name of the device is the MAC address of the device.
All VLANs are mapped to the CIST.
The MSTP revision level is 0.
Views
System view