Configuring control VLANs
Restrictions and guidelines
Perform this task on all nodes in the RRPP domain.
Before you configure RRPP rings in an RRPP domain, configure the same control VLANs for all nodes in the RRPP domain first. You need only configure the primary control VLAN for an RRPP domain. 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 previously assigned.
Do not configure the default VLAN of a port accessing an RRPP ring as the control VLAN.
A VLAN with VLAN interface resource reservation cannot be configured as the control VLAN. For more information about VLAN interface resource reservation, see Layer 2—LAN Switching Configuration Guide.
The primary and secondary control VLAN IDs must be different from the Layer 3 Ethernet subinterface IDs of the master ring and subrings.
For RRPPDUs to be correctly forwarded, do not enable VLAN mapping on control VLANs.
After you configure RRPP rings for an RRPP domain, you cannot delete or modify the primary control VLAN of the domain. You can only use the undo control-vlan command to delete a primary control VLAN.
To transparently transmit RRPPDUs on a device not configured with RRPP, make sure only the two ports accessing the RRPP ring permit packets from the control VLANs. Otherwise, the packets from other VLANs might enter the control VLANs in transparent transmission mode and strike the RRPP ring.
Procedure
Enter system view.
system-view
Enter RRPP domain view.
rrpp domain domain-id
Configure the primary control VLAN for the RRPP domain.
control-vlan vlan-id