Configuring control vlans, Configuring protected vlans – H3C Technologies H3C S12500 Series Switches User Manual
Page 76

65
Step Command
1.
Enter system view.
system-view
2.
Create an RRPP domain and enter RRPP domain
view.
rrpp domain domain-id
Configuring control VLANs
Before you configure RRPP rings in an RRPP domain, configure the same control VLANs for all nodes in
the RRPP domain first. When configuring control VLANs for an RRPP domain, you only need to configure
the primary control VLAN. The system automatically configures the secondary control VLAN and 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.
When you configure control VLANs, follow these guidelines:
•
To ensure proper forwarding of RRPPDUs, do not configure the default VLAN of a port accessing an
RRPP ring as the control VLAN, or enable 802.1Q in 802.1Q (QinQ) or VLAN mapping on the
control VLANs.
•
Before configuring RRPP rings for an RRPP domain, you can delete or modify the control VLANs
configured for the RRPP domain. However, after configuring RRPP rings for an RRPP domain, you
cannot delete or modify the control VLANs of the domain. You can only use the undo control-vlan
command to delete a control VLAN.
•
To transparently transmit RRPPDUs on a device not configured with RRPP, you must make sure that
only the two ports connecting the device to 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.
To configure control VLANs:
Step Command
1.
Enter system view.
system-view
2.
Enter RRPP domain view.
rrpp domain domain-id
3.
Configure the primary control VLAN for the RRPP
domain.
control-vlan vlan-id
Configuring protected VLANs
Before configuring RRPP rings in an RRPP domain, configure the same protected VLANs for all nodes in
the RRPP domain first. All VLANs that the RRPP ports are assigned to should be protected by the RRPP
domains.
You can configure protected VLANs through referencing Multiple Spanning Tree Instances (MSTIs).
Before configuring protected VLANs, configure the mappings between MSTIs and the VLANs to be
protected (a device working in PVST mode automatically maps VLANs to MSTIs). For more information
about MSTIs and PVST, see Layer 2—LAN Switching Configuration Guide.
Perform this configuration on all nodes in the RRPP domain to be configured.
To configure protected VLANs: