- Table of Contents
-
- H3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)
- 00-1Cover
- 01-CLI Commands
- 02-Login Commands
- 03-Configuration File Management Commands
- 04-VLAN Commands
- 05-Extended VLAN Application Commands
- 06-IP Address-IP Performance-IPX Commands
- 07-GVRP Commands
- 08-QinQ Commands
- 09-Port Basic Configuration Commands
- 10-Link Aggregation Commands
- 11-Port Isolation Commands
- 12-Port Binding Commands
- 13-DLDP Commands
- 14-MAC Address Table Commands
- 15-MSTP Commands
- 16-Routing Protocol Commands
- 17-Multicast Commands
- 18-802.1x Commands
- 19-AAA-RADIUS-HWTACACS-EAD Commands
- 20-Traffic Accounting Commands
- 21-VRRP-HA Commands
- 22-ARP Commands
- 23-DHCP Commands
- 24-ACL Commands
- 25-QoS Commands
- 26-Mirroring Commands
- 27-Cluster Commands
- 28-PoE Commands
- 29-UDP-Helper Commands
- 30-SNMP-RMON Commands
- 31-NTP Commands
- 32-SSH Terminal Service Commands
- 33-File System Management Commands
- 34-FTP and TFTP Commands
- 35-Information Center Commands
- 36-DNS Commands
- 37-System Maintenance and Debugging Commands
- 38-HWPing Commands
- 39-RRPP Commands
- 40-NAT-Netstream-Policy Routing Commands
- 41-Telnet Protection Commands
- 42-Hardware-Dependent Software Configuration Commands
- 43-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
39-RRPP Commands | 71 KB |
Chapter 1 RRPP Configuration Commands
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 4093.
Description
Use the control-vlan command to specify the control VLAN for the RRPP domain.
You can configure the control VLAN of the primary ring. The control VLAN of the subring is assigned by the system automatically. The ID of the subring control VLAN is the ID of the primary ring control VLAN plus 1.
Caution:
l The control VLAN of an RRPP domain cannot be a static VLAN already created on the switch. If you configure a dynamic VLAN as the control VLAN of an RRPP domain, the VLAN becomes a static VLAN automatically.
l You are not recommended to configure a VLAN as both an RRPP control VLAN and a remote-probe VLAN. (Refer to Mirroring part of this manual for information about remote-probe VLAN.)
l You are not recommended to configure a VLAN as both an RRPP control VLAN and an isolate-user-VLAN/sub VLAN. (Refer to Extended VLAN Application part of this manual for information about isolate-user-VLAN and sub VLAN.)
Examples
# Configure VLAN 100 as the control VLAN of RRPP domain 1.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] control-vlan 100
1.1.2 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.
Abbreviations for Switch Node Mode :
M - Master , T - Transit , E - Edge , A - Assistant-Edge
RRPP Protocol Status : Enabled
Number of RRPP Domains : 2
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
-------------------------------------------------------------------------
1 0 M GigabitEthernet 2/0/1 GigabitEthernet 2/0/2 Yes
Domain Index : 2
Control Vlan : major 2003 sub 2004
Hello Timer : 1 sec Fail Timer : 3 sec
Ring Ring Node Primary/Common Secondary/Edge Is
ID Level Mode Port Port Enabled
----------------------------------------------------------------------
1 0 T GigabitEthernet 2/0/11 GigabitEthernet 2/0/12 No
1.1.3 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 Activated : No
Primary port : -
Packet LINK LINK COMMON COMPLETE Packet
Direct HEALTH UP DOWN FDB FDB Total
-------------------------------------------------------------------------
Send 0 0 0 0 0 0
Rcv 0 0 0 0 0 0
Secondary port: -
Packet LINK LINK COMMON COMPLETE Packet
Direct HEALTH UP DOWN FDB FDB Total
-------------------------------------------------------------------------
Send 0 0 0 0 0 0
Rcv 0 0 0 0 0 0
# Display the packet statistics of secondary ring 20 in RRPP domain1 (the current switch is an edge node of secondary ring 20).
<H3C> display rrpp statistics domain 1 ring 20
RRPP Ring : 20
Ring Level : 1
Node Mode : Edge
Is Activated : No
Primary port : -
Packet LINK LINK COMMON COMPLETE Packet
Direct HEALTH UP DOWN FDB FDB Total
-------------------------------------------------------------------------
Send 0 0 0 0 0 0
Rcv 0 0 0 0 0 0
Secondary port: -
Packet LINK LINK COMMON COMPLETE Packet
Direct HEALTH UP DOWN FDB FDB Total
-------------------------------------------------------------------------
Send 0 0 0 0 0 0
Rcv 0 0 0 0 0 0
1.1.4 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 2003 sub 2004
Hello Timer : 1 sec Fail Timer : 3 sec
RRPP Ring : 10
Ring Level : 0
Node Mode : Master
Ring State : -
Is Enabled : No Is Activated : No
Primary port : - Port status: -
Secondary port: - Port status: -
# 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 2003 sub 2004
Hello Timer : 1 sec Fail Timer : 3 sec
RRPP Ring : 10
Ring Level : 0
Node Mode : Transit
Ring State : -
Is Enabled : No Is Activated : No
Primary port : - Port status: -
Secondary port: - Port status: -
# Display the details of secondary ring 20 in RRPP domain 1 (the current switch is the transit node in secondary ring 20).
<H3C> display rrpp verbose domain 1 ring 20
Domain Index : 1
Control VLAN : major 2003 sub 2004
Hello Timer : 1 sec Fail Timer : 3 sec
RRPP Ring : 20
Ring Level : 1
Node Mode : Transit
Ring State : -
Is Enabled : No Is Activated : No
Primary port : - Port status: -
Secondary port: - Port status: -
# Display the details of secondary ring 20 in RRPP domain 1 (the current switch is the edge node in secondary ring 20).
<H3C> display rrpp verbose domain 1 ring 20
Domain Index : 1
Control VLAN : major 2003 sub 2004
Hello Timer : 1 sec Fail Timer : 3 sec
RRPP Ring : 20
Ring Level : 1
Node Mode : Edge
Ring State : -
Is Enabled : No Is Activated : No
Common port : - Port status: -
Edge port : - Port status: -
1.1.5 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.6 ring
Syntax
ring ring-id node-mode { master | transit } [ primary-port pri-port ] [ secondary-port sec-port ] level level-value
ring ring-id node-mode { edge | assistant-edge } [ common-port comm-port ] [ edge-port edge-port ]
undo ring ring-id
View
RRPP domain view
Parameters
ring-id: Ethernet ring network ID, in the range of 1 to 64.
master: Defines the current switch as the master node on the Ethernet ring network.
transit: Defines the current switch as the transit node on the Ethernet ring network.
primary-port pri-port: Specifies a primary port.
secondary-port sec-port: Specifies a secondary port.
level-value: RRPP ring level, 0 for primary ring and 1 for secondary ring.
edge: Specifies the current switch as an edge node on the Ethernet ring network.
assistant-edge: Specifies the current switch as an assistant edge node on the Ethernet ring network.
common-port comm-port: Specifies a common port.
edge-port edge-port: Specifies an edge port.
Description
Use the ring command to configure the node role for the current switch and the port role for the port connecting to the Ethernet ring.
Use the undo ring command to remove the role configuration.
For an edge node or an assistant edge node, make sure you have removed the secondary ring configuration before removing the primary ring configuration.
I. Node roles
l Master node: The node that initiates loop detection 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.
l Edge node: A node on the primary ring and a secondary ring at the same time is an edge node. An edge node serves as a transit node on a primary ring and an edge node on a secondary ring. In an RRPP domain, a secondary ring has two edge nodes. You must specify one of them as an assistant edge node.
& Note:
In the same RRPP domain, different rings must have different Ring IDs.
II. Port roles
Of the two ports that connect the master node and a transit node to an Ethernet ring, one is the primary port and the other the secondary port. The port roles are determined by user configuration.
l The primary port and secondary port of the master node
The primary port of the master node transmits the loop detection packet, and the secondary port of the master node receives the loop detection packet.
When an Ethernet ring is in the healthy state, the secondary port of the master node allows only packets of control VLAN to pass, but logically blocks packets of data VLAN.
When the Ethernet ring is in the broken state, the secondary port of the master node stops blocking the data VLAN and begins to forward packets of data VLAN.
l The primary and secondary ports on a transit node are functionally the same.
l Of the two ports connecting an edge node to a subring, one is the common port and the other is the edge port of the node. The common port connects the edge node to the primary ring and a subring at the same time. An edge port is connected only with a subring.
Examples
# Configure the current switch as the master node on primary ring 10 in RRPP domain 1, GigabitEthernet 2/0/5 as the primary port, and GigabitEthernet 2/0/6 as the secondary port.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] ring 10 node-mode master primary-port GigabitEthernet 2/0/5 secondary-port GigabitEthernet 2/0/6 level 0
# Configure the current switch as the transit node on primary ring 10 in RRPP domain 1, GigabitEthernet 2/0/5 as the primary port, and GigabitEthernet 2/0/6 as the secondary port.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] ring 10 node-mode transit primary-port GigabitEthernet 2/0/5 secondary-port GigabitEthernet 2/0/6 level 0
# Configure the current switch as the master node on secondary ring 20 in RRPP domain 1, GigabitEthernet 2/0/10 as the primary port, and GigabitEthernet 2/0/11 as the secondary port.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] ring 20 node-mode master primary-port GigabitEthernet 2/0/10 secondary-port GigabitEthernet 2/0/11 level 1
# Configure the current switch as a transit node on secondary ring 20 in RRPP domain 1, GigabitEthernet 2/0/10 as the primary port, and GigabitEthernet 2/0/11 port as the secondary port.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] ring 20 node-mode transit primary-port GigabitEthernet 2/0/10 secondary-port GigabitEthernet 2/0/11 level 1
# Configure the current switch as an edge node on secondary ring 20 in RRPP domain 1, GigabitEthernet 2/0/5 as the common port, and GigabitEthernet 2/0/10 as the edge port.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] ring 20 node-mode edge common-port GigabitEthernet 2/0/5 edge-port GigabitEthernet 2/0/10
# Configure the current switch as an assistant edge node on secondary ring 20 in RRPP domain 1, GigabitEthernet 2/0/6 as a common port, and GigabitEthernet 2/0/11 as an edge port.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] ring 20 node-mode assistant-edge common-port GigabitEthernet 2/0/6 edge-port GigabitEthernet 2/0/11
# Remove the node role configured for the current switch on RRPP ring 10, and the role configured for the port connecting to the Ethernet ring.
<H3C> system-view
[H3C] rrpp domain 1
[H3C-rrpp-domain1] undo ring 10 enable
[H3C-rrpp-domain1] undo ring 10
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 for the current switch.
Use the undo ring enable command to disable an RRPP ring on the current switch.
To enable the RRPP domain of the current switch, you must enable RRPP and the RRPP ring at the same time.
RRPP and STP are mutually exclusive on the port to prevent the possible conflict when the RRPP and STP calculate the blocked/unblocked status of the port.
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 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
[H3C-rrpp-domain1]
# Delete RRPP domain 1.
<H3C> system-view
[H3C] undo rrpp domain 1
1.1.9 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 of the current switch, you must enable RRPP and the RRPP ring at the same time.
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.10 timer
Syntax
timer hello-timer hello-value fail-timer fail-value
undo timer
View
RRPP domain view
Parameters
hello-value: Time interval, at which the primary port of the master node sends the health detection packet, in the range of 1 to 10, in seconds. The default value is 1 second.
fail-value: Timeout time, at which the secondary port of the master node receives the health detection packet, in the range of 3 to 30, in seconds. The default value is 3 seconds.
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