control-vlan

Use control-vlan to configure the primary control VLAN for the RRPP domain.

Use undo control-vlan to remove the primary control VLAN from the RRPP domain.

Syntax

control-vlan vlan-id

undo control-vlan

Default

No control VLAN exists in the RRPP domain.

Views

RRPP domain view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies the ID of the primary control VLAN, in the range of 2 to 4093. The VLAN must have not been created yet.

Usage guidelines

When you configure control VLANs for an RRPP domain, you only need to configure the primary control VLAN. The system automatically configures the secondary control VLAN. It uses the primary control VLAN ID plus 1 as the secondary control VLAN ID. For the control VLAN configuration to succeed, make sure the IDs of the two control VLANs are consecutive and have not been assigned yet.

To ensure correct forwarding of RRPPDUs, follow these guidelines:

After you configure RRPP rings for an RRPP domain, you cannot delete or modify the primary control VLAN of the domain. To do so, use the undo control-vlan command.

Examples

# Configure VLAN 100 as the primary control VLAN of RRPP domain 1 (assume that VLAN 100 and VLAN 101 have not been created yet).

<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100