R3303-HP HSR6800 Routers High Availability Command Reference
134
Syntax
protected-vlan reference-instance instance-id-list
undo protected-vlan [ reference-instance instance-id-list ]
Views
Smart link group view
Default command level
2: System level
Parameters
reference-instance instance-id-list: Specifies the MSTIs to be referenced in the form of instance-id-list =
{ instance-id [ to instance-id ] }&<1-10>, where instance-id is an MSTI ID in the range of 0 to 31. The
minimum value of instance-id is 0, representing the common internal spanning tree (CIST). &<1-10>
means that you can specify up to 10 MSTI IDs or ID ranges. You can use the display stp
region-configuration command to display the instance-to-VLAN mappings (a device working in PVST
mode automatically maps VLANs to MSTIs).
Usage guidelines
If the reference-instance instance-id-list option is specified, the undo protected-vlan command removes
configuration of VLANs mapped to the specified MSTIs; otherwise, the command removes configuration
of all protected VLANs.
Before assigning ports to a smart link group, configure protected VLANs for the smart link group.
You can remove the protected VLAN configuration of a smart link group when the group is empty but not
after a member port is assigned to it.
Removing a smart link group also removes its protected VLAN configuration.
If the VLANs mapped to a referenced MSTI change, the protected VLANs also change.
The VLANs that the member ports of a smart link group belong to must be configured as the protected
VLANs of the smart link group.
Examples
# Map VLANs 1 through 30 to MSTI 1, activate the MST region configuration, and configure the VLANs
mapped to MSTI 1 as the protected VLANs of smart link group 1.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] instance 1 vlan 1 to 30
[Sysname-mst-region] active region-configuration
[Sysname-mst-region] quit
[Sysname] smart-link group 1
[Sysname-smlk-group1] protected-vlan reference-instance 1
Related commands
• display stp region-configuration (Layer 2—LAN Switching Command Reference)
• smart-link group
reset smart-link statistics
Use reset smart-link statistics to clear the statistics about flush messages.