protected-vlan

Use protected-vlan to configure the protected VLANs for the RRPP domain.

Use undo protected-vlan to remove the protected VLANs from the RRPP domain.

Syntax

protected-vlan reference-instance instance-id-list

undo protected-vlan [ reference-instance instance-id-list ]

Default

No protected VLAN is configured for an RRPP domain.

Views

RRPP domain view

Predefined user roles

network-admin

Parameters

reference-instance instance-id-list: Specifies the Multiple Spanning Tree Instances (MSTIs) you want to reference in the form of instance-id-list = { instance-id [ to instance-id ] }&<1-10>. The instance-id argument is an MSTI ID in the range of 0 to 4094. You can specify up to 10 MSTI IDs or ID ranges. You can use the display stp region-configuration command to display the VLAN-to-instance mappings. If you do not specify this option, the command removes all MSTIs referenced by the RRPP domain.

Usage guidelines

You can delete or modify the protected VLANs configured for an RRPP domain before and after you configure rings for it. However, you cannot delete configurations of all the protected VLANs configured for the domain.

When the VLAN-to-instance mappings change, the protected VLANs of an RRPP domain also change.

Examples

# Map VLANs 1 through 30 to MSTI 1, and activate the MST region configuration. Configure VLAN 100 as the control VLAN of RRPP domain 1. Configure VLANs mapped to MSTI 1 as the primary control VLANs of RRPP domain 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] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protected-vlan reference-instance 1

Related commands