01-Access Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)01-Access Volume
17-RRPP Commands
Title Size Download
17-RRPP Commands 88.25 KB

RRPP Configuration Commands

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: Control VLAN ID, in the range 2 to 4093.

Description

Use the control-vlan command to specify a control VLAN for an RRPP domain.

Use the undo control-vlan command to remove the control VLAN configured for an RRPP domain.

Note that:

l          The control VLAN must be a new one.

l          You need only configure a control VLAN for the primary ring. However, the control VLAN of a subring is assigned automatically by the system and its VLAN ID is the control VLAN ID of the primary ring plus 1. So, you should select two consecutive new VLANs. Otherwise, the configuration fails.

l          Before configuring rings for an RRPP domain, make sure the RRPP domain is configured with a control VLAN.

l          Before configuring RRPP rings for an RRPP domain, you can delete or modify the control VLAN configured for the RRPP domain. However, after configuring RRPP rings for an RRPP domain, you cannot delete or modify the control VLAN of the domain.

l          Deleting an RRPP domain deletes its control VLAN at the same time.

l          You cannot use the undo vlan all command to delete a control VLAN.

l          Do not enable QinQ or VLAN mapping on the control VLAN. Otherwise, RRPPDUs cannot be forwarded properly.

Related commands: rrpp domain, protected-vlan.

Examples

# Configure the control VLAN of RRPP domain 1 as VLAN 100.

<Sysname> system-view

[Sysname] rrpp domain 1

[Sysname-rrpp-domain1] control-vlan 100

display rrpp brief

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 information of RRPP configuration.

Examples

# Display the brief information of RRPP configuration.

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

 Ring   Ring    Node     Primary/Common        Secondary/Edge        Enable

 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-1 display rrpp brief command output description

Field

Description

Flags for Node Mode

RRPP node mode: M represents master node, T represents transit node, E represents edge node and A represents 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 an 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 configured in seconds

Fail Timer

Fail Timer value configured in seconds

Ring ID

RRPP ring ID

Ring Level

RRPP ring level, with 0 representing primary ring and 1 representing 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; “-“ 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; “-“ 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 indicates enabled and No indicates disabled.

 

display rrpp ring-group

Syntax

display rrpp ring-group [ ring-group-id ]

View

Any view

Default Level

1: Monitor Level

Parameters

ring-group-id: Ring group ID, in the range 1 to 8.

Description

Use the display rrpp ring-group command to display the ring group configuration. If no ring group ID is specified, the configuration of all ring groups is displayed. For an edge node ring group, the subring sending Edge-Hello packets is also displayed.

Related commands: domain ring.

Examples

# Display the ring group configuration.

<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 send Edge-Hello packet

 

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 xx

RRPP ring group ID

domain xx ring xx

Subrings in the ring group

domain xx ring xx send Edge-Hello packet

The subring sending Edge-Hello packets in the ring group

 

display rrpp statistics

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 RRPP message statistics.

Note that:

l          If you have specified an RRPP ring ID in the command, RRPP message statistics of the specified RRPP ring in the specified RRPP domain on the current device appears. Otherwise, RRPP message statistics of all RRPP rings in the specified RRPP domain appears.

l          If some port belongs to more than one ring, its packets are taken statistics based on the rings. You will view the statistics of the port under the current ring. 

l          When a ring transits from inactive status into active status, its packets will be counted again..

Related commands: reset rrpp statistics.

Examples

# Display RRPP message statistics of 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

 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     0

 Rcv    16378       0           0           1         0     0     16379

# Display RRPP message statistics of 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/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: 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    16878       0           0           1         0     0     16879

 

Ring ID       : 2

Ring Level    : 1

Node Mode     : Edge

Active Status : No

Common port   : GigabitEthernet3/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   : 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 1-3 display rrpp statistics command output description

Field

Description

Ring ID

RRPP ring ID

Ring Level

RRPP ring level: 0 for primary ring and 1 for subring

Node Mode

Node mode: master node, transit node, edge node and assistant edge node

Active Status

RRPP ring activation status: Yes indicates active and No indicates inactive (An RRPP is active only if the RRPP ring is enabled and the RRPP protocol is globally enabled)

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.

 

display rrpp verbose

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 information about RRPP configuraiton.

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  : 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

 

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 1-4 display rrpp verbose command output description

Field

Description

Domain ID

RRPP domain ID

Control VLAN

Control VLANs of the RRPP domain, including major control VLAN and sub 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 configured in seconds

Fail Timer

Fail Timer value configured in seconds

Ring ID

RRPP ring ID

Ring Level

RRPP ring level, with 0 representing primary ring and 1 representing subring

Node Mode

Node mode: master node, transit node, edge node and assistant edge node

Ring State

RRPP ring state. This field makes sense only when the node mode field is master node. “Complete” appears when the ring is in health state; “Failed” appears when the ring is in disconnect sate; and “–” appears in all the other cases.

Enable Status

RRPP ring enable status: Yes indicates enabled and No indicates disabled

Active Status

RRPP ring activation status: Yes indicates active and No indicates inactive

The current ring is active only when the RRPP protocol and the RRPP ring are enabled simultaneously. Through this field, you can get to know the enable status of the RRPP protocol.

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

 

domain ring

Syntax

domain domain-id ring ring-id-list

undo domain domain-id [ ring ring-id-list ]

View

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 a ring group.

Use the undo domain ring command to remove the specified subring(s) from a ring group. If no subring ID list is specified, all subrings in the ring group are removed in the specified domain.

Note that:

l          You can configure ring groups only on edge nodes or assistant-edge nodes.

l          A subring can be assigned to only one ring group.

l          A device must be of the same type, an edge node or an assistant-edge node, in the subrings in a ring group.

l          To assign an activated ring to a ring group, first assign the ring to the assistant-edge node ring group and then to the edge node ring group.

l          To remove an activated ring from a ring group, first remove the ring from the edge node ring group and then from the assistant-edge node ring group.

l          The subrings in a ring group must have the same link in the primary ring. Otherwise, the ring group cannot function properly.

l          An edge node ring group and its corresponding assistant-edge node ring group must be the same in configurations and activation status.

Related commands: rrpp ring-group, display rrpp ring-group.

Examples

# Configure subrings for 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

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 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. You can use the display stp region-configuration command to check the VLANs corresponding to the specified MSTIs.

Use the undo protected-vlan command to remove the 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          Before configuring rings for an RRPP domain, you must configure protected VLANs for the domain first.

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          Deleting an RRPP domain deletes its protected VLANs at the same time.

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.

l          All the VLANs permitted to pass through RRPP ports must be configured as protected VLANs of the RRPP domain.

l          To be compatible with old-version RRPP, which does not support protected VLAN configuration, an RRPP domain protects all VLANs on a device started with an old-version configuration file.

Related commands: rrpp domain, control-vlan, display stp region-configuration in MSTP Configuration Commands in the Access Volume.

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

reset rrpp statistics

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 RRPP message statistics.

If you have specified an RRPP ring ID in the command, RRPP message statistics of the specified RRPP ring in the specified RRPP domain on the current device is cleared. Otherwise, RRPP message statistics of all RRPP rings in the specified RRPP domain is cleared.

Related commands: display rrpp statistics.

Examples

# Clear the RRPP message statistics of ring 10 in RRPP domain 10.

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

secondary-port: Specifies the port as a secondary port.

interface-type interface-number: Port type and port number.

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 port as an edge port.

Description

Use the ring command to configure the node mode of the device and the role of the port accessing the RRPP ring.

Use the undo ring command to remove the configuration.

Ports connected to an RRPP ring must conform to the following conditions:

l          The link type of these ports must be trunk.

l          They must be Layer 2 Ethernet ports, Layer 2 GE ports or Layer 2 aggregate ports.

l          They must not be member ports of any aggregation group, service loopback group, or smart link group.

l          STP, 802.1x, MAC address authentication and Voice VLAN are all disabled on them.

Note that:

l          RRPP ports cannot be configured if the RRPP ring is enabled.

l          Make sure the control VLAN exists before configuring the RRPP ring.

l          Before configuring rings for an RRPP domain, configure the protected VLANs for the RRPP domain first.

l          You must first configure the primary ring and then the subring when configuring an RRPP domain. A ring ID cannot be applied to more than one RRPP ring in the same RRPP domain.

l          If a device resides on multiple RRPP rings in an RRPP domain, only one primary ring exists within these rings. The device plays a role of either edge node or assistant edge node on other subrings.

l          Modifying the node mode, port mode and ring level of an RRPP ring is prohibited after configuration. If needed, you must first delete the existing configuration.

l          You must configure the primary ring and then subrings when you configure the edge node and the assistant edge node.

l          Moreover, you must remove all subring configurations before deleting the primary ring configuration of the edge node and the assistant edge node. However, the enabled RRPP ring cannot be deleted.

Related command: control-vlan, protected-vlan, and 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 gigabitethernet 3/0/1 secondary-port gigabitethernet 3/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 gigabitethernet 3/0/1 secondary-port gigabitethernet 3/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 gigabitethernet 3/0/1 secondary-port gigabitethernet 3/0/2 level 1

# Specify the device as the edge node of primary ring 20 in RRPP domain 1, and GigabitEthernet 3/0/1 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 20 node-mode edge edge-port gigabitethernet 3/0/1

# Specify the device as the assistant edge node of primary ring 20 in RRPP domain 1, and GigabitEthernet 3/0/1 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 20 node-mode assistant-edge edge-port gigabitethernet 3/0/1

ring enable

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.

Note that:

l          To enable subrings, you must first enable the primary ring before enabling subrings.

l          You must first disable all the subrings in the RRPP domain and then disable the primary ring.

l          To activate the RRPP domain, RRPP protocol and the RRPP ring must be enabled simultaneously.

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: 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, the control VLAN of it will be deleted at the same time.

l          When you delete an RRPP domain, you must ensure it has no RRPP ring.

Related commands: control-vlan, ring, ring enable, rrpp enable, timer.

Examples

# Create RRPP domain 1.

<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 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, RRPP protocol and the RRPP ring must be enabled simultaneously.

Related commands: ring enable.

Examples

# Enable 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: Ring group ID, in the range 1 to 8.

Description

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

Use the undo rrpp ring-group command to delete an RRPP ring group. After removing a ring group, all subrings in the ring group do not belong to any ring group.

Note that:

l          The subrings assigned to the same ring group must have the same edge node. Similarly, they must have the same assistant-edge node. Additionally, these subrings must have the same link in the primary ring.

l          As an edge node ring group and an assistant-edge node group are configured on different devices. If the two groups are configured with different subrings, the ring group function fails.

l          To remove a ring group, remove the edge node ring group, and then the corresponding assistant-edge node ring group.

l          RRPP configured with ring groups cannot interoperate with RRPP that does not support ring group configuration.

Related commands: domain ring, display rrpp ring-group.

Examples

# Create 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: 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 specify the value of the timers of 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

 

  • 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 Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网