Creating and Enabling an RRPP Ring
Context
You need to manually add nodes to an RRPP ring and configure an interface role for each node.
The RRPP ring can be activated only when both the RRPP ring and the RRPP protocol are enabled on all the switches on an RRPP ring.
Prerequisites
STP has been disabled on the interfaces that need to be added to the RRPP ring. (By default, STP is enabled on all interfaces of the device.)
Procedure
- Run:
system-view
The system view is displayed.
- Run:
rrpp domain domain-id
The RRPP domain view is displayed.
- Run:
ring ring-id node-mode { master | transit } primary-port interface-type interface-number secondary-port interface-type interface-number level level-value
An RRPP ring is created.
Level 0 indicates the major ring, and Level 1 indicates a sub-ring.
- A domain contains only one major ring. Before creating a sub-ring, you must create the major ring.
- In the RRPP version defined by the national standard of China, the master node on the sub-ring cannot serve as the assistant edge node. In the RRPP version defined by Huawei, the master node on the sub-ring cannot server as the edge node or the assistant edge node.
- A maximum of 64 RRPP rings can be configured on a device.
- Before adding an interface to an RRPP ring, disable port security on the interface; otherwise, loops cannot be prevented.
- Configuring an RRPP sub-ring using the following
commands based on versions
For the RRPP version defined by the national standard of China:
Run:
ring ring-id node-mode transit secondary-port interface-type interface-number
An edge transit node is configured on an RRPP sub-ring.
In the RRPP version defined by the national standard of China, you only need to configure edge transmit nodes for RRPP sub-rings. The system automatically sets the level of the ring where the edge transmit nodes reside to 1.
For the RRPP version defined by Huawei:
Run:
ring ring-id node-mode { assistant-edge | edge } common-port interface-type interface-number edge-port interface-type interface-number
An edge node and an assistant edge node on the RRPP sub-ring are configured.
In the RRPP version defined by Huawei, you need to configure an edge node and an assistant edge node for an RRPP sub-ring.
The common interfaces on the edge node and assistant edge node must be located on the major ring.
The system automatically sets the level of the ring where the edge node and assistant edge node reside to 1.
- Run:
ring ring-id enable
The RRPP ring is enabled.