- Table of Contents
-
- H3C S9500 Command Manual-Release2132[V2.03]-01 IP Access Volume
- 00-1Cover
- 01-Ethernet Interface Commands
- 02-POS Interface Commands
- 03-GVRP Commands
- 04-Link Aggregation Commands
- 05-Port Mirroring Commands
- 06-RPR Commands
- 07-Ethernet OAM Commands
- 08-MSTP Commands
- 09-VLAN Commands
- 10-QinQ Commands
- 11-BPDU Tunneling Commands
- 12-Port Isolation Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
06-RPR Commands | 128.77 KB |
Chapter 1 RPR Configuration Commands
1.1 RPR Configuration Commands
1.1.4 debugging rpr sub-module
1.1.13 display rpr tunnel vlan
1.1.25 rpr tunnel vlan dest-mac
1.1.27 reset rpr protection statistics
Chapter 1 RPR Configuration Commands
1.1 RPR Configuration Commands
1.1.1 debugging rpr
Syntax
debugging rpr { all | function }
undo debugging rpr { all | function }
View
User view
Default Level
2: System level
Parameters
all: All types of RPR debugging.
function: Debugging for RPR function information.
Description
Use the debugging rpr command to enable the specified type of RPR debugging.
Use the undo debugging rpr command to disable the specified type of RPR debugging.
By default, all types of RPR debugging are disabled.
Examples
# Enable debugging for RPR.
<Sysname> debugging rpr all
1.1.2 debugging rpr interface
Syntax
debugging rpr interface interface-type interface-number
undo debugging rpr interface [ interface-type interface-number ]
View
User view
Default Level
2: System level
Parameters
interface-type: Type of the RPR interface.
interface-number: Number of the RPR interface.
Description
Use the debugging rpr interface command to enable debugging for the RPR interface.
Use the undo debugging rpr interface command to disable the debugging.
By default, debugging for the RPR interface is disabled.
Examples
# Enable debugging for the RPR logical interface Ten-GigabitEthernet 1/1/1.
<Sysname> debugging rpr interface Ten-GigabitEthernet 1/1/1
1.1.3 debugging rpr packet
Syntax
debugging rpr packet { all | { atd | echo } { rx | tx } | { tc | tp } { rx | tx | burst } }
undo debugging rpr packet { all | { atd | echo } { rx | tx } | { tc | tp } { rx | tx | burst } }
View
User view
Default Level
2: System level
Parameters
all: Debugging for all RPR packets.
atd: Debugging for RPR ATD packets.
echo: Debugging for RPR Echo packets.
tc: Debugging for RPR TC packets.
tp: Debugging for RPR TP packets.
rx: Debugging for the received packets.
tx: Debugging for the sent packets.
burst: Debugging for all sub-modules.
Description
Use the debugging rpr packet command to enable debugging for RPR packets of a specific type or all types.
Use the undo debugging rpr packet command to disable the debugging.
By default, debugging for RPR packets is disabled.
Examples
# Enable debugging for all RPR packets.
<sysname> debugging rpr packet all
1.1.4 debugging rpr sub-module
Syntax
debugging rpr { error | event } sub-module { all | common | echo | fairness | if | ip | link | mac-table | protect | ring-select | timer | topology | vlan-tunnel | vrrp }
undo debugging rpr { error | event } sub-module { all | common | echo | fairness | if | ip | link | mac-table | protect | ring-select | timer | topology | vlan-tunnel | vrrp }
View
User view
Default Level
2: System level
Parameters
error: Debugging for RPR error information .
event: Debugging for RPR event information
sub-module: Debugging for a specific sub-module.
all: Debugging for all sub-modules.
common: Debugging for common modules.
echo: Debugging for echo sub-modules.
fairness: Debugging for fairness sub-modules.
if: Debugging for interface sub-modules.
ip: Debugging for IP sub-modules.
link: Debugging for link layer sub-modules.
mac-table: Debugging for MAC address table sub-modules.
protect: Debugging for protection sub-modules.
ring-select: Debugging for ring selection sub-modules.
timer: Debugging for timer sub-modules.
topology: Debugging for topology sub-modules.
vlan-tunnel: Debugging for sub-module of VLAN tunnel.
vrrp: Debugging for sub-module of VRRP.
Description
Use the debugging rpr command to enable debugging for RPR error/event information for a sub-module or all modules.
Use the undo debugging rpr sub-module command to disable the debugging.
By default, the debugging is disabled.
Examples
# Enable debugging for RPR errors of all the sub-modules.
<Sysname> debugging rpr error sub-module all
1.1.5 display interface
Syntax
display interface { RPRXGE | RPRPOS } interface-number
View
Any view
Default Level
1: Monitor level
Parameters
RPRXGE: Displays RPRXGE port information.
RPRPOS: Displays RPRPOS port information.
interface-number: Port number.
Description
Use the display interface command to display information about the specified RPR physical port.
Examples
# Display information about RPRPOS 4/1/2.
<Sysname> display interface rprpos 4/1/2
RPRPOS4/1/2 current state: UP
Line protocol current state: UP
Description: RPRPOS4/1/2 Interface
The Maximum Transmit Unit is 1552
Optical module state: RPR_PHYPOS_CONNECTOR
SDH alarm:
section layer:
line layer:
path layer:
SDH Overhead C2 J0 J1
Rx 0x16
Tx 0x16
SDH Threshold: sdber: 10e-5 sfber: 10e-3
SDH error:
section layer: B1 7
line layer: B2 1520
M1 31132
path layer: B3 5
G1 2
Host receive Packets Bytes
unicast 0 0
multicast 172 11352
Line receive Packets Bytes
unicast 0 0
multicast 173 12110
Host send Packets Bytes
unicast 0 0
multicast 0 0
Line send Packets Bytes
unicast 0 0
multicast 0 0
Input Errors
parity 0 short 0 crc 0 ringiderr 0
Output Errors
parity 0 short 0 giant 0 fifo 0
Control Frame In Out
Oam 0 0
Atd 851 845
Tc 8518 8456
Tp 4 8524
Mode Packets Bytes
TtlDrop 8521 --
TxFlood 0 0
RxFlood 173 12110
Last 300 second Host input: 0 packets/sec 104 bits/sec 0%
Last 300 second Line input: 0 packets/sec 112 bits/sec 0%
Last 300 second Host output: 0 packets/sec 0 bits/sec 0%
Last 300 second Line output: 0 packets/sec 0 bits/sec 0%
1.1.6 display rpr defect
Syntax
display rpr defect [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an RPR logical interface by its type and number.
Description
Use the display rpr defect command to display RPR error information.
If an RPR interface is specified, only the RPR defect information of the RPR station corresponding to the specified interface is displayed. If no interface is specified, the RPR defect information of the corresponding stations of all the RPR logical interfaces on your device is displayed.
Examples
# Display the ring defect information for interface Ten-GigabitEthernet 1/1/1.
<Sysname> display rpr defect Ten-GigabitEthernet 1/1/1
Rpr defects of the interface: Ten-GigabitEthernet 1/1/1
Amount of reserved bandwidth exceeded defect: ringlet0: 0, ringlet1: 0
Jumbo configuration defect:1
Maximum number of stations exceeded defect:0
Miscabling defect: ringlet0: 0, ringlet1: 0
Protection mode configuration defect:0
Inconsistent topology defect:0
Topology instability defect:0
IP address duplicate defect:0
Table 1-1 Description on the fields of the display rpr defect command
Field |
Description |
Rpr defects of the interface |
Defect information of the RPR station corresponding to the specified interface |
Amount of reserved bandwidth exceeded defect |
Reserved bandwidth exceeded defect on Ringlet 0 and Ringlet 1: 0 means no defect; 1 means such defect is present. |
Jumbo configuration defect |
The number 0 means no such defect; 1 means that such defect is present. |
Maximum number of stations exceeded defect |
The number 0 means no such defect; 1 means that such defect is present. |
Miscabling defect |
Fiber-optic miscabling defect on Ringlet 0 and Ringlet 1: 0 means no such defect; 1 means that such defect is present. |
Protection mode configuration defect |
The number 0 means no such defect; 1 means that such defect is present. |
Inconsistent topology defect |
The number 0 means no such defect; 1 means that such defect is present. |
Topology instability defect |
The number 0 means no such defect; 1 means that such defect is present. |
IP address duplicate defect |
The number 0 means no such defect; 1 means that such defect is present. |
1.1.7 display rpr fairness
Syntax
display rpr fairness [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr fairness command to display information about RPR fairness parameters.
If no RPR logical interface specified, the RPR fairness parameters information of the RPR stations corresponding to all the RPR logical interfaces on your device is displayed. If an RPR logical interface is specified, only the RPR fairness parameters information of its corresponding RPR station is displayed.
Examples
# Display the RPR fairness parameters information for interface Ten-GigabitEthernet 1/1/1.
<Sysname> display rpr fairness Ten-GigabitEthernet 1/1/1
Rpr fairness parameters of the interface: Ten-GigabitEthernet1/1/1
Station's fairness weight on ringlet0: 1
Station's fairness weight on ringlet1: 1
Local Reserved bandwidth for class A0 on ringlet0: 0Mbps
Local Reserved bandwidth for class A0 on ringlet1: 0Mbps
Local Rate-limiter bandwidth for high priority on ringlet0: 20Mbps
Local Rate-limiter bandwidth for high priority on ringlet1: 20Mbps
Local Rate-limiter bandwidth for medium priority on ringlet0: 0Mbps
Local Rate-limiter bandwidth for medium priority on ringlet1: 0Mbps
Local Rate-limiter bandwidth for low priority on ringlet0: 10000Mbps
Local Rate-limiter bandwidth for low priority on ringlet1: 10000Mbps
Total Reserved bandwidth for class A0 on ringlet0: 0Mbps
Total Reserved bandwidth for class A0 on ringlet1: 0Mbps
Table 1-2 Description on the fields of the display rpr fairness command
Field |
Description |
Rpr fairness parameters of the interface |
RPR fairness parameters information of the station corresponding to the specified interface |
Station's fairness weight on ringlet0 |
The fairness weight of the current station on Ringlet 0 |
Station's fairness weight on ringlet1 |
The fairness weight of the current station on Ringlet 1 |
Local Reserved bandwidth for class A0 on ringlet0 |
Bandwidth reserved by the current station for the subclass A0 service on Ringlet 0 |
Local Reserved bandwidth for class A0 on ringlet1 |
Bandwidth reserved by the current station for the subclass A0 service on Ringlet 1 |
Local Rate-limiter bandwidth for high priority on ringlet0 |
Rate limit setting of the station for the class A1 service on Ringlet 0 |
Local Rate-limiter bandwidth for high priority on ringlet1 |
Rate limit setting of the station for the class A1 service on Ringlet 1 |
Local Rate-limiter bandwidth for medium priority on ringlet0 |
Rate limit setting of the station for the class B CIR service on Ringlet 0 |
Local Rate-limiter bandwidth for medium priority on ringlet1 |
Rate limit setting of the station for the class B CIR service on Ringlet 1 |
Local Rate-limiter bandwidth for low priority on ringlet0 |
Rate limit setting of the station for the class B EIR and class C services on Ringlet 0 |
Local Rate-limiter bandwidth for low priority on ringlet1 |
Rate limit setting of the station for the class B EIR and class C services on Ringlet 1 |
Total Reserved bandwidth for class A0 on ringlet0 |
Total bandwidth reserved by all the stations on the ring for the class A0 service on Ringlet 0 |
Total Reserved bandwidth for class A0 on ringlet1 |
Total bandwidth reserved by all the stations on the ring for the class A0 service on Ringlet 1 |
1.1.8 display rpr protection
Syntax
display rpr protection [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr protection command to display RPR protection information.
If an interface is specified, only the RPR protection information of its corresponding RPR station is displayed. If no interface is specified, the RPR protection information of all the RPR stations on your device is displayed.
Caution:
The protection mode comes with configured protection mode and effective protection mode. Configured protection mode is administratively configured but does not necessarily take effect. RPR automatically checks the protection modes of all the stations to ensure consistency of effective protection mode on the ring.
Examples
# Display RPR protection information.
<Sysname> display rpr protection
Protection information of the interface: Ten-GigabitEthernet1/1/1
Protection mode configured: steer
Protection mode effective: steer
Protection reversion mode: revertive
Context containment active:0
MAC address of the last east neighbour:0000-0000-0000
-0000-0000
MAC address of the last west neighbour:0000-0000-0000
-0000-0000
Protection State of the east span:sf
Protection State of the west span:sf
Edge status of the east span: true
the east span: true
st span: true
: true
Edge status of the west span: true
The number of protections on the east span:1
The number of protections on the west span:1
Last protection time on the east span:
Last protection time on the west span:
Protection start time on the east span:2007.07.25 04:51:13
04:51:13
Protection start time on the west span:2007.07.25 04:51:13
Table 1-3 Description on the fields of the display rpr protection command
Field |
Description |
Protection information of the interface |
RPR protection information of the station corresponding to the specified interface. |
Protection mode configured |
Protection mode configured administratively. |
Protection mode effective |
Protection mode that is taking effect. |
Protection reversion mode |
Protection reversion mode. |
Context containment active |
Indicates whether the CC mechanism is taking effect: 0 for active, 1 for inactive. |
MAC address of the last east neighbour |
MAC address of the adjacent station on the east. |
MAC address of the last west neighbour |
MAC address of the adjacent station on the west. |
Protection State of the east span |
Protection state of the east span. |
Protection State of the west span |
Protection state of the west span. |
Edge status of the east span |
Indicates whether the east span is an edge. If it is, true is displayed; if not, false is displayed. |
Edge status of the west span |
Indicates whether the west span is an edge. If it is, true is displayed; if not, false is displayed. |
The number of protections on the east span |
Number of protection reversions on the east span. |
The number of protections on the west span |
Number of protection reversions on the west span. |
Last protection time on the east span |
Time when the last protection reversion occurred on the east span. |
Last protection time on the west span |
Time when the last protection reversion occurred on the west span. |
Protection start time on the east span |
Starting time of the protection reversion occurring on the east span. |
Protection start time on the west span |
Starting time of the protection reversion occurring on the west span. |
1.1.9 display rpr rs-table
Syntax
display rpr rs-table { default | dynamic | ipv6 | overall | static | vrrp } [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
default: Displays information about the default ringlet selection table.
dynamic: Displays information about the dynamic ringlet selection table.
ipv6: Displays information about the IPv6 ringlet selection table.
overall: Displays information about the overall ringlet selection table.
static: Displays information about the static ringlet selection table.
vrrp: Displays information about the VRRP ringlet selection table.
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr rs-table command to display information about RPR ringlet selection table.
If an RPR interface is specified, only the RPR ringlet selection table information of its corresponding RPR station is displayed. If no interface is specified, the ringlet selection table information of all the RPR stations on your device is displayed.
Examples
# Display information about the dynamic ringlet selection tables of all RPR stations on your device.
<Sysname> display rpr rs-table dynamic
Dynamic ringlet selection table of interface: Ten-GigabitEthernet 1/1/1
MAC-Address Ringlet TTL IP-Address Station-Name
00e0-fc57-3640 0 1 0.0.0.0
--- Total entries: 1 ---
# Display information about the static ringlet selection tables of all RPR stations on your device.
<Sysname> display rpr rs-table static
Static ringlet selection table of interface: Ten-GigabitEthernet1/1/1
MAC-Address Ringlet Valid
0003-0002-0002 0 0
--- Total entries: 1 ---
Table 1-4 Description on the fields of the display rpr rs-table command
Field |
Description |
Dynamic ringlet selection table of interface |
Dynamic ringlet selection table of the station corresponding to the specified interface |
Static ringlet selection table of interface |
Static ringlet selection table of the station corresponding to the specified interface |
MAC-Address |
Destination MAC address |
Ringlet |
Sending ringlet: 0 for Ringlet 0, 1 for Ringlet 1. |
TTL |
|
IP-Address |
IP address of the destination |
Station-Name |
Name of the destination station |
Valid |
Indicates whether the entry is valid: 1 for valid, 0 for invalid. |
1.1.10 display rpr statistics
Syntax
display rpr statistics { dmac | smac } [ mac-address ] [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
dmac: Displays traffic statistics by destination MAC address.
smac: Displays traffic statistics by source MAC address.
mac-address: Source or destination MAC address, in the format of H-H-H.
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr statistics command to display the statistics about traffic on RPR rings for specified or all RPR stations on the device.
l If the dmac is specified, the statistics of traffic destined to the destination is displayed; if the smac is specified, the statistics of traffic received by the source is displayed
l If the mac-address is not specified, the statistics of all the traffic destined to or received by the stations on the ringlet is displayed.
l If the interface-type interface-number argument is not specified, the traffic statistics of all the RPR stations on your device is displayed.
l If the interface-type interface-number argument is specified, only the traffic statistics of the RPR station corresponding to the specified interface is displayed.
Examples
# Display traffic statistics sent out from the stations whose MAC address is 00E0-FC00-1A01 on the ring.
<Sysname> display rpr statistics smac 00e0-fc00-1a01
Source statistics of interface: Ten-GigabitEthernet 1/1/1
Mac address: 00e0-fc00-1a01 Packets: 0 Bytes: 0
Table 1-5 Description on the fields of the display rpr statistics command
Field |
Description |
Source statistics of interface |
Traffic statistics (based on source MAC address) of the station corresponding to the specified interface |
Destination statistics of interface |
|
Mac address |
MAC address of the source or destination |
Packets |
Number of packets sent or received |
Bytes |
Number of bytes sent or received |
1.1.11 display rpr timers
Syntax
display rpr timers [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr timer command to display RPR timers.
If an interface is specified, only the RPR timers for its corresponding RPR station are displayed. If no interface is specified, the RPR timers for all the RPR stations on your device are displayed.
Examples
# Display the settings of all RPR timers.
<Sysname> display rpr timers
All the timers' value of interface: Ten-GigabitEthernet1/1/1
TP fast timer: 10ms
TP slow timer: 100ms
TC fast timer: 5ms
TC slow timer: 10ms
ATD timer: 1s
WTR timer: 10s
Holdoff timer: 0ms
Keepalive timer: 10ms
Topology stability timer: 40ms
Table 1-6 Description on the fields of the display rpr timers command
Field |
Description |
All the timers’ value of interface |
All RPR timers for the station corresponding to the specified interface |
TP fast timer |
Value of the TP fast timer |
TP slow timer |
Value of the TP slow timer |
TC fast timer |
Value of the TC fast timer |
TC slow timer |
Value of the TC slow timer |
ATD timer |
Value of the ATD timer |
WTR timer |
Value of the WTR timer |
Holdoff timer |
|
Keepalive timer |
Value of the keepalive timer |
Topology stability timer |
Value of the topology stability timer |
1.1.12 display rpr topology
Syntax
display rpr topology { all | local | ring | stations } [ summary ] [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
all: Displays all topology information.
local: Displays the topology information of the local station.
ring: Displays the ring topology information.
stations: Displays the topology information of all the stations on the ring.
summary: Displays the RPR topology summary.
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr topology command to display RPR topology information.
If an RPR logical interface is specified, only the topology information of its corresponding RPR station is displayed. If no interface is specified, the topology information of all the RPR stations on your device is displayed.
Examples
# Display all topology information.
<Sysname> display rpr topology all
Ring topology information on interface:Ten-GigabitEthernet1/1/1
Stations on ringlet0:1
Stations on ringlet1:1
Total stations on ring:2
Jumbo preference:regular
Ring topology type:closed ring
Local station topology information on interface:Ten-GigabitEthernet1/1/1
Mac address:00e0-fc00-1801
Station name:
Ip address: 0.0.0.0 Jumbo preference:regular
Current protection mode:steer
Protection state on west:idle
Protection state on east:idle
Edge status on west: false
Edge status on east: false
Sequence number:1
Last known neighbour on west:00e0-fc00-1c01
Last known neighbour on east:00e0-fc00-1c01
Local topology state:topology is valid
Station topology information on interface:Ten-GigabitEthernet1/1/1
Station entry on ringlet0
Mac address:00e0-fc00-1c01
Station name:
Ip address: 0.0.0.0 Hops:1
Jumbo preference:regular
Protection mode:steer
Protection state on west:idle
Protection state on east:idle
Edge status on west: false
Edge status on east: false
Sequence number:1
Reachability:reachable
Valid:1
Station entry on ringlet1
Mac address:00e0-fc00-1c01
Station name:
Ip address: 0.0.0.0 Hops:1
Jumbo preference:regular
Protection mode:steer
Protection state on west:idle
Protection state on east:idle
Edge status on west: false
Edge status on east: false
Sequence number:1
Reachability:reachable
Valid:1
Table 1-7 Description of the fields of the display rpr topology all command
Field |
Description |
Ring topology information on interface |
Ring topology information of the station corresponding to the specified interface |
Stations on ringlet0 |
Number of stations on Ringlet 0 |
Stations on ringlet1 |
Number of stations on Ringlet 1. |
Total stations on ring |
Total number of stations on the ring. |
Jumbo preference |
Whether Jumbo frames are supported. Regular means not supported, jumbo means supported. |
Ring topology type |
Ring status, either open ring or closed ring. |
Local station topology information on interface |
Local topology information of the station corresponding to the specified interface. |
Mac address |
MAC address of the station. |
Station name |
Station name. |
Ip address |
IP address of the station. |
Current protection mode |
Protection mode of the station. |
Protection state on west |
Protection state of the west span. |
Protection state on east |
Protection state of the east span. |
Edge status on west |
Indicates whether the west span is an edge. If it is, true is displayed; if not, false is displayed. |
Edge status on east |
Indicates whether the east span is an edge. If it is, true is displayed; if not, false is displayed. |
Sequence number |
Sequence number of TP frame. |
Last known neighbour on west |
Learned neighbour MAC address on west. |
Last known neighbour on east |
Learned neighbour MAC address on east. |
Local topology state |
It could be start (for topology initializing), stable, unstable, valid, or invalid. |
Station topology information on interface |
Topology information of other stations on the same ring to which the specified interface belongs. |
Station entry on ringlet0 |
Topology information of neighbour on the west span. |
Station entry on ringlet1 |
Topology information of neighbour on the east span. |
MAC-Address |
MAC address of the station. |
IP address |
IP address of the station. |
Hops |
Number of hops from the specified station to the local station. |
Protection mode |
Protection mode of the station. |
Protection state on west |
Protection state of the west span |
Protection state on east |
Protection state of the east span |
Edge status on west |
Indicates whether the west span is an edge. If it is, true is displayed; if not, false is displayed. |
Edge status on east |
Indicates whether the east span is an edge. If it is, true is displayed; if not, false is displayed. |
Reachability |
Indicates whether the station is reachable. |
Valid |
Indicates whether the entries are valid or not: 1 for valid, 0 for invalid. |
# Display the topology summary.
<Sysname> display rpr topology all summary
Topology information items
Pse:protection state, east Psw:protection state, west
Ese:edge state, east Esw:edge state, west
Wc:wrap protection configured Jp:jumbo frame preferred
Ring topology information on interface:Ten-GigabitEthernet1/1/1
Ringlet0 Ringlet1 Ring Jumbo-Prefer Topology-Type
1 1 2 regular closed ring
Local station topology information on interface:Ten-GigabitEthernet1/1/1
MAC-Address Pse Psw Ese Esw Wc Jp IP-Address Station-Name
00e0-fc00-1801 idle idle 0 0 0 0 0.0.0.0
Station topology information on interface:Ten-GigabitEthernet1/1/1
Station entry on ringlet0
MAC-Address Pse Psw Ese Esw Wc Jp IP-Address Station-Name
00e0-fc00-1c01 idle idle 0 0 0 0 0.0.0.0
Station entry on ringlet1
MAC-Address Pse Psw Ese Esw Wc Jp IP-Address Station-Name
00e0-fc00-1c01 idle idle 0 0 0 0 0.0.0.0
Table 1-8 Description on the fields of the display rpr topology summary command
Field |
Description |
Topology information items |
Items of topology information |
Pse:protection state, east |
Protection state of the east span |
Psw:protection state, west |
Protection state of the west span |
Ese:edge state, east |
Edge state of the east span. 1 means that edge occurs; 0 means that edge does not occur |
Esw:edge state, west |
Edge state of the west span. 1 means that edge occurs; 0 means that edge does not occur |
Wc:wrap protection configured |
Wrap protection mode: 0 means no Wrap protection is set; 1 means the Wrap protection is set |
Jp:jumbo frame preferred |
Whether Jumbo frames are supported. 1 means supported, 0 means not supported |
Ring topology information on interface |
Topology information of ring specified by the interface |
Ringlet0 |
Number of stations on the west span |
Ringlet1 |
Number of stations on the east span |
Ring |
Total stations on the ring |
Jumbo-Prefer |
Whether Jumbo frames are supported. Regular means not supported, jumbo means supported. |
Topology-Type |
Ring status, either open ring or closed ring |
Local station topology information on interface |
Summary of local topology information of the station that corresponds to the specified interface |
MAC-Address |
MAC address of the station |
IP-Address |
IP address of the station |
Station-Name |
Station name |
Station topology information on interface |
Summary of topology information of other stations on the same ring to which the specified interface belongs |
Station entry on ringlet0 |
Summary of topology information of the neighbour stations on the west span |
Station entry on ringlet1 |
Summary of topology information of the neighbour stations on the east span |
# Display the topology information of the local station.
<Sysname>display rpr topology local
Local station topology information on interface:Ten-GigabitEthernet1/1/1
Mac address:00e0-fc00-1801
Station name:
Ip address: 0.0.0.0 Jumbo preference:regular
Current protection mode:steer
Protection state on west:idle
Protection state on east:idle
Edge status on west: false
Edge status on east: false
Sequence number:1
Last known neighbour on west:00e0-fc00-1c01
Last known neighbour on east:00e0-fc00-1c01
Local topology state:topology is valid
Table 1-9 Description on the fields of the display rpr topology local command
Field |
Description |
Local station topology information on interface |
Topology information of the local stations mapping to the logical interfaces of the device |
Mac address |
MAC address of the station |
Station name |
Station name |
Ip address |
IP address of the station |
Jumbo preference |
Whether Jumbo frames are supported. Regular means not supported, jumbo means supported. |
Current protection mode |
Protection mode of the station |
Protection state on west |
Protection state of the west span |
Protection state on east |
Protection state of the east span |
Edge status on west |
Edge state of the west span. 1 means that edge occurs; 0 means that edge does not occur |
Edge status on east |
Edge state of the east span. 1 means that edge occurs; 0 means that edge does not occur |
Sequence number |
Sequence number of TP frames |
Last known neighbour on west |
Last learned neighbour MAC address on west |
Last known neighbour on east |
Last learned neighbour MAC address on east |
Local topology state |
Start means topology is initiating; stable means topology is stable; unstable means topology is not stable; valid means topology is valid; invalid means topology is not valid. |
# Display the ring topology information.
<Sysname>display rpr topology ring
Ring topology information on interface:Ten-GigabitEthernet1/1/1
Stations on ringlet0:1
Stations on ringlet1:1
Total stations on ring:2
Jumbo preference:regular
Ring topology type:closed ring
Table 1-10 Description on the fields of the display rpr topology ring command
Field |
Description |
Ring topology information on interface |
Ring topology information of the station that corresponds to the specified interface |
Stations on ringlet0 |
Number of stations on Ringlet 0 |
Stations on ringlet1 |
Number of stations on Ringlet 1 |
Total stations on ring |
Total stations on the ring |
Jumbo preference |
Whether Jumbo frames are supported. Regular means not supported, jumbo means supported. |
Ring topology type |
Ring status, either open ring or closed ring |
# Display all the station topology information on the ring.
<Sysname> display rpr topology stations
Station topology information on interface:Ten-GigabitEthernet1/1/1
Station entry on ringlet0
Mac address:00e0-fc00-1c01
Station name:
Ip address: 0.0.0.0 Hops:1
Jumbo preference:regular
Protection mode:steer
Protection state on west:idle
Protection state on east:idle
Edge status on west: false
Edge status on east: false
Sequence number:1
Reachability:reachable
Valid:1
Station entry on ringlet1
Mac address:00e0-fc00-1c01
Station name:
Ip address: 0.0.0.0 Hops:1
Jumbo preference:regular
Protection mode:steer
Protection state on west:idle
Protection state on east:idle
Edge status on west: false
Edge status on east: false
Sequence number:1
Reachability:reachable
Valid:1
Table 1-11 Description on the fields of display rpr topology stations
Field |
Description |
Station topology information on interface |
Topology information of other stations on the same ring to which the specified interface belongs |
Station entry on ringlet0 |
Topology information of the neighbour on the west span |
Station entry on ringlet1 |
Topology information of the neighbour on the east span |
MAC-Address |
MAC address of the station |
Station name |
Station name |
IP address |
IP address of the station |
Hops |
Number of hops from the specified station to the local station |
Jumbo preference |
Whether Jumbo frames are supported. Regular means not supported, jumbo means supported. |
Protection mode |
Protection mode of the station |
Protection state on west |
Protection state of the west span |
Protection state on east |
Protection state of the east span |
Edge status on west |
Edge status of west span. True means that edge occurs; false means that edge does not occur |
Edge status on east |
Edge status of east span. True means that edge occurs; false means that edge does not occur |
Sequence number |
Sequence number of TP frames |
Reachability |
Whether the station is reachable |
Valid |
Whether the entries are valid or not. 1 means valid, 0 means not valid. |
1.1.13 display rpr tunnel vlan
Syntax
display rpr tunnel vlan { vlan-id1 [ to vlan-id2 ] | all } [ valid | invalid ] [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
vlan-id1 [ to vlan-id2 ]: Specifies a VLAN or a VLAN range to display their RPR VLAN tunnel information. Both the vlan-id1 argument and the vlan-id2 argument take a value in the range 1 to 4094.
all: Displays all RPR VLAN tunnels.
valid: Displays valid entries.
invalid: Displays invalid entries.
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr tunnel vlan command to view the tunnel information about the currently configured RPR VLANS.
Examples
# Display the tunnel information about VLAN 5 to 7.
<Sysname> display rpr tunnel vlan 5 to 7
Vlan tunnel table of interface:Ten-GigabitEthernet5/1/1
VLAN-ID MAC-Address Cfg-Ringlet Eft-Ringlet TTL Valid
5 00e0-fc00-8582 0 0 2 valid
6 00e0-fc00-8583 1 0 1 valid
7 00e0-fc00-8584 1 N/A N/A invalid
--- Total entries: 3, Valid entries: 2, Invalid entries: 1 ---
Table 1-12 Description on the fields of the display rpr tunnel command
Field |
Description |
Vlan tunnel table of interface |
Tunnel information about RPR VLANs of the specified interface. |
VLAN-ID |
ID of the VLAN |
MAC-Address |
MAC address of the specified station |
Cfg-Ringlet |
Ringlet ID configured to reach the destination on the ring |
Eft-Ringlet |
Actually effective ringlet ID to reach the destination on the ring; N/A means an invalid entry. |
TTL |
Time to Live: number of hops involved to reach the destination through the specified ringlet; N/A means an invalid entry |
Valid |
Whether the entries are valid or not |
Total entries:, Valid entries:, Invalid entries |
Number of total entries, valid entries and invalid entries |
1.1.14 display rpr vrrp-info
Syntax
display rpr vrrp-info [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. It must be an RPR logical interface.
Description
Use the display rpr vrrp-info command to display RPR VRRP standby group information.
If an RPR interface is specified, only the VRRP standby group information of its corresponding RPR station is displayed. If no interface is specified, the VRRP standby group information of all the RPR stations on your device is displayed.
& Note:
For details about VRRP, refer to VRRP Configuration in the System Volume.
Examples
# Display VRRP standby group information of RPR.
<Sysname> display rpr vrrp
Ten-GigabitEthernet1/1/1 VRRP info:
Index Virtual-Group Status MAC-Address
0 - - -
1 - - -
Table 1-13 Description on the fields of the display rpr vrrp interface command
Field |
Description |
Ten-GigabitEthernet1/1/1 VRRP info |
VRRP standby group information of the specified RPR interface |
Index |
Index |
Virtual-Group |
Name of virtual group |
Status |
Status of the VRRP standby group: master and backup |
MAC-Address |
MAC address |
1.1.15 rpr admin-request
Syntax
rpr admin-request { fs | idle | ms } { ringlet0 | ringlet1 }
View
RPR logical interface view
Default Level
2: System level
Parameters
fs: Sends a forced switch (FS) protection request.
idle: Sends an idle protection request.
ms: Sends a manual switch (MS) protection request.
ringlet0: Sends a protection request on Ringlet 0.
ringlet1: Sends a protection request on Ringlet 1.
Description
Use the rpr admin-request command to send an RPR protection request on the specified ringlet.
By default, idle protection applies.
Six types of protection requests, FS, signal fail (SF), signal degrade (SD), MS, wait to restore (WTR), and idle, are available with decreased priorities. Among them, FS and MS requests are sent manually, whereas SF, SD, and WTR requests are sent automatically.
Note that:
l Use the rpr admin-request fs command to send an FS protection request. As the FS request takes priority over all other requests, you can remove it from the RPR ring only with the rpr admin-request idle command.
l Use the rpr admin-request ms command to send an MS protection request. As the priority of the MS request is the lowest, RPR ring does not perform MS switching if any other type of protection request is present. On the contrary, the FS, SF, or SD request can override the MS request.
l Use the rpr admin-request idle command to clear the FS or MS protection request.
Examples
# Send an FS protection request on Ringlet 0.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr admin-request fs ringlet0
1.1.16 rpr default-rs
Syntax
rpr default-rs { ringlet0 | ringlet1 }
undo rpr default-rs
View
RPR logical interface view
Default Level
2: System level
Parameters
ringlet0: Specifies Ringlet 0 as the default ringlet.
ringlet1: Specifies Ringlet 1 as the default ringlet.
Description
Use the rpr default-rs command to configure the default RPR ringlet for sending data frames.
Use the undo rpr default-rs command to restore the default.
By default, the default ringlet is Ringlet 0.
Caution:
The default ringlet you configured is not necessarily the one in use. This happens when a span is faulty and unable to forward data.
Examples
# Specify Ringlet 1 as the default ringlet.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr default-rs ringlet1
1.1.17 rpr echo mac
Syntax
rpr echo mac mac-address [ -c value | -r { ringlet0 | ringlet1 | reverse } | -s { ringlet0 | ringlet1 } | -t value ] *
View
RPR logical interface view
Default Level
2: System level
Parameters
mac-address: MAC address of a station in the format of H-H-H. Specify it to test the connectivity to the station.
-c value: Specifies the number of echo requests to be sent for testing connectivity, in the range 1 to 1000. If the number is not specified, five requests are to be sent.
-r: Specifies the ringlet for the destination to send Echo Responses. It could be ringlet0, ringlet1, or reverse. If the reverse keyword is specified, the destination station is expected to send Echo Reponses from the ringlet different from the one from which it receives Echo Requests. For example, if the destination station receives Echo Requests from Ringlet 0, it should send out Echo Responses onto Ringlet 1.
-s: Specifies the ringlet for sending Echo Requests, either ringlet0 or ringlet1.
-t value: Specifies the echo response timeout in the range 10 to 65535 milliseconds. If it is not specified, the default of 10 milliseconds applies.
If transmitting ringlet or receiving ringlet is not specified, the source station will send the Echo Request packet from the default ringlet actually taking effect. The destination station will send the Echo Response packet from the default ringlet actually taking effect.
Description
Use the rpr echo mac command to test the connectivity of the current station to the destination station. The connectivity between the current station and the destination station is considered to be normal if the connection between the two stations is normal on both the specific sending ringlet and the specific receiving ringlet. In this case, the destination station can receive the Echo Request packets that the current node sends on the specific ringlet and the current station can receive the Echo Response packets that the destination station sends on the specific ringlet. Otherwise, the connectivity between the current station and the destination station is considered to fail.
If neither the sending ringlet nor the receiving ringlet is specified, the default ringlet currently in use will be used for transmitting Echo Request packets and Echo Response packets.
Examples
# Test the connectivity to the station with MAC address 0012-3F83-A1E3, specify ringlet 0 as the sending ringlet and ringlet 1 as the receiving ringlet.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr echo mac 0012-3F83-A1E3 -s ringlet0 -r ringlet1
PING 0012-3F83-A1E3: press CTRL+C to break
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=2 time=1 ms
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=3 time=1 ms
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=4 time=1 ms
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=5 time=1 ms
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=6 time=1 ms
--- echo 0012-3F83-A1E3 statistics ---
100 packet(s) transmitted
100 packet(s) received
0.0% packet loss
round-trip min/avg/max = 1/1/16 ms
1.1.18 rpr port-type
Syntax
rpr port-type { 10gpos | 10ge }
View
RPR logical interface view
Default Level
2: System level
Parameters
10gpos: Sets the type of RPR physical ports to 10 Gbps POS.
10ge: Sets the type of RPR physical ports to 10GE.
Description
Use the rpr port-type command to set the RPR physical port type for the station.
By default, the RPR physical port type detected at initialization applies by default.
Caution:
l After you change the RPR port type, the interface card will reboot to have the change take effect. The previous settings on the interface card will be lost as a result.
l This command can only take effect on 10 Gbps POS and 10GE physical ports. It cannot take effect on 2.5 Gbps POS port.
Examples
# Configure the RPR physical port type as 10 GE.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr port-type 10ge
1.1.19 rpr protect-mode
Syntax
rpr protect-mode { steer | wrap }
undo rpr protect-mode
View
RPR logical interface view
Default Level
2: System level
Parameters
steer: Sets the protection mode to steering where the source station directs protected frames to the ringlet that retains connectivity to their destinations.
wrap: Sets the protection mode to wrapping where protected traffic is directed at the point of failure to the opposing ringlet.
Description
Use the rpr protect-mode command to set the RPR protection mode for the station. Use the undo rpr protect-mode command to restore the default.
By default, the steering mode applies.
Caution:
All the stations on an RPR ring must adopt the same protection mode for the ring to operate normally.
Examples
# Adopt the wrapping protection mode on the station corresponding to the RPR logical interface Ten-GigabitEthernet 1/1/1.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysnamey-Ten-GigabitEthernet1/1/1] rpr protect-mode wrap
1.1.20 rpr rate-limiter
Syntax
rpr rate-limiter { high | low | medium | reserved } { ringlet0 | ringlet1 } value
undo rpr rate-limiter { high | low | medium | reserved } { ringlet0 | ringlet1 }
View
RPR logical interface view
Default Level
2: System level
Parameters
high: Configures the rate limit for the subclass A1 service.
low: Configures the rate limit for the class B EIR and class C services.
medium: Configures the rate limit for the class B CIR service.
reserved: Configures the reserved bandwidth for the subclass A0 service.
ringlet0: Configures the reserved bandwidth or rate limit for service classes on Ringlet 0.
ringlet1: Configures the reserved bandwidth or rate limit for service classes on Ringlet 1.
value: Permillage of the reserved bandwidth for subclass A0 to the total bandwidth or the rate limit in permillage for any other service. It ranges from 0 to 1000. The defaults in permillage for different services are as follows:
l 0 for subclass A0
l 2 for subclass A1
l 0 for class B CIR and class B EIR
l 1000 for class C
Description
Use the rpr rate-limiter command to specify the reserved bandwidth for the subclass A0 service or rate limit for any other service on the specified ringlet.
Use the undo rpr rate-limiter command to restore the default.
Caution:
l The total bandwidth reserved for subclass A0 by the stations on a ringlet must be less than the ringlet bandwidth.
l The ringlet0 and ringlet1 keywords in the command refer to sending ringlets.
Examples
# Set the reserved bandwidth in permillage for the subclass A0 service on Ringlet 0 to 5.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr rate-limiter reserved ringlet0 5
1.1.21 rpr reversion-mode
Syntax
rpr reversion-mode { non-revertive | revertive }
undo rpr reversion-mode
View
RPR logical interface view
Default Level
2: System level
Parameters
non-revertive: Sets the protection reversion mode to non-revertive where the station remains in automatic protection state upon expiration of the WTR timer and does not resume the idle state until a higher protection request is present on the ring.
revertive: Sets the protection reversion mode to revertive where the station resumes the idle protection state once the WTR timer expires.
Description
Use the rpr reversion-mode command to set the RPR protection reversion mode.
Use the undo rpr reversion-mode command to restore the default.
By default, revertive mode applies.
Examples
# Set the protection reversion mode to non-revertive.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr reversion-mode non-revertive
1.1.22 rpr static-rs
Syntax
rpr static-rs mac-address { ringlet0 | ringlet1 }
undo rpr static-rs mac-address
View
RPR logical interface view
Default Level
2: System level
Parameters
ringlet0: Specifies Ringlet 0 as the sending ringlet for data frames destined to a specified MAC address.
ringlet1: Specifies Ringlet 1 as the sending ringlet for data frames destined to a specified MAC address.
mac-address: Destination MAC address, in the format of H-H-H.
Description
Use the rpr static-rs command to add a static ringlet selection entry, specifying which ringlet is used for sending data frames destined to the specified MAC address.
Use the undo rpr static-rs command to remove the entry.
A static ring selection entry can take effect only when the configured ringlet is available.
Examples
# Send data frames with destination MAC 0001-0002-0003 on Ringlet 0 and data frames with destination MAC address 0001-0002-0004 on Ringlet 1.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr static-rs 0001-0002-0003 ringlet0
[Sysname-Ten-GigabitEthernet1/1/1] rpr static-rs 0001-0002-0004 ringlet1
1.1.23 rpr station-name
Syntax
rpr station-name station-name
undo rpr station-name
View
RPR logical interface view
Default Level
2: System level
Parameters
station-name: Name of an RPR station, a string of 1 to 20 characters.
Description
Use the rpr station-name command to assign a name to the station.
Use the undo rpr station-name command to remove the station name.
By default, no station name is configured.
Examples
# Name the station as ABC.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr station-name Beijing
1.1.24 rpr timer
Syntax
rpr timer { atd value | holdoff value | keepalive value | stability value | tc-fast value | tc-slow value | tp-fast value | tp-slow value | wtr value }
undo rpr timer { atd | holdoff | keepalive | stability | tc-fast | tc-slow | tp-fast | tp-slow | wtr }
View
RPR logical interface view
Default Level
2: System level
Parameters
atd value: Sets the ATD timer in the range 1 to 10 seconds. The default is 1 second.
holdoff value: Sets the hold-off timer in steps of 10 milliseconds in the range 0 to 200 milliseconds. The default is 0 milliseconds.
keepalive value: Sets the keepalive timer in the range 2 to 50 milliseconds. The default is 3 milliseconds.
stability value: Sets the topology stability timer in the range 10 to 100 milliseconds. The default is 40 milliseconds.
tc-fast value: Sets the TC fast timer in the range 1 to 20 milliseconds. The default is 10 milliseconds.
tc-slow value: Sets the TC slow timer in steps of 50 milliseconds in the range 50 to 10000 milliseconds. The default is 100 milliseconds.
tp-fast value: Sets the TP fast timer in the range 1 to 20 milliseconds. The default is 10 milliseconds.
tp-slow value: Sets the TP slow timer in the range 50 to 10000 milliseconds in steps of 50 milliseconds. The default is 100 milliseconds.
wtr value: Sets the WTR timer in the range 0 to 1440 seconds. The default is 10 seconds.
Description
Use the rpr timer command to set RPR timers.
Use the undo rpr timer command to restore the defaults.
Examples
# Set the ATD timer to three seconds.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr timer atd 3
1.1.25 rpr tunnel vlan dest-mac
Syntax
rpr tunnel vlan { vlan-list | all } dest-mac mac-address [ ringlet0 | ringlet1 ]
undo rpr tunnel vlan { vlan-id-list | all }
View
Default Level
2: System level
Parameters
vlan-list: VLAN list specified in the format of { vlan-id [ to vlan-id ] }&<1-10>, where the vlan-id argument can take a value in the range 1 to 4094 and &<1-10> indicates that you can specify up to 10 VLAN range. A VLAN range defined without the to vlan-id portion includes only one VLAN.
all: Configures or removes all RPR VLAN tunnels.
mac-address: MAC address of frame copying station, in the format of H-H-H. It must be a MAC address on the ring.
ringlet0: Configures the RPR VLAN tunnel to reach the destination through Ringlet 0. By default, the setting is consistent with that of the overall ringlet selection table.
ringlet1: RPR VLAN tunnel reaches the destination through Ringlet 1. By default, the setting is consistent with that of the overall ringlet selection table.
Description
Use the rpr tunnel vlan command to configure RPR VLAN tunnels.
Use the undo rpr tunnel vlan command to remove RPR VLAN tunnels.
Before configuring a VLAN tunnel on an RPR interface, first configure the interface to allow the VLAN to pass.
Examples
# Configure an RPR VLAN tunnel.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] port link-type trunk
[Sysname-Ten-GigabitEthernet1/1/1] rpr tunnel vlan 5 dest-mac 00fc-0010-8582 ringlet0
# Remove the RPR tunnels for VLAN 5.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] undo rpr tunnel vlan 5
1.1.26 rpr weight
Syntax
rpr weight { ringlet0 | ringlet1 } value
undo rpr weight { ringlet0 | ringlet1 }
View
RPR logical interface view
Default Level
2: System level
Parameters
ringlet0: Sets the fairness weight of the station on Ringlet 0.
ringlet1: Sets the fairness weight of the station on Ringlet 1.
value: The number of the powers, in the range 0 to 7. The station weight is represented as a power of 2.
Description
Use the rpr weight command to set the fairness weight of a station.
Use the undo rpr weight command to restore the default.
By default, the weight of a station is 0 on both Ringlet 0 and Ringlet 1, and the corresponding weight of fairness actually taking effect is 1. .
Examples
# Set the weight of the station on Ringlet 0 to 4 (that is, two power of 2).
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/1/1
[Sysname-Ten-GigabitEthernet1/1/1] rpr weight ringlet0 2
1.1.27 reset rpr protection statistics
Syntax
reset rpr protection statistics [ interface-type interface-number ]
View
User view
Default Level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number. The interface must be an RPR logical interface.
Description
Use the reset rpr protection statistics command to clear the statistics of the RPR station protection events.
& Note:
If the interface-type interface-number argument is specified, only the information about the RPR ring to which the interface belongs is cleared. Otherwise, all the RPR ring information will be cleared.
Examples
# Clear the statistics of RPR station protection events.
<Sysname> reset rpr protection statistics