04-RRPP Commands
Chapters Download (88.23 KB)
Syntax
control-vlan vlan-id
undo control-vlan
View
RRPP domain view
Default Level
2: System level
Parameters
vlan-id: Specifies a VLAN as the primary control VLAN for the RRPP domain, in the range 2 to 4093. This VLAN must be one not created yet.
Description
Use the control-vlan command to specify the primary control VLAN for the current RRPP domain.
Use the undo control-vlan command to remove the control VLANs configured for the current RRPP domain.
Note that:
l When configuring control VLANs for an RRPP domain, you only need to configure the control VLAN for the primary ring, that is, the primary control VLAN. The system will automatically configure the VLAN whose VLAN ID is the primary control VLAN ID plus 1 as the secondary control VLAN for subrings. Like the primary control VLAN, the secondary control VLAN must be one not created yet. For the control VLAN configuration to be successful, you must make sure that the IDs for the two control VLANs have not been assigned yet.
l 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.
l You cannot use the undo vlan all command to delete a control VLAN.
Related commands: rrpp domain.
Examples
# Configure VLAN 100 as the primary control VLAN of RRPP domain 1.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
Syntax
display rrpp brief
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display rrpp brief command to display the brief RRPP information.
Examples
# Display the brief RRPP information.
<Sysname> display rrpp brief
Flags for Node Mode :
M –- Master , T -- Transit , E -- Edge , A -- Assistant-Edge
RRPP Protocol Status: Enable
Number of RRPP Domains: 2
Domain ID : 1
Control VLAN : Major 5 Sub 6
Protected VLAN: Reference Instance 0 to 2, 4
Hello Timer : 1 sec Fail Timer : 3 sec
Ring Ring Node Primary/Common Secondary/Edge Enable
ID Level Mode Port Port Status
--------------------------------------------------------------------------------
1 1 M GigabitEthernet1/0/1 GigabitEthernet1/0/2 Yes
Domain ID : 2
Control VLAN : Major 10 Sub 11
Hello Timer : 1 sec Fail Timer : 3 sec
Protected VLAN: Reference Instance 0 to 2, 4
Ring Ring Node Primary/Common Secondary/Edge Enable
ID Level Mode Port Port Status
--------------------------------------------------------------------------------
1 0 T GigabitEthernet1/0/3 GigabitEthernet1/0/4 Yes
2 1 E GigabitEthernet1/0/3 GigabitEthernet1/0/5 Yes
GigabitEthernet1/0/4
Table 1-1 display rrpp brief command output description
Field |
Description |
Flags for Node Mode |
RRPP node mode l M represents master node l T represents transit node l E represents edge node l A represents assistant edge node |
RRPP Protocol Status |
RRPP protocol status l Enable (globally enabled) l Disable (globally disabled) |
Number of RRPP Domains |
Number of RRPP domains configured |
Domain ID |
RRPP domain ID |
Control VLAN |
Control VLANs of the RRPP domain: Major and Sub |
Protected VLAN |
List of VLANs protected by the RRPP domain. MSTIs are displayed here. To get the VLANs corresponding to these MSTIs, use the display stp region-configuration command. |
Hello Timer |
Hello Timer value in seconds |
Fail Timer |
Fail Timer value in seconds |
Ring ID |
RRPP ring ID |
Ring Level |
RRPP ring level l 0 representing primary ring l 1 representing subring |
Node Mode |
Node mode |
Primary/Common Port |
l Primary port when the node mode is master node or transit node l Common port when the node mode is edge node or assistant edge node l “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start |
Secondary/Edge Port |
l Secondary port when the node mode is master node or transit node l Edge port when the node mode is edge node or assistant edge node l “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start |
Enable Status |
RRPP ring status l Yes indicates enabled l No indicates disabled |
Syntax
display rrpp ring-group [ ring-group-id ]
View
Any view
Default Level
1: Monitor Level
Parameters
ring-group-id: RRPP ring group ID, in the range 1 to 8.
Description
Use the display rrpp ring-group command to display the RRPP ring group configuration. If no ring group ID is specified, the configuration of all ring groups is displayed. If an RRPP ring ID is specified, the configuration of the specified RRPP ring group on the current device is displayed. For an edge node RRPP ring group, the subring sending Edge-Hello packets is also displayed.
Related commands: domain ring.
Examples
# Display the configuration of all RRPP ring groups.
<Sysname> display rrpp ring-group
Ring Group 1:
domain 1 ring 1 to 3, 5
domain 2 ring 1 to 3, 5
domain 1 ring 1 is the sending ring
Ring Group 2:
domain 1 ring 4, 6 to 7
domain 2 ring 4, 6 to 7
Table 1-2 display rrpp ring-group command output description
Field |
Description |
Ring Group 1 |
RRPP ring group 1. |
domain 1 ring 1 to 3, 5 |
Subrings in the ring group, including rings 1, 2, 3, and 5 in RRPP domain 1. |
domain 1 ring 1 is the sending ring |
The sending ring of the ring group is ring 1 in RRPP domain 1. |
Syntax
display rrpp statistics domain domain-id [ ring ring-id ]
View
Any view
Default Level
1: Monitor level
Parameters
domain-id: RRPP domain ID, in the range 1 to 8.
ring-id: RRPP ring ID, in the range 1 to 64.
Description
Use the display rrpp statistics command to display RRPPDU statistics.
Note that:
l If an RRPP ring ID is specified, the RRPPDU statistics for the specified RRPP ring in the specified RRPP domain on the current device are displayed. If not, the RRPPDU statistics for all RRPP rings in the specified RRPP domain are displayed.
l If a certain port belongs to more than one ring, its RRPPDU statistics are collected and displayed by ring.
l When a ring transits from inactive status into active status, packet counting for the ring restarts.
Related commands: reset rrpp statistics.
Examples
# Display the RRPPDU statistics for ring 1 in RRPP domain 1.
<Sysname> display rrpp statistics domain 1 ring 1
Ring ID : 1
Ring Level : 1
Node Mode : Master
Active Status : Yes
Primary port : GigabitEthernet1/0/1
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 16424 0 0 1 0 0 16425
Rcv 0 0 0 0 0 0 0
Secondary port: GigabitEthernet1/0/2
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 0 0 0 0 0 0
Rcv 16378 0 0 1 0 0 16379
# Display the RRPPDU statistics for all rings in RRPP domain 2.
<Sysname> display rrpp statistics domain 2
Ring ID : 1
Ring Level : 0
Node Mode : Master
Active Status : Yes
Primary port : GigabitEthernet1/0/3
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 16924 0 0 1 0 0 16925
Rcv 0 0 0 0 0 0 0
Secondary port: GigabitEthernet1/0/4
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 0 0 0 0 0 0 0
Rcv 16878 0 0 1 0 0 16879
Ring ID : 2
Ring Level : 1
Node Mode : Edge
Active Status : No
Common port : GigabitEthernet1/0/3
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 0 0 0 0 0 0 0
Rcv 0 0 0 0 0 0 0
Common port : GigabitEthernet1/0/4
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 0 0 0 0 0 0 0
Rcv 0 0 0 0 0 0 0
Edge port : GigabitEthernet1/0/5
Packet Link Common Complete Edge Major Packet
Direct Hello Down Flush FDB Flush FDB Hello Fault Total
------------------------------------------------------------------------------
Send 0 0 0 0 0 0 0
Rcv 0 0 0 0 0 0 0
Table 1-3 display rrpp statistics command output description
Field |
Description |
Ring ID |
RRPP ring ID |
Ring Level |
RRPP ring level: l 0 for primary ring l 1 for subring |
Node Mode |
Node mode: l Master node l Transit node l Edge node l Assistant edge node |
Active Status |
RRPP ring activation status: l Yes for active l No for inactive |
Primary Port |
The primary port field means the node mode is master node or transit node. “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start, and in this case, no corresponding statistics appears. |
Secondary Port |
The secondary port field means the node mode is master node or transit node. “-” appears when the port is not configured on the ring or the board to which the port belongs does not start, and in this case, no corresponding statistics appears. |
Common Port |
The common port field means the node mode is edge node or assistant edge node. “-” appears when the port is not configured on the ring or the board to which the port belongs does not start, and in this case, no corresponding statistics appears. |
Edge Port |
The edge port field means the node mode is edge node or assistant edge node. “-” appears when the port is not configured on the ring or the board to which the port belongs does not start, and in this case, no corresponding statistics appears. |
Packet Direct |
Packet transmission direction on the port: Send or Rcv |
Hello |
Hello packet statistics received/sent on the port |
Link Down |
Link-Down packet statistics received/sent on the port |
Common Flush FDB |
Common-Flush-FDB packet statistics received/sent on the port |
Complete Flush FDB |
Complete-Flush-FDB packet statistics received/sent on the port |
Edge Hello |
Edge-Hello packet statistics received/sent on the port |
Major Fault |
Major-Fault packet statistics received/sent on the port |
Packet Total |
Total number of packets received/sent on the port. Here only Hello, Link-Down, Common-Flush-FDB, Complete-Flush-FDB, Edge-Hello, and Major-Fault packets of RRPP are counted. |
Syntax
display rrpp verbose domain domain-id [ ring ring-id ]
View
Any view
Default Level
1: Monitor level
Parameters
domain-id: RRPP domain ID, in the range 1 to 8.
ring-id: RRPP ring ID, in the range 1 to 64.
Description
Use the display rrpp verbose command to display detailed RRPP information.
If you have specified an RRPP ring ID in the command, the detailed information of the specified ring in the specified RRPP domain appears. Otherwise, the detailed information of all the rings in the specified RRPP domain appears.
Examples
# Display the detailed information of ring 1 in RRPP domain 1.
<Sysname> display rrpp verbose domain 1 ring 1
Domain ID : 1
Control VLAN : Major 5 Sub 6
Protected VLAN: Reference Instance 0 to 2, 4
Hello Timer : 1 sec Fail Timer : 3 sec
Ring ID : 1
Ring Level : 1
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet1/0/1 Port status: UP
Secondary port: GigabitEthernet1/0/2 Port status: BLOCKED
# Display the detailed information of all the rings in RRPP domain 2.
<Sysname> display rrpp verbose domain 2
Domain ID : 2
Control VLAN : Major 10 Sub 11
Protected VLAN: Reference Instance 3, 5 to 7
Hello Timer : 1 sec Fail Timer : 3 sec
Ring ID : 1
Ring Level : 0
Node Mode : Master
Ring State : Complete
Enable Status : Yes Active Status: Yes
Primary port : GigabitEthernet1/0/4 Port status: UP
Secondary port: GigabitEthernet1/0/5 Port status: BLOCKED
Ring ID : 2
Ring Level : 1
Node Mode : Edge
Ring State : -
Enable Status : No Active Status: No
Common port : GigabitEthernet1/0/4 Port status: -
GigabitEthernet1/0/5 Port status: -
Edge port : GigabitEthernet1/0/3 Port status: -
Table 1-4 display rrpp verbose command output description
Field |
Description |
Domain ID |
RRPP domain ID |
Control VLAN |
Control VLANs of the RRPP domain: l Major: Represents the primary control VLAN l Sub: Represents the secondary control VLAN |
Protected VLAN |
List of VLANs protected by the RRPP domain. MSTIs are displayed here. To get the VLANs corresponding to these MSTIs, use the display stp region-configuration command. |
Hello Timer |
Hello Timer value in seconds |
Fail Timer |
Fail Timer value in seconds |
Ring ID |
RRPP ring ID |
Ring Level |
RRPP ring level: l 0 representing primary ring l 1 representing subring |
Node Mode |
Node mode: l Master node l Transit node l Edge node l Assistant edge node |
Ring State |
RRPP ring state. This field makes sense only when the node mode field is master node. l “Complete” appears when the ring is in health state; l “Failed” appears when the ring is in disconnect sate; l “–” appears in all the other cases. |
Enable Status |
RRPP ring enable status l Yes for enabled l No for disabled |
Active Status |
RRPP ring activation status. An RRPP ring can be active only when the RRPP protocol and the RRPP ring are both enabled. Therefore, you can also use this field to identify whether the RRPP protocol are enabled. Two statuses are available: l Yes for active l No for inactive |
Primary Port |
The primary port field means the node mode is master node or transit node. “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start. |
Secondary Port |
The secondary port field means the node mode is master node or transit node. - appears when the port is not configured on the ring or the board to which the port belongs does not start. |
Common Port |
The common port field means the node mode is edge node or assistant edge node. “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start. |
Edge Port |
The edge port field means the node mode is edge node or assistant edge node. “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start. |
Port status |
Port status includes down, up and blocked; “-“ appears in one of the following cases: l the ring is inactive l the port is not configured on the ring l the board to which the port belongs does not start |
Syntax
domain domain-id ring ring-id-list
undo domain domain-id [ ring ring-id-list ]
View
RRPP ring group view
Default Level
2: System level
Parameters
domain-id: RRPP domain ID, in the range of 1 to 8.
ring-id-list: RRPP subring ID list expressed in the format of ring-id-list={ ring-id [ to ring-id ] }&<1-10>, where the ring-id argument is an RRPP subring ID in the range of 1 to 64 and &<1-10> indicates that you can input up to ten RRPP ring ID ranges.
Description
Use the domain ring command to configure subrings for an RRPP ring group.
Use the undo domain ring command to remove the specified subring(s) from an RRPP ring group. If no subring ID list is specified, all subrings in the ring group are removed in the specified domain.
Follow these guidelines when configuring an RRPP ring group on the edge node and the assistant-edge node:
l When assigning an active ring to a ring group, do that on the assistant-edge node first and then on the edge node.
l To remove an active ring from a ring group, do that on the edge node first and then on the assistant-edge node.
l To remove the whole ring group, do that on the edge node first and then on the assistant-edge node.
l When activating rings in a ring group, do that on the assistant-edge node first and then on the edge node.
l When deactivating rings in a ring group, do that on the edge node first and then on the assistant-edge node.
Failure to follow these guidelines may cause the failure of assistant-edge node to receive Edge-Hello packets and thus mistakenly considering the primary ring as failed.
Related commands: rrpp ring-group, display rrpp ring-group.
Examples
# Configure subrings for RRPP ring group 1.
<Sysname> system-view
[Sysname] rrpp ring-group 1
[Sysname-rrpp-ring-group1] domain 1 ring 1 to 3 5
[Sysname-rrpp-ring-group1] domain 2 ring 1 to 3 5
Syntax
protected-vlan reference-instance instance-id-list
undo protected-vlan [ reference-instance instance-id-list ]
View
RRPP domain view
Default Level
2: System level
Parameters
reference-instance instance-id-list: Specifies the MSTIs to be referenced. The range of the instance-id-list argument is as specified in the command configuring MSTIs.
Description
Use the protected-vlan command to configure the protected VLANs for the RRPP domain. The protected VLANs are specified by the MSTIs.
Use the undo protected-vlan command to remove the specified protected VLANs of the RRPP domain. If no MSTI is specified, all protected VLANs of the RRPP domain are removed.
By default, no protected VLAN is specified for an RRPP domain.
Note that:
l You can use the display stp region-configuration command to check the VLANs corresponding to the specified MSTIs.
l Before configuring rings for an RRPP domain, you can delete or modify the protected VLANs configured for the RRPP domain; after configuring rings for an RRPP domain, you can delete or modify the protected VLANs configured for the RRPP domain, however, you cannot delete all the protected VLANs configured for the domain.
l When the VLAN-to-MSTI mappings change, the protected VLANs of an RRPP domain also changes according to the MSTIs configured for the domain.
Related commands: rrpp domain, display stp region-configuration in MSTP Commands in the Command Reference - Part 3 - Access.
Examples
# Configure VLANs mapped to MSTI 2 and MSTI 3 as the protected VLANs of RRPP domain 1.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protected-vlan reference-instance 2 to 3
Syntax
reset rrpp statistics domain domain-id [ ring ring-id ]
View
User view
Default Level
1: Monitor level
Parameters
domain-id: RRPP domain ID, in the range 1 to 8.
ring-id: RRPP ring ID, in the range 1 to 64.
Description
Use the reset rrpp statistics command to clear RRPPDU statistics.
If you have specified an RRPP ring ID in the command, RRPPDU statistics of the specified RRPP ring in the specified RRPP domain on the current device are cleared. Otherwise, RRPPDU statistics of all RRPP rings in the specified RRPP domain are cleared.
Related commands: display rrpp statistics.
Examples
# Clear the RRPPDU statistics of ring 10 in RRPP domain 1.
<Sysname> reset rrpp statistics domain 1 ring 10
Syntax
ring ring-id node-mode { { master | transit } [ primary-port interface-type interface-number ] [ secondary-port interface-type interface-number ] level level-value | { edge | assistant-edge } [ edge-port interface-type interface-number ] }
undo ring ring-id
View
RRPP domain view
Default Level
2: System level
Parameters
ring-id: RRPP ring ID, in the range 1 to 64.
master: Specifies the device as the master node of the RRPP ring.
transit: Specifies the device as the transit node of the RRPP ring.
primary-port: Specifies the port as a primary port.
interface-type interface-number: Specifies a port by its type and number. The port can be a Layer-2 Ethernet port, Layer-2 GE port, Layer-2 XGE port, or Layer-2 aggregate interface.
secondary-port: Specifies the port as a secondary port.
level-value: RRPP ring level, with 0 representing primary ring and 1 representing subring.
edge: Specifies the device as the edge node of the RRPP ring.
assistant-edge: Specifies the device as the assistant edge node of the RRPP ring.
edge-port: Specifies the edge port for the node.
Description
Use the ring command to configure the node mode of the device, the role of the specified RRPP port, and the level of the RRPP ring.
Use the undo ring command to remove the configuration.
Note that:
l The ID of an RRPP ring in a domain must be unique.
l When an RRPP is enabled, you cannot configure its RRPP ports.
l When configuring the edge node and the assistant-edge node, you must first configure the primary ring, and then the subrings.
l The node mode, RRPP port role, and ring level settings of an RRPP ring cannot be modified once they are configured. To modify the settings, you must first remove the present settings.
l You must remove all subring configurations before deleting the primary ring configuration of the edge node or the assistant-edge node. However, an active RRPP ring cannot be deleted.
Related command: ring enable.
Examples
# Specify the device as the master node of primary ring 10 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 10 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
# Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 10 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
# Specify the device as the master node of subring 20 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 20 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1
# Specify the device as the transit node of primary ring 20 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 20 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1
# Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Then, specify the device as the edge node of subring 20 in RRPP domain 1, GigabitEthernet 1/0/3 as the edge port.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 10 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[Sysname-rrpp-domain1] ring 20 node-mode edge edge-port gigabitethernet 1/0/3
# Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Then, specify the device as the assistant edge node of subring 20 in RRPP domain 1, GigabitEthernet 1/0/3 as the edge port.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 10 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[Sysname-rrpp-domain1] ring 20 node-mode assistant-edge edge-port gigabitethernet 1/0/3
Syntax
ring ring-id enable
undo ring ring-id enable
View
RRPP domain view
Default Level
2: System level
Parameters
ring-id: RRPP ring ID, in the range 1 to 64.
Description
Use the ring enable command to enable the RRPP ring.
Use the undo ring enable command to disable the RRPP ring.
By default, the RRPP ring is disabled.
To activate the RRPP domain, enable the RRPP protocol and the RRPP rings for the RRPP domain.
Related commands: rrpp enable.
Examples
# Enable RRPP ring 10 in RRPP domain 1.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] control-vlan 100
[Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2
[Sysname-rrpp-domain1] ring 10 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[Sysname-rrpp-domain1] ring 10 enable
Syntax
rrpp domain domain-id
undo rrpp domain domain-id
View
System view
Default Level
2: System level
Parameters
domain-id: RRPP domain ID, in the range 1 to 8.
Description
Use the rrpp domain command to create an RRPP domain and enter its view.
Use the undo rrpp domain command to remove an RRPP domain.
Note that:
l When you delete an RRPP domain, its control VLANs are deleted, and its protected VLAN configuration is deleted at the same time.
l To delete an RRPP domain successfully, make sure that it has no RRPP rings.
Related commands: control-vlan, protected-vlan.
Examples
# Create RRPP domain 1, and enter RRPP domain 1 view.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1]
Syntax
rrpp enable
undo rrpp enable
View
System view
Default Level
2: System level
Parameters
None
Description
Use the rrpp enable command to enable RRPP protocol.
Use the undo rrpp enable command to disable RRPP protocol.
By default, RRPP protocol is disabled.
To activate the RRPP domain, enable the RRPP protocol and the RRPP rings for the RRPP domain.
Related commands: ring enable.
Examples
# Enable the RRPP protocol.
<Sysname> system-view
[Sysname] rrpp enable
Syntax
rrpp ring-group ring-group-id
undo rrpp ring-group ring-group-id
View
System view
Default Level
2: System level
Parameters
ring-group-id: RRPP ring group ID, in the range 1 to 8.
Description
Use the rrpp ring-group command to create an RRPP ring group and enter RRPP ring group view.
Use the undo rrpp ring-group command to delete an RRPP ring group.
Note that:
l RRPP configured with ring groups cannot interoperate with RRPP that does not support ring group configuration.
l When removing a ring group, do that on the edge node first and then on the assistant-edge node. If you fail to follow the order, the assistant-edge node may fail to receive Edge-Hello packets and thus mistakenly considers that the primary ring has failed.
l After a ring group is removed, all subrings in the ring group do not belong to any ring group.
Related commands: domain ring, display rrpp ring-group.
Examples
# Create RRPP ring group 1 and enter its view.
<Sysname> system-view
[Sysname] rrpp ring-group 1
[Sysname-rrpp-ring-group1]
Syntax
timer hello-timer hello-value fail-timer fail-value
undo timer
View
RRPP domain view
Default Level
2: System level
Parameters
hello-value: Hello timer value, in the range 1 to 10 seconds.
fail-value: Fail timer value, in the range 3 to 30 seconds.
Description
Use the timer command to configure the Hello timer value and the Fail timer value for the RRPP domain.
Use the undo timer command to restore it to the default value.
By default, the Hello timer value is 1 second and the Fail timer value is 3 seconds.
Note that the Fail timer value must be greater than or equal to three times of the Hello timer value.
Examples
# Set the Hello timer value to 2 seconds and the Fail timer value to 7 seconds.
<Sysname> system-view
[Sysname] rrpp domain 1
[Sysname-rrpp-domain1] timer hello-timer 2 fail-timer 7