H3C S9500 Command Manual-Release1648[v1.24]-01 IP Access Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release1648[v1.24]-01 IP Access Volume
16-RRPP Commands
Title Size Download
16-RRPP Commands 58.6 KB

Chapter 1  RRPP Configuration Commands

 

&  Note:

LSB1XP4CA0 and LSB1XP4B0 LPUs do not support RRPP.

 

1.1  RRPP Configuration Commands

1.1.1  control-vlan

Syntax

control-vlan vlan-id

View

RRPP domain view

Parameters

vlan-id: Control VLAN ID, in the range of 2 to 4094.

Description

Use the control-vlan command to specify the control VLAN for the RRPP domain. The control VLAN cannot be an existing VLAN.

Examples

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

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] control-vlan 100

 

&  Note:

Following types of VLAN cannot server as RRPP control VLAN: Super VLAN, Sub VLAN, Isolate-user-VLAN, Secondary VLAN, multicast VLAN, HGMP control VLAN, Guest VLAN, and L2VPN-enabled VLAN.

 

1.1.2  debugging rrpp

Syntax

debugging rrpp [ domain domain-id [ ring ring-id ] ] { error | event | packet [ edge-hello | fdb | health | link | major-fault ] | all }

undo debugging rrpp [ domain domain-id [ ring ring-id ] ] { error | event | packet [ edge-hello | fdb | health | link | major-fault ] | all }

View

User view

Parameters

domain-id: RRPP domain ID, in the range of 1 to 8.

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

error: Enables/disables debugging for RRPP errors.

event: Enables/disables debugging for RRPP events.

packet: Enables/disables debugging for RRPP packets.

all: Enables/disables all types of debugging, including error debugging, event debugging and packet debugging.

Description

Use the debugging rrpp command to enable debugging for RRPP.

Use the undo debugging rrpp command to disable debugging for RRPP.

You must use the terminal debugging command to enable debugging on the terminal before you can view the debugging information.

The error information in the debugging output includes packet error, packet transmission failure, and memory operation failure.

l           The event information in the debugging output includes:      On a master node: transit node link DOWN/UP event, events of sending COMPLETE-FLUSH-FDB and COMMON-FLUSH-FDB packets; ring network failure event, ring network recovery event and event of receiving invalid LINK-DOWN packet.

l           On a transit node: events of sending LINK-DOWN and LINK-UP packets, events of receiving COMPLETE-FLUSH-FDB and COMMON-FLUSH-FDB packets.

The packet information in the debugging output includes: HEALTH, COMPLETE-FLUSH-FDB, COMMON-FLUSH-FDB, LINK-UP, LINK-DOWN, EDGE-HELLO and MAJOR-FAULT.

Examples

# Enable error debugging for ring 10 in RRPP domain 1.

<H3C> debugging rrpp domain 1 ring 10 error

*0.243800726 H3C RRPP/1/10/PKTERR:Port 39: received HEALTH packet is err for invalid Level.

# Enable event debugging for RRPP domain 1.

<H3C> debugging rrpp domain 1 event

*0.2769951112 3500_1 RRPP/8/MEXS:Domain 1's Master Node 00e0-fc21-5eff enters MMS%FAIL state.

*0.2769951132 3500_1 RRPP/8/MEXS: Domain 1's Transit Node 00e0-fc21-5eff LINK DOWN.

# Enable packet debugging for RRPP domain 1.

<H3C> debugging rrpp domain 1 packet

*0.6729707 rrpp-c3 RRPP/8/RRPPPKT:

Domain1 ring1 :Port Ethernet9/1/1 Send Packet.(Length: 64, type: Health-check Packet.)

99 0b 00 40 01 05 00 01 00 01 00 00 00 e0 fc 56

52 9c 00 01 00 03 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 

 

*0.6730709 rrpp-c3 RRPP/8/RRPPPKT:

Domain1 ring1 :Port Ethernet9/1/1 Send Packet.(Length: 64, type: Health-check Packet.)

99 0b 00 40 01 05 00 01 00 01 00 00 00 e0 fc 56

52 9c 00 01 00 03 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

1.1.3  display rrpp brief

Syntax

display rrpp brief

View

Any view

Parameters

None

Description

Use the display rrpp brief command to display the brief information of all RRPP domains configured on the switch, including the RRPP enable state, RRPP domain configuration, and Ethernet rings in the domains.

Examples

# Display the brief information of the RRPP domains.

<H3C> display rrpp brief

Abbreviations for Switch Node Mode :

M - Master , T - Transit , E - Edge , A - Assistant-Edge

 

RRPP Protocol Status:  Enable

Number of RRPP Domains: 1

Domain Index  : 1

Control VLAN  : major 4093    sub 4094

Hello Timer   : 1  sec  Fail Timer : 3  sec

 Ring   Ring    Node     Primary/Common        Secondary/Edge        Is

 ID     Level   Mode     Port                  Port                  Enabled

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

 3      1       M        GigabitEthernet5/1/1  GigabitEthernet10/1/1 Yes

1.1.4  display rrpp statistics

Syntax

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

View

Any view

Parameters

domain-id: RRPP domain ID, in the range of 1 to 8.

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

Description

Use the display rrpp statistics command to display the RRPP packet statistics.

Examples

# Display the packet statistics of primary ring 10 in RRPP domain1 (the current switch is the master node of ring 10).

<H3C> display rrpp statistics domain 1 ring 10

 

RRPP Ring : 10

Ring Level : 0

Node Mode : Master

Is Enabled : Yes

Primary Port : Ethernet1/1/1

Packet               LINK    LINK    COMMON  COMPLETE  Packet

Direct   HEALTH      UP      DOWN    FDB     FDB       Total

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

Send     100         0       0       1       0         101

Receive  0           0       1       0       0         1

Primary Port : Ethernet1/1/2

Packet               LINK    LINK    COMMON  COMPLETE  Packet

Direct   HEALTH      UP      DOWN    FDB     FDB       Total

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

Send     0           0       0       1       0         1

Receive  60          0       1       0       0         61

# Display the packet statistics of subring 20 in RRPP domain1 (the current switch is an edge node of subring 20).

<H3C> display rrpp statistics domain 1 ring 20

 

RRPP Ring : 10

Ring Level : 0

Node Mode : Transit

Is Enabled : Yes

Primary Port : Ethernet1/1/1

Packet               LINK    LINK    COMMON  COMPLETE  Packet

Direct   HEALTH      UP      DOWN    FDB     FDB       Total

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

Send     100         0       0       1       0         101

Receive  0           0       1       0       0         1

Primary Port : Ethernet1/1/2

Packet               LINK    LINK    COMMON  COMPLETE  Packet

Direct   HEALTH      UP      DOWN    FDB     FDB       Total

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

Send     0           0       0       1       0         1

Receive  60          0       1       0       0         61

 

RRPP Ring : 20

Ring Level : 1

Node Mode : Edge

Is Enabled : No

Primary Port : Ethernet1/1/1

Packet               LINK    LINK    COMMON  COMPLETE  Packet

Direct   HEALTH      UP      DOWN    FDB     FDB       Total

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

Send     0           0       0       0       0         0

Receive  0           0       0       0       0         0

Primary Port : Ethernet1/1/3

Packet               LINK    LINK    COMMON  COMPLETE  Packet

Direct   HEALTH      UP      DOWN    FDB     FDB       Total

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

Send     0           0       0       0       0         0

Receive  0           0       0       0       0         0

1.1.5  display rrpp verbose

Syntax

display rrpp verbose domain domain-id [ ring ring-id ]

View

Any view

Parameters

domain-id: RRPP domain ID, in the range of 1 to 8.

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

Description

Use the display rrpp verbose command to display the RRPP configuration details on the switch. If you do not specify the RRPP ring ID, the command displays the details of all rings in the specified domain. Otherwise, the command displays the details of the specified ring.

Examples

# Display the details of primary ring 10 in RRPP domain 1 (the current switch is the master node in ring 10).

<H3C> display rrpp verbose domain 1 ring 10

Domain Index  : 1

Control VLAN  : major 4093    sub 4094

Hello Timer   : 2  sec  Fail Timer : 6  sec

RRPP Ring     : 10

Ring Level    : 0

Node Mode     : Master

Ring State    : Complete

Is Enabled    : Yes    Is Activated  : Yes

Primary port  : Ethernet9/1/1    Port status: UP

Secondary port: Ethernet9/1/3    Port status: BLOCKED

# Display the details of primary ring 10 in RRPP domain 1 (the current switch is the transit node in ring 10).

<H3C> display rrpp verbose domain 1 ring 10

Domain Index  : 1

Control VLAN  : major 4093    sub 4094

Hello Timer   : 2  sec  Fail Timer : 6  sec

RRPP Ring     : 10

Ring Level    : 0

Node Mode     : Transit

Ring State    : -

Is Enabled    : Yes    Is Activated  : Yes

Primary port  : Ethernet9/1/1    Port status: UP

Secondary port: Ethernet9/1/3    Port status: UP

# Display the details of subring 20 in RRPP domain 1 (the current switch is the transit node in subring 20).

<H3C> display rrpp verbose domain 1 ring 20

<H3C> display rrpp verbose domain 1 ring 20

Domain Index  : 1

Control VLAN  : major 4093    sub 4094

Hello Timer   : 2  sec  Fail Timer : 6  sec

 

RRPP Ring     : 20

Ring Level    : 1

Node Mode     : Transit

Ring State    : -

Is Enabled    : Yes    Is Activated  : Yes

Primary port  : Ethernet9/1/1    Port status: DOWN

Secondary port: Ethernet9/1/3    Port status: DOWN

# Display the details of subring 20 in RRPP domain 1 (the current switch is the edge node in subring 20).

<H3C> display rrpp verbose domain 1 ring 20

Domain Index  : 1

Control VLAN  : major 4093    sub 4094

Hello Timer   : 2  sec  Fail Timer : 6  sec

 

RRPP Ring     : 1

Ring Level    : 0

Node Mode     : Master

Ring State    : Failed

Is Enabled    : Yes    Is Activated  : Yes

Primary port  : Ethernet9/1/1    Port status: DOWN

Secondary port: Ethernet9/1/3    Port status: DOWN

 

RRPP Ring     : 20

Ring Level    : 1

Node Mode     : Edge

Ring State    : -

Is Enabled    : Yes    Is Activated  : Yes

Common port   : Ethernet9/1/1    Port status: DOWN

Edge port     : Ethernet9/1/11    Port status: DOWN

1.1.6  reset rrpp statistics

Syntax

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

View

User view

Parameters

domain-id: RRPP domain ID, in the range of 1 to 8.

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

Description

Use the reset rrpp statistics command to clear the statistics information of the specified RRPP domain.

If you specify the RRPP ring ID, the command clears the RRPP packet statistics information of the specified ring in the specified domain. Otherwise, the command clears the RRPP packet statistics information of all the rings in the specified domain.

Related commands: display rrpp statistics.

Examples

# Clear the packet statistics of ring 10 in RRPP domain 1 on the current switch.

<H3C> reset rrpp statistics domain 1 ring 10

# Clear the packet statistics of all rings in RRPP domain 1 on the current switch.

<H3C> reset rrpp statistics domain 1

1.1.7  ring enable

Syntax

ring ring-id enable

undo ring ring-id enable

View

RRPP domain view

Parameters

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

Description

Use the ring enable command to enable an RRPP ring on the current switch.

Use the undo ring enable command to disable an RRPP ring on the current switch.

To have an RRPP ring take effect on the current switch, you must enable both RRPP and the RRPP ring.

Related commands: rrpp enable.

Examples

# Enable Ethernet ring 10 on RRPP domain 1.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 10 enable

# Disable Ethernet ring 10 on RRPP domain 1.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] undo ring 10 enable

1.1.8  ring node-mode common-port edge-port

Syntax

ring ring-id node-mode { edge | assistant-edge } common-port { interface-type interface-number | link-aggregation agg-id } edge-port { interface-type interface-number | link-aggregation agg-id }

undo ring ring-id

View

RRPP domain view

Parameters

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

edge: Defines the current switch as the edge node on the Ethernet ring.

assistant-edge: Defines the current switch as the assistant edge node on the Ethernet ring.

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

link-aggregation: Specifies an aggregation group as an RRPP port of this node.

agg-id: ID of an aggregation group, ranging from 1 to 31. Only manual aggregation groups are supported.

Description

Use the ring node-mode common-port edge-port command to configure a single port or a manual aggregation group as a member port of an edge node or assistant edge node on an RRPP ring.

Use the undo ring command to remove the RRPP ring configuration.

The following describes the node roles and port roles used in this command:

1)         Node roles

Edge node: A node on both the primary ring and a subring. An edge node serves as a transit or master node on the primary ring and the edge node on a subring. In an RRPP domain, a subring has two edge nodes, one of which should be specified as the assistant edge node.

 

&  Note:

l      Before configuring a switch as an edge node, you must configure it as a transit or the master node on the primary ring.

l      In the same RRPP domain, different rings must have different ring IDs.

 

2)         Port roles

Of the two ports connecting an edge node to a subring, one is a common port and the other is an edge port. The common port connects the edge node to both the primary ring and the subring. The edge port only connects to the subring.

 

&  Note:

A smart link group member port cannot be configured as an RRPP port.

 

Examples

# Configure the current switch as the edge node on subring 1 in RRPP domain 1, with aggregation group 1 and 2 as the common and edge ports respectively.

<H3C>system-view

[H3C] rrpp domain 1

[H3C-RRPP-domain1] ring 1 node-mode edge common-port link-aggregation 1 edge-port link-aggregation 2

# Configure the current switch as the edge node on subring 20 in RRPP domain 1, with Ethernet 1/1/5 as the common port and Ethernet 1/1/10 as the edge port.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 20 node-mode edge common-port Ethernet 1/1/5 edge-port Ethernet 1/1/10

# Configure the current switch as the assistant edge node on subring 20 in RRPP domain 1, with Ethernet 1/1/6 as the common port and Ethernet 1/1/11 as the edge port.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 20 node-mode assistant-edge common-port Ethernet 1/1/6 edge-port Ethernet 1/1/11

# Remove the RRPP ring node and port configuration on the current switch for RRPP ring 10.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] undo ring 10 enable

[H3C-rrpp-domain1] undo ring 10

1.1.9  ring node-mode primary-port secondary-port

Syntax

ring ring-id node-mode { master | transit } primary-port { interface-type interface-number | link-aggregation agg-id } secondary-port { interface-type interface-number | link-aggregation agg-id } level level-value

undo ring ring-id

View

RRPP domain view

Parameters

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

master: Defines the current switch as the master node on the Ethernet ring.

transit: Defines the current switch as the transit node on the Ethernet ring.

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

link-aggregation: Specifies an aggregation group as an RRPP port of this node.

agg-id: ID of an aggregation group, ranging from 1 to 31. Only manual aggregation groups are supported.

level-value: Level of the RRPP ring, which can be 0 (for primary ring) and 1 (for subring).

Description

Use the ring node-mode primary-port secondary-port command to configure a single port or a manual aggregation group as a member port of the master node or transit node on a RRPP ring.

Use the undo ring command to remove the RRPP ring configuration.

The following describes the node roles and port roles used in this command:

1)         Node roles

l           Master node: The node that initiates ring test and prevents data loops. Each ring has one and only one master node.

l           Transit node: Nodes on a ring other than the master node are all transit nodes.

2)         Port roles

Among the two ports that connect the master node or a transit node to an Ethernet ring, one is the primary port and the other is the secondary port. The port roles are determined by your configuration.

l           The primary and secondary ports on the master node

The master node uses the primary port to transmit ring test packets, and uses the secondary port to receive ring test packets.

When an Ethernet ring is in the healthy state, the secondary port of the master node allows only control-VLAN packets to pass and blocks data VLAN packets.

When an Ethernet ring is in the broken state, the secondary port of the master node unblocks and allows data-VLAN packets to pass.

l           The primary and secondary ports on a transit node are functionally the same.

 

&  Note:

A smart link member port cannot be configured as an RRPP port.

 

Examples

# Configure the current switch as the master node on primary ring 1 in RRPP domain 1, with aggregation group 1 and 2 as the primary and secondary ports respectively.

<H3C> system-view

[H3C] rrpp domain 1

[H3C -RRPP-domain1] ring 1 node-mode master primary-port link-aggregation 1 secondary-port link-aggregation 2 level 0

# Configure the current switch as the master node on primary ring 10 in RRPP domain 1, with Ethernet1/1/5 as the primary port and Ethernet 1/1/6 as the secondary port.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 10 node-mode master primary-port Ethernet1/1/5 secondary-port Ethernet 1/1/6 level 0

# Configure the current switch as the transit node on primary ring 10 in RRPP domain 1, with Ethernet1/1/5 as the primary port and Ethernet 1/1/6 as the secondary port.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 10 node-mode transit primary-port Ethernet1/1/5 secondary-port Ethernet 1/1/6 level 0

# Configure the current switch as the master node on subring 20 in RRPP domain 1, with Ethernet 1/1/10 as the primary port and Ethernet 1/1/11 as the secondary port.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 20 node-mode master primary-port Ethernet 1/1/10 secondary-port Ethernet 1/1/11 level 1

# Configure the current switch as a transit node on subring 20 in RRPP domain 1, with Ethernet 1/1/10 as the primary port and Ethernet 1/1/11 as the secondary port.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] ring 20 node-mode transit primary-port Ethernet 1/1/10 secondary-port Ethernet 1/1/11 level 1

1.1.10  rrpp domain

Syntax

rrpp domain domain-id

undo rrpp domain domain-id

View

System view

Parameters

domain-id: RRPP domain ID, in the range of 1 to 8.

Description

Use the rrpp domain command to create an RRPP domain and enter RRPP domain view.

Use the undo rrpp domain command to delete an RRPP domain.

Before deleting an RRPP domain, make sure that no RRPP ring exists in the domain. Otherwise, the deletion operation will fail.

Examples

# Create RRPP domain 1.

<H3C> system-view

[H3C] rrpp domain 1

New domain created.

[H3C-rrpp-domain1]

# Delete RRPP domain 1.

<H3C> system-view

[H3C] undo rrpp domain 1

1.1.11  rrpp enable

Syntax

rrpp enable

undo rrpp enable

View

System view

Parameters

None

Description

Use the rrpp enable command to enable the RRPP protocol on the current switch.

Use the undo rrpp enable command to disable the RRPP protocol on the current switch.

To enable an RRPP ring for the current switch, you must enable both RRPP protocol and RRPP ring.

Related commands: ring enable.

Examples

# Enable the RRPP protocol.

<H3C> system-view

[H3C] rrpp enable

# Disable the RRPP protocol.

<H3C> system-view

[H3C] undo rrpp enable

1.1.12  srpt-check ring enable

Syntax

srpt-check ring ring-id enable

undo srpt-check ring ring-id enable

View

RRPP domain view

Parameters

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

Description

Use the srpt-check ring enable command to enable SRPT checking for the specified subring.

Use the undo srpt-check ring enable command to disable SRPT checking for the specified subring.

Note that the state of SRPT checking is the same on the edge node and assistant-edge node. Therefore, make sure that the assistant-edge node and edge node are consistent in configuration before configuring SRPT checking.

By default, SRPT checking is disabled.

Examples

# Disable SRPT checking on subring 2 of RRPP domain 1.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] rrpp domain 1

[H3C-rrpp-domain1] undo srpt ring 2 enable

1.1.13  timer

Syntax

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

undo timer

View

RRPP domain view

Parameters

hello-value: Time interval in seconds at which the primary port of the master node sends the health detection packet. The default value is 1.

fail-value: Timeout time in seconds at which the secondary port of the master node receives the health detection packet. The default value is 8.

Description

Use the timer command to configure the time values of the Hello timer and Fail timer in the RRPP domain.

Use the undo timer command to restore the default time values.

The Fail timer value cannot be less than three times the Hello timer value.

Examples

# Set the time interval at which the primary port of the master node in RRPP domain 1 sends the health detection packet to 2 seconds, and set the timeout time for the secondary port of the master node in the RRPP domain 1 to receive health detection packets to 7 seconds.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] timer hello-timer 2 fail-timer 7

# Restore the default timer values for RRPP domain 1.

<H3C> system-view

[H3C] rrpp domain 1

[H3C-rrpp-domain1] undo timer

  • 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
新华三官网