12-High Availability Command Reference

HomeSupportSwitchesH3C S9500E Switch SeriesReference GuidesCommand ReferencesH3C S9500E Command References-Release1828P04-6W18212-High Availability Command Reference
06-RRPP Commands
Title Size Download
06-RRPP Commands 147.03 KB

RRPP configuration commands

control-vlan

Syntax

control-vlan vlan-id

undo control-vlan

View

RRPP domain view

Default level

2: System level

Parameters

vlan-id: Specifies the ID of the primary control VLAN for the RRPP domain, in the range of 2 to 4093. The specified VLAN must be a new one (not yet created).

Description

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

Use undo control-vlan to remove the control VLAN for the current RRPP domain.

By default, no primary control VLAN exists in the RRPP domain.

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.

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.

Related commands: rrpp domain.

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

display rrpp brief

Syntax

display rrpp brief [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display rrpp brief 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

Fast Detection Status: Disable

Fast Hello Timer: 10 ms     Fast Fail Timer: 30 ms

 Ring  Ring   Node  Primary/Common               Secondary/Edge          Enable

 ID    Level  Mode     Port                      Port                    Status

--------------------------------------------------------------------------------

 1     1      M        GigabitEthernet3/0/1      GigabitEthernet3/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

Fast Detection Status: Disable

Fast Hello Timer: 10 ms     Fast Fail Timer: 30 ms

 Ring   Ring    Node     Primary/Common            Secondary/Edge          Enable

 ID     Level   Mode     Port                      Port                    Status

----------------------------------------------------------------------------------

 1      0       T        GigabitEthernet3/0/3      GigabitEthernet3/0/4    Yes

 2      1       E        GigabitEthernet3/0/3      GigabitEthernet3/0/5    Yes

                         GigabitEthernet3/0/4

Table 1 Command output

Field

Description

Flags for Node Mode

RRPP node mode:

·     M—Master node.

·     T—Transit node.

·     E—Edge node.

·     A—Assistant edge node.

RRPP Protocol Status

RRPP protocol status:

·     Enable (globally enabled).

·     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.

Fast Detection Status

Fast detection mechanism status:

·     Enable for enabled.

·     Disable for disabled.

Fast Hello Timer

The interval specified in milliseconds at which the master node sends Fast-Hello packets out of the primary port.

Fast Fail Timer

The maximum delay specified in milliseconds between the master node sending Fast-Hello packets out of the primary port and the secondary port receiving the Fast-Hello packets from the primary port.

Ring ID

RRPP ring ID.

Ring Level

RRPP ring level:

·     0—Primary ring.

·     1—Subring.

Node Mode

Node mode.

Primary/Common Port

·     Primary port when the node mode is master node or transit node.

·     Common port when the node mode is edge node or assistant edge node.

·     A hyphen (-) appears when the port is not configured on the ring or the board to which the port belongs does not start.

Secondary/Edge Port

·     Secondary port when the node mode is master node or transit node.

·     Edge port when the node mode is edge node or assistant edge node.

·     A hyphen (-) 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:

·     Yes—Enabled.

·     No—Disabled.

 

display rrpp ring-group

Syntax

display rrpp ring-group [ ring-group-id ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor Level

Parameters

ring-group-id: Specifies the RRPP ring group ID in the range of 1 to 8.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display rrpp ring-group to display the RRPP ring group configuration.

If no ring group ID is specified, this command displays the configuration of all ring groups.

If an RRPP ring ID is specified, this command displays the configuration of the specified RRPP ring group on the current device.

For an edge node RRPP ring group, this command also displays the subring sending Edge-Hello packets.

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 2 Command output

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.

 

display rrpp statistics

Syntax

display rrpp statistics domain domain-id [ ring ring-id ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

domain-id: Specifies the RRPP domain ID in the range of 1 to 32.

ring-id: Specifies the RRPP ring ID in the range of 1 to 64.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display rrpp statistics to display RRPPDU statistics.

If an RRPP ring ID is specified, this command displays the RRPPDU statistics for the specified RRPP ring in the specified RRPP domain on the current device.

If no RRPP ring ID is specified, this command displays the RRPPDU statistics for all RRPP rings in the specified RRPP domain.

If a certain port belongs to more than one ring, this command collects and displays its RRPPDU statistics by ring.

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  : GigabitEthernet3/0/1

Fast Hello Packets: 0 Send, 0 Rcv

Fast Edge Hello Packets: 0 Send, 0 Rcv

 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: GigabitEthernet3/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  : GigabitEthernet3/0/1

Fast Hello Packets: 0 Send, 0 Rcv

Fast Edge Hello Packets: 0 Send, 0 Rcv

 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: GigabitEthernet3/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         0

 Rcv    16878     0         0          1          0         0         16879

 

Ring ID       : 2

Ring Level    : 1

Node Mode     : Edge

Active Status : No

Common port   : GigabitEthernet3/0/3

Fast Hello Packets: 0 Send, 0 Rcv

Fast Edge Hello Packets: 0 Send, 0 Rcv

 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   : GigabitEthernet3/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     : GigabitEthernet3/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 3 Command output

Field

Description

Ring ID

RRPP ring ID.

Ring Level

RRPP ring level:

·     0 for primary ring.

·     1 for subring.

Node Mode

Node mode:

·     Master node.

·     Transit node.

·     Edge node.

·     Assistant edge node.

Active Status

RRPP ring activation status:

·     Yes for active.

·     No for inactive.

Primary Port

The primary port field means the node mode is master node or transit node. A hyphen (-) 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. A hyphen (-) 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. A hyphen (-) 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. A hyphen (-) appears when the port is not configured on the ring or the board to which the port belongs does not start.

Fast Hello Packets

Fast-Hello packet statistics on the port:

·     Send—Number of Fast-Hello packets sent out of the port.

·     Rcv—Number of Fast-Hello packets received on the port.

Fast Edge Hello Packets

Fast-Edge-Hello packet statistics on the port:

·     Send—Number of Fast- Edge-Hello packets sent out of the port.

·     Rcv—Number of Fast- Edge-Hello packets received on the port.

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.

 

display rrpp verbose

Syntax

display rrpp verbose domain domain-id [ ring ring-id ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

domain-id: Specifies the RRPP domain ID in the range of 1 to 32.

ring-id: Specifies the RRPP ring ID in the range of 1 to 64.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display rrpp verbose to display detailed RRPP information.

If an RRPP ring ID is specified, this command displays the detailed information of the specified ring in the specified RRPP domain. Otherwise, this command displays the detailed information of all the rings in the specified RRPP domain.

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

Fast Detection Status: Disable

Fast Hello Timer: 10 ms     Fast Fail Timer: 30 ms

Ring ID       : 1

Ring Level    : 1

Node Mode     : Master

Ring State    : Complete

Enable Status : Yes    Active Status: Yes

Primary port  : GigabitEthernet3/0/1           Port status: UP

Secondary port: GigabitEthernet3/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

Fast Detection Status: Disable

Fast Hello Timer: 10 ms     Fast Fail Timer: 30 ms

 

Ring ID       : 1

Ring Level    : 0

Node Mode     : Master

Ring State    : Complete

Enable Status : Yes    Active Status: Yes

Primary port  : GigabitEthernet3/0/4           Port status: UP

Secondary port: GigabitEthernet3/0/5           Port status: BLOCKED

 

Ring ID       : 2

Ring Level    : 1

Node Mode     : Edge

Ring State    : -

Enable Status : No    Active Status: No

Common port   : GigabitEthernet3/0/4           Port status: -

                GigabitEthernet3/0/5           Port status: -

Edge port     : GigabitEthernet3/0/3           Port status: -

Table 4 Command output

Field

Description

Domain ID

RRPP domain ID.

Control VLAN

Control VLANs of the RRPP domain:

·     MajorPrimary control VLAN.

·     SubSecondary 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.

Fast Detection Status

Fast detection mechanism status:

·     Enable for enabled.

·     Disable for disabled.

Fast Hello Timer

The interval specified in milliseconds at which the master node sends Fast-Hello packets out of the primary port.

Fast Fail Timer

The maximum delay specified in milliseconds between the master node sending Fast-Hello packets out of the primary port and the secondary port receiving the Fast-Hello packets from the primary port.

Ring ID

RRPP ring ID.

Ring Level

RRPP ring level:

·     0—Primary ring.

·     1—Subring.

Node Mode

Node mode:

·     Master node.

·     Transit node.

·     Edge node.

·     Assistant edge node.

Ring State

RRPP ring state:

·     Complete—The ring is healthy.

·     Failed—The ring is not closed.

If the ring is not enabled on the device working as the master node or the device is not the master node of the ring, a hyphen (-) is displayed.

Enable Status

RRPP ring enable status:

·     Yes for enabled.

·     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. You can also use this field to identify whether the RRPP protocol are enabled. Two statuses are available:

·     Yes for active.

·     No for inactive.

Primary Port

The primary port field means the node mode is master node or transit node. A hyphen (-) 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. A hyphen (-) 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. A hyphen (-) 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. A hyphen (-) 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; A hyphen (-) appears in one of the following cases:

·     The ring is inactive.

·     The port is not configured on the ring.

·     The board to which the port belongs does not start.

 

domain ring

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: Specifies the RRPP domain ID in the range of 1 to 32.

ring-id-list: Specifies the 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 domain ring to configure subrings for an RRPP ring group.

Use undo domain ring to remove the specified subrings 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:

·     When assigning an active ring to a ring group, assign it on the assistant-edge node first and then on the edge node.

·     To remove an active ring from a ring group, remove it on the edge node first and then on the assistant-edge node.

·     To remove the whole ring group, remove it on the edge node first and then on the assistant-edge node.

·     When activating rings in a ring group, activate them on the edge node first and then on the assistant-edge node.

·     When deactivating rings in a ring group, deactivate them on the assistant-edge node first and then on the edge node.

Failure to follow these guidelines can cause the failure of assistant-edge node to receive Edge-Hello packets and mistakenly considering the primary ring as failed.

Related commands: rrpp ring-group and 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

fast-detection enable

Syntax

fast-detection enable

undo fast-detection enable

View

RRPP domain view

Default level

2: System level

Parameters

None

Description

Use fast-detection enable to enable fast detection for the RRPP domain.

Use undo fast-detection enable to disable fast detection for the RRPP domain.

By default, fast detection is disabled for an RRPP domain.

To make fast detection take effect in an RRPP domain, you must enable fast detection, the RRPP protocol, and the RRPP rings in the RRPP domain.

When configuring fast detection in an RRPP domain, enable fast detection first on the edge node, and then on the assistant-edge node. Otherwise, the assistant-edge node might fail to receive Fast-Edge-Hello packets and erroneously conclude that the master node is faulty.

Related commands: ring enable and rrpp enable.

Examples

# Enable fast detection in RRPP domain 1.

<Sysname> system-view

[Sysname] rrpp domain 1

[Sysname-rrpp-domain1] fast-detection enable

protected-vlan

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 Multiple Spanning Tree Instances (MSTIs) you want to reference in the form of instance-id-list = { instance-id [ to instance-id ] }&<1-10>, where instance-id is an MSTI ID in the range of 0 to 47. instance-id 0 represents the common internal spanning tree (CIST). &<1-10> means that you can specify up to 10 MSTI IDs or ID ranges. You can use the display stp region-configuration command to display the instance-to-VLAN mappings (a device working in PVST mode automatically maps VLANs to MSTIs).

Description

Use protected-vlan to configure the protected VLANs for the RRPP domain.

Use undo protected-vlan to remove the protected VLAN configuration of the RRPP domain.

By default, no protected VLAN is specified for an RRPP domain.

With the reference-instance instance-id-list option specified, the undo protected-vlan command removes configuration of VLANs mapped to the specified MSTIs; otherwise, the command removes configuration of all protected VLANs.

You can delete or modify the protected VLANs configured for an RRPP domain before and after configuring rings for it. However, you cannot delete configuration of all the protected VLANs configured for the domain.

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 (Layer 2LAN Switching Command Reference).

Examples

# Map VLANs 1 through 30 to MSTI 1, activate the MST region configuration, configure VLAN 100 as the control VLAN of RRPP domain 1, and configure VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

<Sysname> system-view

[Sysname] stp region-configuration

[Sysname-mst-region] instance 1 vlan 1 to 30

[Sysname-mst-region] active region-configuration

[Sysname-mst-region] quit

[Sysname] rrpp domain 1

[Sysname-rrpp-domain1] control-vlan 100

[Sysname-rrpp-domain1] protected-vlan reference-instance 1

reset rrpp statistics

Syntax

reset rrpp statistics domain domain-id [ ring ring-id ]

View

User view

Default level

1: Monitor level

Parameters

domain-id: Specifies the RRPP domain ID in the range of 1 to 32.

ring-id: Specifies the RRPP ring ID in the range of 1 to 64.

Description

Use reset rrpp statistics 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

ring

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: Specifies the RRPP ring ID in the range of 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 ring to configure the node mode of the device, the role of the specified RRPP port, and the level of the RRPP ring.

Use undo ring to remove the configuration.

The ID of an RRPP ring in a domain must be unique.

When an RRPP is enabled, you cannot configure its RRPP ports.

When configuring the edge node and the assistant-edge node, you must first configure the primary ring, and then the subrings.

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 current settings.

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 3/0/1 as the primary port and GigabitEthernet 3/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 3/0/1 secondary-port gigabitethernet 3/0/2 level 0

# Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/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 GigabitEthernet3/0/1 secondary-port gigabitEthernet3/0/2 level 0

# Specify the device as the master node of subring 20 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/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 gigabitEthernet3/0/1 secondary-port gigabitEthernet3/0/2 level 1

# Specify the device as the transit node of primary ring 20 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/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 gigabitEthernet3/0/1 secondary-port gigabitEthernet3/0/2 level 1

# Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/0/2 as the secondary port. Then, specify the device as the edge node of subring 20 in RRPP domain 1, GigabitEthernet 3/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 gigabitEthernet3/0/1 secondary-port gigabitEthernet3/0/2 level 0

[Sysname-rrpp-domain1] ring 20 node-mode edge edge-port gigabitEthernet3/0/3

# Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/0/2 as the secondary port. Then, specify the device as the assistant edge node of subring 20 in RRPP domain 1, GigabitEthernet 3/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 gigabitEthernet3/0/1 secondary-port gigabitEthernet3/0/2 level 0

[Sysname-rrpp-domain1] ring 20 node-mode assistant-edge edge-port gigabitEthernet3/0/3

ring enable

Syntax

ring ring-id enable

undo ring ring-id enable

View

RRPP domain view

Default level

2: System level

Parameters

ring-id: Specifies the RRPP ring ID in the range of 1 to 64.

Description

Use ring enable to enable the RRPP ring.

Use undo ring enable 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 3/0/1 secondary-port gigabitethernet 3/0/2 level 0

[Sysname-rrpp-domain1] ring 10 enable

rrpp domain

Syntax

rrpp domain domain-id

undo rrpp domain domain-id

View

System view

Default level

2: System level

Parameters

domain-id: Specifies the RRPP domain ID in the range of 1 to 32.

Description

Use rrpp domain to create an RRPP domain and enter its view.

Use undo rrpp domain to remove an RRPP domain.

When you delete an RRPP domain, configurations of the control VLANs and protected VLANs are deleted at the same time.

To delete an RRPP domain successfully, make sure that it has no RRPP rings.

Related commands: control-vlan and protected-vlan.

Examples

# Create RRPP domain 1, and enter RRPP domain 1 view.

<Sysname> system-view

[Sysname] rrpp domain 1

[Sysname-rrpp-domain1]

rrpp enable

Syntax

rrpp enable

undo rrpp enable

View

System view

Default level

2: System level

Parameters

None

Description

Use rrpp enable to enable RRPP protocol.

Use undo rrpp enable 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.

After you enable enhanced IRF mode, the RRPP function is not supported. For more information about enhanced IRF mode, see IRF Configuration Guide.

Related commands: ring enable.

Examples

# Enable the RRPP protocol.

<Sysname> system-view

[Sysname] rrpp enable

rrpp ring-group

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: Specifies the RRPP ring group ID in the range of 1 to 8.

Description

Use rrpp ring-group to create an RRPP ring group and enter RRPP ring group view.

Use undo rrpp ring-group to delete an RRPP ring group.

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 might fail to receive Edge-Hello packets and mistakenly considers that the primary ring has failed.

After a ring group is removed, all subrings in the ring group do not belong to any ring group.

Related commands: domain ring and 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]

timer

Syntax

timer hello-timer hello-value fail-timer fail-value

undo timer

View

RRPP domain view

Default level

2: System level

Parameters

hello-value: Specifies the Hello timer value in the range of 1 to 10 seconds.

fail-value: Specifies the Fail timer value in the range of 3 to 30 seconds.

Description

Use timer to configure the Hello timer value and the Fail timer value for the RRPP domain.

Use undo timer to restore it to the default value.

By default, the Hello timer value is 1 second and the Fail timer value is 3 seconds.

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

timer fast-fail-timer

Syntax

timer fast-fail-timer fast-fail-value

undo timer fast-fail-timer

View

RRPP domain view

Default level

2: System level

Parameters

fast-fail-value: Specifies the Fast-Fail timer value in the range of 30 to 1500 milliseconds.

Description

Use timer fast-fail-timer to set the Fast-Fail timer value.

Use undo timer fast-fail-timer to restore the default.

By default, the Fast-Fail timer is six times the timer resolution (60 milliseconds).

The value of the Fast-Fail timer must be equal to or greater than three times that of the Fast-Hello timer.

Related command: timer fast-hello-timer.

Examples

# Set the Fast-Fail timer to 70 milliseconds for RRPP domain 1.

<Sysname> system-view

[Sysname] rrpp domain 1

[Sysname-rrpp-domain1] timer fast-fail-timer 70

timer fast-hello-timer

Syntax

timer fast-hello-timer fast-hello-value

undo timer fast-hello-timer

View

RRPP domain view

Default level

2: System level

Parameters

fast-hello-value: Specifies the Fast-Fail timer value in the range of 10 to 500 milliseconds.

Description

Use timer fast-hello-timer to set the Fast-Hello timer value.

Use undo timer fast-hello-timer to restore the default.

By default, the Fast-Hello timer is twice the timer resolution (20 milliseconds).

The value of the Fast-Hello timer must be less than or equal to one third of the Fast-Fail timer.

Related command: timer fast-fail-timer.

Examples

# Set the Fast-Hello timer to 20 milliseconds for RRPP domain 1.

<Sysname> system-view

[Sysname] rrpp domain 1

[Sysname-rrpp-domain1] timer fast-hello-timer 20

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网