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
17-RPR Commands
Title Size Download
17-RPR Commands 211.73 KB

Table of Contents

Chapter 1 RPR Port Configuration Commands. 1-1

1.1 RPR Port Configuration Commands. 1-1

1.1.1 clock-source. 1-1

1.1.2 debugging rpr 1-2

1.1.3 display interface. 1-2

1.1.4 display rpr counters. 1-7

1.1.5 display rpr defect 1-14

1.1.6 display rpr fairness. 1-16

1.1.7 display rpr mac. 1-17

1.1.8 display rpr protection. 1-18

1.1.9 display rpr rs-table. 1-20

1.1.10 display rpr statistics. 1-21

1.1.11 display rpr timers. 1-22

1.1.12 display rpr topology. 1-24

1.1.13 flag. 1-25

1.1.14 frame-format 1-26

1.1.15 interface { RprPos | Rpr10GE | RprGE } interface-number 1-26

1.1.16 interface { RprPos | Rpr10GE | RprGE } interface-number . { 1 | 2 } 1-27

1.1.17 loopback. 1-28

1.1.18 port-type. 1-28

1.1.19 reset counters interface. 1-29

1.1.20 rpr admin-request 1-30

1.1.21 rpr cos-precedence-map. 1-31

1.1.22 rpr default-rs. 1-32

1.1.23 rpr echo. 1-33

1.1.24 rpr protect-mode. 1-34

1.1.25 rpr rate-limiter 1-34

1.1.26 rpr reversion-mode. 1-35

1.1.27 rpr static-rs. 1-36

1.1.28 rpr station-mac. 1-37

1.1.29 rpr station-name. 1-37

1.1.30 rpr timer 1-38

1.1.31 rpr weight 1-39

1.1.32 sdh threshold. 1-40

1.1.33 shutdown. 1-41

Chapter 2 RPR Layer 2 Tunnel Extended Application Configuration Commands. 2-1

2.1 RPR Layer 2 Tunnel Extended Application Configuration Commands. 2-1

2.1.1 display rpr tunnel-table. 2-1

2.1.2 display rpr tunnel-track. 2-2

2.1.3 rpr tunnel track. 2-4

2.1.4 rpr tunnel vlan. 2-5

Chapter 3 VRRP over RPR Collaboration Group Configuration Commands. 3-1

3.1 VRRP over RPR Collaboration Group Configuration Commands. 3-1

3.1.1 display rpr vrrp. 3-1

3.1.2 rpr vrrp. 3-2

3.1.3 undo rpr vrrp group. 3-3

Chapter 4 Intersecting RPR Rings Configuration Commands. 4-1

4.1 Intersecting RPR Rings Configuration Commands. 4-1

4.1.1 debugging rpr cross-ring event 4-1

4.1.2 debugging rpr cross-ring packet 4-1

4.1.3 display rpr cross-ring backup-ring. 4-2

4.1.4 display rpr cross-ring defect 4-3

4.1.5 display rpr cross-ring instance. 4-4

4.1.6 rpr cross-ring. 4-5

4.1.7 rpr cross-ring instance. 4-6

4.1.8 rpr cross-ring neighbour 4-7

4.1.9 rpr cross-ring slave backup-ring. 4-8

Chapter 5 Distributed RPR Configuration Commands. 5-1

5.1 Distributed RPR Configuration Commands. 5-1

5.1.1 debugging rpr backup. 5-1

5.1.2 display rpr link-aggregation. 5-1

5.1.3 link-aggregation group mode manual 5-2

5.1.4 port link-aggregation group. 5-3

5.1.5 port-mode mate. 5-4

 


Chapter 1  RPR Port Configuration Commands

1.1  RPR Port Configuration Commands

1.1.1  clock-source

Syntax

clock-source { master | slave [ priority priority-value ] }

undo clock-source

View

RPR POS physical port view

Parameters

master: Specifies the clock source mode as master, that is, as internal.

slave: Specifies the clock source mode as slave, that is, as line.

priority priority-value: Specifies the priority of the line clock source. It ranges from 1 to 2, and defaults to 1. The value 2 has a higher priority over the value 1.

Description

Use the clock-source command to configure clock source.

Use the undo clock-source command to restore the default setting.

By default, the clock source mode is master.

Note that the slave clock source mode can be configured for the two ports of a link, but the two sources must have different priorities.

Examples

# Configure the clock source mode as master.

<H3C> system-view

[H3C] interface RprPos2/1/1.1

[H3C-RprPos2/1/1.1] clock-source master

# Configure the clock source mode as slave, and set the priority of the clock source to 2.

<H3C> system-view

[H3C] interface RprPos2/1/1.1

[H3C-RprPos2/1/1.1] clock-source slave priority 2

1.1.2  debugging rpr

Syntax

debugging rpr { all | topology | protection | controlframe | mac | ringselection | tp-frame | l2tunnel | vrrp }

undo debugging rpr { all | topology | protection | controlframe | mac | ringselection | tp-frame | l2tunnel | vrrp }

View

User view

Parameters

all: All RPR debugging.

topology: Debugging for RPR topology database modular.

protection: Debugging for RPR protection modular request.

controlframe: Debugging for RPR control frame processing.

mac: Debugging for RPR ring selection MAC module.

ringselection: Debugging for RPR ring selection module.

tp-frame: Debugging for RPR TP frame processing.

l2tunnel: Debugging for RPR Layer 2 tunneling.

vrrp: Debugging for VRRP over RPR.

Description

Use the debugging rpr command to enable RPR debugging.

Use the undo debugging rpr command to disable RPR debugging.

By default, RPR debugging is disabled.

Examples

# Enable all debugging for an RPR port.

<H3C> debugging rpr all

1.1.3  display interface

Syntax

display interface [ interface-type | interface-type interface-number [ packets ] ]

View

Any view

Parameters

interface-type: Port type.

interface-number: Port number.

packets: Displays the statistics on the packets passing through the port.

Description

Use the display interface command to display the RPR port configuration and status information.

l           If you specify neither port type nor port number, the command displays the information about all ports on the switch.

l           If you only specify a port type, the command displays the information about all ports of the specified type.

l           If you specify a port type and a port number, the command displays the information about the specified port.

When displaying information about RPR ports:

l           If you do not specify a port number, the command displays all port information, including the status information about RPRPOS logical interfaces and physical ports.

l           If you specify a port number, the command displays the information about the specified port.

By viewing the information about physical ports, you can monitor the SDH physical layer and performance. For example, you can monitor basic alarms such as out of frame (OOF), loss of frame (LOF).

Examples

# Display configuration information of the RPR logical interface RPRPOS 5/1/1.

<H3C> display interface RprPos 5/1/1

 RprPos5/1/1 current state : UP

 Rpr station name is: H3C

 Rpr station MAC address is 000f-e211-1116

 Rpr configured default ringlet is: 0

 RPR work mode:  NORMAL

The Priority Map is:

        ip  :  0-C 1-C 2-C 3-C 4-C 5-C 6-C 7-A

        mpls:  0-C 1-C 2-C 3-C 4-C 5-C 6-C 7-A

        tag :  0-C 1-C 2-C 3-C 4-C 5-C 6-C 7-A

 IP address of RPR Access VLAN's interface is: 100.0.0.4

 IP Mask of RPR Access VLAN's interface is: 255.255.0.0

 Link-status hold interval:3 Sec

  The Maximum Transmit Unit is 1536 ,Loopback not set

 2.5G speed mode and full duplex mode

 Flow-control is not enabled

 The Maximum Frame Length is 1552

 Broadcast MAX-ratio: 50%

 Allow jumbo frame to pass

 PVID: 100

 Port link-type: access

  Tagged   VLAN ID : none

  Untagged VLAN ID : 100

 Last 300 seconds input:  11 packets/sec 10960 bits/sec            0%

 Last 300 seconds output:  0 packets/sec 0 bits/sec           0%

 Input(total):  67061 packets,7414146 bytes

broadcasts, - multicasts

 Input(normal):  67061 packets, 7414146 bytes

          8666 broadcasts, 57941 multicasts

 Input:  0 input errors, 0 runts, 0 giants,  0 throttles, 0 CRC

          0 frame,  0 overruns, - aborts, 0 ignored, - parity errors

 Output(total): 35 packets, 2810 bytes

          - broadcasts, - multicasts, 0 pauses

Output(normal): 35 packets, 2810 bytes

          3 broadcasts, 0 multicasts, 0 pauses

 Output: 0 output errors,  - underruns, - buffer failures

          0 aborts, 0 deferred, - collisions, 0 late collisions

          - lost carrier, - no carrier

 Receive Packet Peak Value Info: 384394 bytes, happened at 15:43:04 2-17-2006

 Transmit Packet Peak Value Info: 1084 bytes, happened at 15:44:04 2-17-2006

# Display the status information of the RPR physical port RPRPOS 5/1/1.1.

<H3C> display interface RprPos 5/1/1.1

Rpr physical interface: RprPos5/1/1.1

Current state:  UP

Optical module  state: RPR_PHYPOS_CONNECTOR

     SDH alarm:

        section layer:

        line    layer:

        path    layer:

      

     SDH Overhead   C2                 J0               J1

          Rx        0x16               H3C              H3C

          Tx        0x16               H3C              H3C

 

     SDH Threshold:  sdber:  10e-6        sfber:  10e-4

 

     SDH error:

        section layer:  B1  465

        line    layer:  B2  18091

                        M1  37309

        path    layer:  B3  310

                        G1  949

Data Traffic Counters of the Interface: RprPos5/1/1.1

 Host receive              Packets                Bytes

   unicast                       149                13082

   multicast                     69547              7852724

 Line receive              Packets                Bytes

   unicast                       155                14288

   multicast                     69550              8131122

 Host send                 Packets                Bytes

   unicast                       19                 1710

   multicast                     3                  210

 Line send                 Packets                Bytes

   unicast                       13                 1100

   multicast                     0                    0

 Input Errors

   parity 0 short0 crc 0 ringiderr 0

 Output Errors

   parity 0 short0  giants0  fifo  0

 Control Frame                   In                  Out

           Oam                    0                    0

           Atd                    15398                 5162

            Tc                    51551               104258

            Tp                    27               104266

 Mode                  Packet                 Byte

 SaStrip                    0                    0

 TtlDrop                    51708            458323880

 TxFlood                    69671              8142460

 RxFlood                  69671              8142460

 

Last 300 second Host input:12 packet/sec  17248 bit/sec  0%

Last 300 second Line input: 12 packet/sec  17648 bit/sec  0%

Last 300 second Host output: 0 packet/sec   0 bit/sec  0%

Last 300 second Line output:  0 packet/sec   0 bit/sec  0%

Table 1-1 Description on the fields of the display interface command

Field

Description

RprPos5/1/1 current state

Current RPRPOS port status

Rpr station name is

Name of the destination RPR station to be checked

Rpr station MAC address

MAC address of the RPR bridge

Rpr configured default ringlet

Configured default ring ID

RPR work mode

RPR operation mode

The priority Map is

Priority mapping

IP mask of RPR Access VLAN's interface is

IP address of the VLAN interface to which an RPR port is bound

IP address of RPR Access VLAN's interface is

IP subnet mask of the VLAN interface to which an RPR port is bound

Link-status hold interval

Port hold time

The Maximum Transmit Unit

The maximum transmit unit

2.5G speed mode and full duplex mode

2.5G mode and full duplex mode

Flow-control

Flow control

The Maximum Frame Length

The maximum frame length

Broadcast MAX-ratio

Broadcast storm suppression ratio on the port

Allow jumbo frame to pass

Allows jumbo frame to pass

PVID

Default port VLAN ID

Port link-type

Port link type

Tagged   VLAN ID

Identifies the tagged packets in the port’s VLANs

Untagged VLAN ID

Identifies the untagged packets in the port’s VLANs

Last 300 seconds input:

Last 300 seconds output:

Input and output rates and number of packets on ports in last 300 seconds

Input(total):  67061 packets

7414146 bytes          8666 broadcasts, 57941 multicasts

 Input:  0 input errors, 0 runts, 0 giants,  0 throttles, 0 CRC

          0 frame,  0 overruns, - aborts, 0 ignored, - parity errors Output(total): 35 packets, 2810 bytes

          - broadcasts, - multicasts, 0 pauses

Output(normal): 35 packets, 2810 bytes

          3 broadcasts, 0 multicasts, 0 pauses

 Output: 0 output errors,  - underruns, - buffer failures

          0 aborts, 0 deferred, - collisions, 0 late collisions

          - lost carrier, - no carrier

 Receive Packet Peak Value Info: 384394 bytes, happened at 15:43:04 2-17-2006

 Transmit Packet Peak Value Info: 1084 bytes, happened at 15:44:04 2-17-2006

Input/output packet and error statistics on ports. The hyphen (-) indicates this statistical item is not supported.

 

1.1.4  display rpr counters

Syntax

display rpr counters [ transit | host | total ] [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

transit: Traffic transited by the station.

host: Host traffic through the station.

total: Total traffic through the station.

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Interface number.

Description

Use the display rpr counters command to display the statistics of different types of packets sent, received, and forwarded through the specified station.

The statistics includes packets sent and received on the hosts and interfaces of the current station, packets transited by the station, average rate in the latest specific time period, and the error packets received on the interface.

The statistics displays information about unicasts and multicasts of four priorities (A, B0, B1, and C) inserted, copied, and transited by the station.

Statistics of the transited packets are calculated as follows: the east transited packets are packets transited by ringlet 0; the west transited packets are packets transited by ringlet 1. The command output displays the east and west span statistics by physical port. For example, RPRPOS 1/1/1.1 specifies the west span and RPRPOS 1/1/1.2 specifies the east span.

l           If the traffic type is not specified, the command displays all the traffic statistics.

l           If no RPR port is specified, the command displays traffic statistics of all the RPR ports.

l           If an RPR logical interface is specified, traffic statistics of both west and east ports are displayed.

Example

# Display the traffic information of the RPR logical interface RPRPOS 1/1/1.

<H3C> display rpr counters RprPos1/1/1

Data traffic counters for RprPos1/1/1

 

West Span:

Transit                            Packets                Bytes

    total high priority            24527199               3580971054

    total med cir priority         2075963                303090598

    total med eir priority         22451236               3277880456

    total low priority             24527198               3580970908

    total unicast                  36790797               5371456362

    total multicast                36790799               5371456654

Host Receive                       Packets                Bytes

    unicast high priority          12267373               1741966966

    unicast med cir priority       1037627                147343034

    unicast med eir priority       11229746               1594623932

    unicast low priority           12267373               1741966966

    multicast high priority        12267373               1741966966

    multicast med cir priority     1038365                147447830

    multicast med eir priority     11229008               1594519136

    multicast low priority         12267373               1741966966

Line Receive                       Packets                Bytes

    unicast high priority          24534746               3582072916

    unicast med cir priority       2075740                303058040

    unicast med eir priority       22459005               3279014730

    unicast low priority           24534745               3582072770

    multicast high priority        12267373               1791036458

    multicast med cir priority     1038365                151601290

    multicast med eir priority     11229008               1639435168

    multicast low priority         12267373               1791036458

Host Transmit                      Packets                Bytes

    unicast high priority          12196151               1780638046

    unicast med cir priority       3116373                454990458

    unicast med eir priority       9080507                1325754022

    unicast low priority           12196501               1780689146

    multicast high priority        0                      0

    multicast med cir priority     0                      0

    multicast med eir priority     0                      0

    multicast low priority         0                      0

Line Transmit                      Packets                Bytes

    unicast high priority          24460679               3571259134

    unicast med cir priority       2632765                384383690

    unicast med eir priority       21827598               3186829308

    unicast low priority           24460238               3571194748

    multicast high priority        24463257               3571635522

    multicast med cir priority     2559571                373697366

    multicast med eir priority     21903442               3197902532

    multicast low priority         24462912               3571585152

Traffic Rate (20  Seconds)         Packets/Sec            Bits/Sec

    transit high priority          0                      0

    transit med cir priority       0                      0

    transit med eir priority       0                      0

    transit low priority           0                      0

    transit unicast                0                      0

    transit multicast              0                      0

    host receive                   0                      0

    host transmit                  0                      0

    line receive                   0                      0

    line transmit                  0                      0

Received Errors:

0 input errors,0 crc,0 parity,5177 ttldrop

0 frame runts,0 frame giants

 

East Span:

Transit                            Packets                Bytes

    total high priority            24534746               3582072916

    total med cir priority         2076478                303165788

    total med eir priority         22458267               3278906982

    total low priority             24534745               3582072770

    total unicast                  36802117               5373109082

    total multicast                36802119               5373109374

Host Receive                       Packets                Bytes

    unicast high priority          12263600               1741431200

    unicast med cir priority       1037178                147279276

    unicast med eir priority       11226422               1594151924

    unicast low priority           12263600               1741431200

    multicast high priority        12263600               1741431200

    multicast med cir priority     1038251                147431642

    multicast med eir priority     11225349               1593999558

    multicast low priority         12263599               1741431058

Line Receive                       Packets                Bytes

    unicast high priority          24527199               3580971054

    unicast med cir priority       2074890                302933940

    unicast med eir priority       22452309               3278037114

    unicast low priority           24527199               3580971054

    multicast high priority        24463257               3571635522

    multicast med cir priority     2559571                373697366

    multicast med eir priority     21903442               3197902532

    multicast low priority         24462912               3571585152

Host Transmit                      Packets                Bytes

    unicast high priority          12197080               1780773680

    unicast med cir priority       1595053                232877738

    unicast med eir priority       10601711               1547849806

    unicast low priority           12196639               1780709294

    multicast high priority        12199657               1781149922

    multicast med cir priority     1521320                222112720

    multicast med eir priority     10678093               1559001578

    multicast low priority         12199313               1781099698

Line Transmit                      Packets                Bytes

    unicast high priority          24463524               3571674504

    unicast med cir priority       4154486                606554956

    unicast med eir priority       20309766               2965225836

    unicast low priority           24463873               3571725458

    multicast high priority        12267373               1791036458

    multicast med cir priority     1038365                151601290

    multicast med eir priority     11229008               1639435168

    multicast low priority         12267373               1791036458

Traffic Rate (20  Seconds)         Packets/Sec            Bits/Sec

    transit high priority          0                      0

    transit med cir priority       0                      0

    transit med eir priority       0                      0

    transit low priority           0                      0

    transit unicast                0                      0

    transit multicast              0                      0

    host receive                   0                      0

    host transmit                  0                      0

    line receive                   0                      0

    line transmit                  0                      0

Received Errors:

0 input errors,0 crc,0 parity,5098 ttldrop

0 frame runts,0 frame giants

# Display the traffic statistics of the RPR physical port RPRPOS1/1/1.1.

<H3C> display rpr counters RprPos1/1/1.1

Data traffic counters for RprPos1/1/1.1

 

West Span:

Transit                            Packets                Bytes

    total high priority            24527199               3580971054

    total med cir priority         2075963                303090598

    total med eir priority         22451236               3277880456

    total low priority             24527198               3580970908

    total unicast                  36790797               5371456362

    total multicast                36790799               5371456654

Host Receive                       Packets                Bytes

    unicast high priority          12267373               1741966966

    unicast med cir priority       1037627                147343034

    unicast med eir priority       11229746               1594623932

    unicast low priority           12267373               1741966966

    multicast high priority        12267373               1741966966

    multicast med cir priority     1038365                147447830

    multicast med eir priority     11229008               1594519136

    multicast low priority         12267373               1741966966

Line Receive                       Packets                Bytes

    unicast high priority          24534746               3582072916

    unicast med cir priority       2075740                303058040

    unicast med eir priority       22459005               3279014730

    unicast low priority           24534745               3582072770

    multicast high priority        12267373               1791036458

    multicast med cir priority     1038365                151601290

    multicast med eir priority     11229008               1639435168

    multicast low priority         12267373               1791036458

Host Transmit                      Packets                Bytes

    unicast high priority          12196151               1780638046

    unicast med cir priority       3116373                454990458

    unicast med eir priority       9080507                1325754022

    unicast low priority           12196501               1780689146

    multicast high priority        0                      0

    multicast med cir priority     0                      0

    multicast med eir priority     0                      0

    multicast low priority         0                      0

Line Transmit                      Packets                Bytes

    unicast high priority          24460679               3571259134

    unicast med cir priority       2632765                384383690

    unicast med eir priority       21827598               3186829308

    unicast low priority           24460238               3571194748

    multicast high priority        24463257               3571635522

    multicast med cir priority     2559571                373697366

    multicast med eir priority     21903442               3197902532

    multicast low priority         24462912               3571585152

Traffic Rate (20  Seconds)         Packets/Sec            Bits/Sec

    transit high priority          0                      0

    transit med cir priority       0                      0

    transit med eir priority       0                      0

    transit low priority           0                      0

    transit unicast                0                      0

    transit multicast              0                      0

    host receive                   0                      0

    host transmit                  0                      0

    line receive                   0                      0

    line transmit                  0                      0

Received Errors:

0 input errors,0 crc,0 parity,5177 ttldrop

0 frame runts,0 frame giants

# Display transited traffic statistics of the RPR physical port RPRPOS 1/1/1.1.

<H3C> display rpr counters transit RprPos1/1/1.1

Data traffic counters for RprPos1/1/1.1

 

West Span:

Transit                            Packets                Bytes

    total high priority            24527199               3580971054

    total med cir priority         2075963                303090598

    total med eir priority         22451236               3277880456

    total low priority             24527198               3580970908

    total unicast                  36790797               5371456362

    total multicast                36790799               5371456654

Traffic Rate (300 Seconds)         Packets/Sec            Bits/Sec

    transit high priority          0                      0

    transit med cir priority       0                      0

    transit med eir priority       0                      0

    transit low priority           0                      0

    transit unicast                0                      0

    transit multicast              0                      0

Table 1-2 Description on the fields of the display rpr counters command

Field

Description

Data traffic counters for XXX

Traffic statistics of a specified port

West Span

West span

East Span

East span

Transit                       Packets             Bytes

Number of packets and bytes transited

total high priority

Total transited class A traffic

total med cir priority

Total transited class B0 traffic

total med eir priority

Total transited class B1 traffic

total low priority

Total transited class C traffic

total unicast

Total transited unicast

total multicast

Total transited multicast and broadcast

Host Receive            Packets                Bytes

Number of packets and bytes the host receives

Line Receive             Packets                Bytes

Number of packets and bytes the interface receives

Host Transmit            Packets                Bytes

Number of packets and bytes the host sends

Line Transmit            Packets                Bytes

Number of packets and bytes the interface sends

unicast high priority

Class A unicast

unicast med cir priority

Class B0 unicast

unicast med eir priority

Class B1 unicast

unicast low priority

Class C unicast

multicast high priority

Class A multicast and broadcast

multicast med cir priority

Class B0 multicast and broadcast

multicast med eir priority

Class B1 multicast and broadcast

multicast low priority

Class C multicast and broadcast

Traffic Rate (XXX Seconds)         Packets/Sec            Bits/Sec

Packet rate and bit rate in a time range, the value in the brackets can be tuned by the flow-interval command

transit high priority

Transited Class A traffic

transit med cir priority

Transited Class B0 traffic

transit med eir priority

Transited Class B1 traffic

transit low priority

Transited Class C traffic

transit unicast

Transited unicast

transit multicast

Transited multicast and broadcast

host receive

Traffic the host receives

host transmit

Traffic the host sends

line receive

Traffic the interface receives

line transmit

Traffic the interface sends

Received Errors

Error packets the interface receives

input errors

Input error statistics, including CRC packets, parity check packets, runt and giant packets.

crc

CRC packets

parity

Parity check packets

ttldrop

The packets dropped because the TTL becomes 0

frame runts

Runt frames

frame giants

Giant frames

 

1.1.5  display rpr defect

Syntax

display rpr defect [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Port number.

Description

Use the display rpr defect command to display all RPR defects. The value 1 indicates defects are found. The value 0 indicates there is no defect.

Examples

# Display all RPR defects.

<H3C> display rpr defect RprPos 5/1/1

Rpr defects of the interface: RprPos5/1/1

  Amount of reserved bandwidth exceeded defect: 0

  Jumbo configuration defect: 0

  Keepalive timeout:ringlet0 1,ringlet1 0

  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-3 Description on the fields of the display rpr defect command

Field

Description

Rpr defects of the interface

RPR defects of the port

Amount of reserved bandwidth exceeded defect

Reserved bandwidth exceeded

Jumbo configuration defect

Jumbo configuration defect

Maximum number of stations exceeded defect

Defect of maximum number of stations exceeded

Miscabling defect

Fiber misconnection defect

Protection mode configuration defect

Protection mode configuration defect

Inconsistent topology defect

Inconsistent topology defect

Topology instability defect

Instable topology defect

IP address duplicate defect

Duplicate IP address defect

 

1.1.6  display rpr fairness

Syntax

display rpr fairness [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Interface number.

Description

Use the display rpr fairness command to display configurable RPR fairness parameter values.

Examples

# Display RPR fairness parameters.

<H3C> display rpr fairness Rpr10GE5/1/1

Rpr fairness parameters of the interface:Rpr10GE5/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 on ringlet0: 50Mbps

  Local Rate-limiter bandwidth for high on ringlet1: 50Mbps

  Local Rate-limiter bandwidth for medium on ringlet0: 0Mbps

  Local Rate-limiter bandwidth for medium on ringlet1: 0Mbps

  Local Rate-limiter bandwidth for low on ringlet0: 10000Mbps

  Local Rate-limiter bandwidth for low on ringlet1: 10000Mbps

  Total Reserved bandwidth for class A0 on ringlet0: 0Mbps

  Total Reserved bandwidth for class A0 on ringlet1: 0Mbps

Table 1-4 Description on the fields of the display rpr fairness command

Field

Description

Rpr fairness parameters of the interface

RPR fairness parameters of the port

Station's fairness weight on ringlet0

Station's fairness weight on ring 0

Station's fairness weight on ringlet1

Station's fairness weight on ring 1

Local Reserved bandwidth for class A0 on ringlet0

Locally reserved bandwidth for class A0 on ring 0

Local Reserved bandwidth for class A0 on ringlet1

Locally reserved bandwidth for class A0 on ring 1

Local Rate-limiter bandwidth for high on ringlet0

Local rate-limiter bandwidth for class A1 on ringlet0

Local Rate-limiter bandwidth for high on ringlet1

Local rate-limiter bandwidth for class A1 on ringlet1

Local Rate-limiter bandwidth for medium on ringlet0

Local rate-limiter bandwidth for class B-CIR on ringlet0

Local Rate-limiter bandwidth for medium on ringlet1

Local rate-limiter bandwidth for class B-CIR on ringlet1

Local Rate-limiter bandwidth for low on ringlet0

Local rate-limiter bandwidth for class C and class B-EIR on ringlet0

Local Rate-limiter bandwidth for low on ringlet1

Local rate-limiter bandwidth for class C and class B-EIR on ringlet1

Total Reserved bandwidth for class A0 on ringlet0

Totally reserved bandwidth for class A0 on ring 0

Total Reserved bandwidth for class A0 on ringlet1

Totally reserved bandwidth for class A0 on ring 1

 

1.1.7  display rpr mac

Syntax

display rpr mac [ count | vlan-id vlan-id | eth-mac user-mac-addr | rpr-mac rpr-mac-addr | { RprPos | Rpr10GE | RprGE } interface-name ]

View

Any view

Parameters

count: Number of MAC addresses learnt by an RPR port.

vlan-id vlan-id: VLAN ID.

eth-mac user-mac-addr: User MAC address.

rpr-mac rpr-mac-addr: RPR station MAC address.

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-name: Interface name.

Description

Use the display rpr mac command to display the information about the user MAC addresses and RPR station MAC addresses learnt. This command can also display the number of the user MAC addresses learnt if you specify the count keyword.

l           If the vlan-id argument is not specified, this command displays all the VLANs the users belong to.

l           If the user-mac-addr argument is not specified, this command displays all the user MAC addresses learnt.

l           If the rpr-mac-addr argument is not specified, this command displays the mapping relationship between all the stations and user MAC addresses.

l           If the interface-name argument is not specified, this command displays the information about the MAC addresses corresponding to all the RPR logical interfaces.

Examples

# Display the information about all the user MAC addresses learnt.

<H3C> display rpr mac

    Dest-MAC        RPR-MAC      VLANID     Ringlet   TTL

 000f-e211-1116  000f-e251-b1c6  100         1        1

 000f-e272-4a16  000f-e211-e018  6           1        1

 

 Total 2 mac(s) on device 1(RprGE3/1/2).

Table 1-5 Description on the fields of the display rpr mac command

Field

Description

Dest-MAC

User MAC addresses learnt by an RPR port

RPR-MAC

MAC address of an RPR station

VLANID

ID of the VLAN a user belongs to

Ringlet

ID of the ringlet selected for reaching a user from a station

TTL

Number of the hops between a station and a user

Total 2 mac(s) on device 1(RprGE3/1/2)

Number of the MAC addresses an RPR logical interface learnt

 

1.1.8  display rpr protection

Syntax

display rpr protection [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Port number.

Description

Use the display rpr protection command to view protection information. If you do not specify port number, the command displays the protection information about all RPR ports.

RPR protection information includes but is not limited to the following contents:

l           MAC addresses of the neighbor stations

l           Protection mode, recovery protection mode, automatic protection status, manual protection status and edge status for local station

l           Protection statistics such as protection times, last protection time, protection duration, and others

l           Protection mode can be either configured or effective. You can configure protection mode, however, the configured protection mode may not take effect. RPR automatically checks total protection mode, and makes effective protection mode as consistent as possible.

Examples

# Display protection information.

<H3C> display rpr protection

Protection information of the interface: RprGE6/1/1

  Protection mode configured: steer

  Protection mode effective: steer

  Protection reversion mode: revertive

  Containment active: 0

  MAC address of the east neighbour:000f-e26b-05b4

  MAC address of the west neighbour:000f-e26b-03e4

  Protection State of the east span:idle

  Protection State of the west span:idle

  Edge status of the east span: false

  Edge status of the west span: false

  The number of protections on the east span:1

  The number of protections on the west span:0

  Last protection time on the east span:2008.01.24 11:22:07

  Last protection time on the west span:NULL

Table 1-6 Description on the fields of the display rpr protection command

Field

Description

Protection information of the interface

Protection information of the port

Protection mode configured

Configured protection mode

Protection mode effective

Currently effective protection mode

Protection reversion mode

Recovery protection mode

Containment active

Strict order check (0 means disabled and 1 means enabled)

MAC address of the east neighbor

MAC address of the east neighbor station

MAC address of the west neighbor

MAC address of the west neighbor station

Protection State of the east span

Protection status of the east span

Protection State of the west span

Protection status of the west span

Edge status of the east span

Edge status of the east span

Edge status of the west span

Edge status of the west span

The number of protections on the east span

The number of protections on the east span

The number of protections on the west span

The number of protections on the west span

Last protection time on the east span

Last protection time on the east span

Last protection time on the west span

Last protection time on the west span

Protection start time on the east span

Protection start time on the east span

Protection start time on the west span

Protection start time on the west span

 

1.1.9  display rpr rs-table

Syntax

display rpr rs-table { overall | static | dynamic | vrrp } [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

overall: Integrated ring selection tables, which guide field programmable gate array (FPGA) to select rings.

static: Static ring selection tables. You can create them manually. Their priority is higher than that of dynamic ring selection tables. But it takes effect only in closed rings.

dynamic: Dynamic ring selection tables. Topology databases can calculate them according to the shortest path.

vrrp: VRRP (virtual router redundancy protocol) ring selection tables, which consist of MAC ring selection entries from integrated ring selection tables when VRRP is supported.

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Port number.

Description

Use the display rpr rs-table command to display integrated ring selection table information. Integrated ring selection tables, which are written in CAM (conditional access module) of the FPGA finally, are generated from static and dynamic ring selection tables, In the case of closed rings, for the same destination station, the system selects rings according to the existing static ring selection information. Otherwise, the system selects rings according to the dynamic ring selection information. In the case of open rings, static ring selection does not take effect.

Examples

# Display the dynamic ring selection table of RPRPOS 5/1/1.

<H3C> display rpr rs-table dynamic RprPos 5/1/1

Dynamic ringlet selection table of interface: RprPos5/1/1

 

MAC Address    Ringlet TTL  IP Address       Station Name

000f-e255-1006    1      1  100.0.0.3        S9500-C

000f-e211-1116    0      2  100.0.0.2        S9500-B

000f-e239-af18    0      1  100.1.1.1        S9500-A

1.1.10  display rpr statistics

Syntax

display rpr statistics { dmac | smac } mac-address [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

dmac: Destination MAC address.

smac: Source MAC address.

mac-address: You can input in the format of H-H-H to query the source station bridge MAC address. All 0 indicates displaying MAC addresses of all stations in the ring.

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Port number.

Description

Use the display rpr statistics command to query the traffic statistics information of packets sent from other stations to local station or from the local station to other stations. .

Examples

# Query the traffic from station with bridge MAC address 000F-E211-1116 in the ring.

<H3C> display rpr statistics smac 000f-e211-1116 RprPos3/1/1

Source statistics of  interface: RprPos3/1/1

Mac address: 000f-e211-1116 Packets: 0 Bytes: 0

1.1.11  display rpr timers

Syntax

display rpr timers [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Port number.

Description

Use the display rpr timers command to display all configurable RPR timer values.

Examples

# Display all RPR timer values.

<H3C> display rpr timers RprPos 5/1/1

All the timers' value of  interface: RprPos5/1/1

  TP fast timer:  10ms

  TP slow timer: 100ms

  TC fast timer:  10ms

  TC slow timer: 100ms

  ATD timer:  1s

  WTR timer: 0s

  Holdoff timer: 0ms

 

  Topology stability timer: 40ms

  FDD timer:  100ms

  MAC-AGING timer: 30s

Table 1-7 Description on the fields of the display rpr timers command

Field

Description

All the timers' value of interface

All the timers' values of the port

TP fast timer

TP fast timer

TP slow timer

TP slow timer

TC fast timer

TC fast timer

TC slow timer

TC slow timer

ATD timer

ATD timer

WTR timer

WTR timer

Holdoff timer

Holdoff timer

Topology stability timer

Stable topology timer

FDD timer

FDD timer

MAC-AGING timer

Aging timer for RPR MAC learning

 

1.1.12  display rpr topology

Syntax

display rpr topology { all | ring | local | stations } [ verbose ] [ { RprPos | Rpr10GE | RprGE } interface-number ]

View

Any view

Parameters

all: Displays complete RPR topology information.

ring: Displays ring-level topology information.

local: Displays local station topology information.

stations: Displays all station topology information on the ring.

verbose: Displays detailed information of the station topology.

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Port number.

Description

Use the display topology command to view topology information.

With the all, ring, local and stations keywords, the command displays different ring topology information. When the optional parameter is an interface name, the command displays the topology information of the interface; when the optional parameter is verbose + interface name, the command displays the detailed information of the interface; when the optional parameter is verbose only, the command displays the detailed information of all interfaces.

Ring topology information includes the number of stations in the ring, ring topology type, maximum transmission unit (MTU) value and others.

Local station topology information includes local station MAC address, protection status, edge status, and others.

Other station topology information contains MAC addresses for other stations, protection status, edge status and others.

If you do not specify a port, the command displays all RPR port topology information.

Examples

# View the local topology information.

<H3C> display rpr topology local verbose

Local station topology information of interface:RprPos5/1/1

  Mac address:000f-e211-1116

  Station name:S9500-D

  Ip address:100.0.0.4

  Jumbo preference:jumbo

  Current protection mode:steer

  Protection state on ringlet0:idle

  Protection state on ringlet1:idle

  Edge status on ringlet0: false

  Edge status on ringlet1: false

  Sequence number:26

  Last known neighbour on ringlet0: 000f-e211-7a16

  Last known neighbour on ringlet1: 000f-e219-11a6

  Local topology state:topology is valid

1.1.13  flag

Syntax

flag { c2 c2-value | j0 j0-value | j1 j1-value }

undo flag { c2 | j0 | j1 }

View

RPR POS physical port view

Parameters

c2 c2-value: Path signal label byte, which is a high-order path overhead byte, and indicates the multiplexing structure and message payload of the VC (virtual container) frame.

j0 j0-value: Regeneration section trace message, which is a section overhead byte, and checks port connectivity at section level.

j1 j1-value: Higher-order VC-N path trace byte, which is a high-order overhead byte, and checks port connectivity at path level.

Description

Use the flag command to configure SONET/SDH overhead bytes.

Use the undo flag command to restore the default configuration.

c2 is 0x16 by default.

By default, j0 and j1 both are “H3C”.

The c2, j0 and j1 values should be consistent respectively at the receiver and sender. Otherwise, the system may give alarms.

Examples

# Configure overhead byte for the RPR port.

<H3C> system-view

[H3C] interface RprPos 2/1/1.1

[H3C-RprPos2/1/1.1] flag c2 22

1.1.14  frame-format

Syntax

frame-format { sdh | sonet }

undo frame-format

View

RPR POS physical port view

Parameters

sdh: Specifies the framing format as SDH.

sonet: Specifies the framing format as SONET.

Description

Use the frame-format command to configure the framing format on the RPR POS physical port.

Use the undo frame-format command to restore the default configuration.

By default, the framing format is SDH.

Examples

# Configure the RPR port RPRPOS 2/1/1.1 to use SDH framing format.

<H3C> system-view

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

[H3C] interface RprPos 2/1/1.1

[H3C-RprPos2/1/1.1] frame-format sdh

1.1.15  interface { RprPos | Rpr10GE | RprGE } interface-number

Syntax

interface { RprPos | Rpr10GE | RprGE } interface-number

View

System view

Parameters

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number: Interface number.

Description

Use the interface { RprPos | Rpr10GE | RprGE } command to enter RPR logical interface view.

Examples

# Enter RPR logical interface view.

<H3C> system-view

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

[H3C] interface RprPos 3/1/1

[H3C-RprPos3/1/1]

1.1.16  interface { RprPos | Rpr10GE | RprGE } interface-number . { 1 | 2 }

Syntax

interface { RprPos | Rpr10GE | RprGE } interface-number . { 1 | 2 }

View

System view

Parameters

RprPos: Specifies the interface type RPRPOS.

Rpr10GE: Specifies the interface type RPR10GE.

RprGE: Specifies the interface type RPRGE.

interface-number { 1 | 2 }: Physical port number.

Description

Use the interface { RprPos | Rpr10GE | RprGE } interface-number . { 1 | 2 } command to enter RPR physical port view.

Examples

# Enter RPR physical port view.

<H3C> system-view

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

[H3C] interface RprPos 3/1/1.1

[H3C-RprPos3/1/1.1]

1.1.17  loopback

Syntax

loopback { external | internal }

undo loopback

Syntax

RPR logical interface view

Parameters

external: Specifies the port loopback mode as external. Currently, the S9500 series do not support this mode.

internal: Specifies the port loopback mode as internal.

Description

Use the loopback command to set the loopback mode of an RPR logical interface.

Use the undo loopback command to remove the configuration.

By default, no loopback mode is configured on the RPR logical interface.

Examples

# Set the loopback mode of the RPR logical interface as internal.

<H3C> system-view

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

[H3C] interface rprpos 3/1/1

[H3C-RprPos3/1/1] loopback internal

1.1.18  port-type

Syntax

port-type { 10gpos | 10ge }

View

RPR logical interface view

Parameters

10gpos: Specifies the RPRPOS mode.

10ge: Specifies the RPR10GE mode.

Description

Use the port-type command to set the 10G RPR board mode. After the mode changes successfully, the board restarts automatically for the port to switch to new RPR port type.

 

  Caution:

l      This command is only available to 10G RPR ports. A 2.5G RPR port supports only the POS mode, and a GE RPR port supports only the RprGE mode.

l      After you change the port type of an RPR port and the card  restarts, the existing configuration of the port will be automatically removed. Therefore, you need to configure the port again.

 

Examples

# Set RPR port type to 10GE.

<H3C> system-view

[H3C] interface RprPos 3/1/1

[H3C-RprPos3/1/1] port-type 10ge

1.1.19  reset counters interface

Syntax

reset counters interface [ interface-type interface-number ]

View

User view

Parameters

interface-type: Interface type.

interface-number: Port number, in the format of slot number/card number/port number. The port can be an RPRPOS logical interface or physical port.

Description

Use the reset counters interface command to clear port statistics to implement statistics of related information on the port..

Examples

# Clear the statistics on RPRPOS 2/1/1.

<H3C> reset counters interface RprPos2/1/1

# Clear the statistics on RPRPOS 2/1/1.1.

<H3C> reset counters interface RprPos2/1/1.1

1.1.20  rpr admin-request

Syntax

rpr admin-request { fs | ms | idle } { ringlet0 | ringlet1 }

View

RPR logical interface view

Parameters

fs: Forced switchover.

ms: Manual switchover.

idle: Clears forced switchover or manual switchover and enters Idle state.

ringlet0: Requests switchover in Ringlet0.

ringlet1: Requests switchover in Ringlet1.

Description

Use the rpr admin-request fs command to generate a forced switchover request, making the station enter forced switchover status. The event related to switchover in protection mechanism includes FS, SF, SD, MS, WTR and IDLE. Other protection requests are not able to preempt FS with the highest priority. After you use the rpr admin-request fs command to generate an FS request, other events are not able to preempt FS. To cancel FS, you must use the rpr admin-request idle command.

Use the rpr admin-request ms command to generate an MS for manual switchover. The MS priority is lower. Both the rpr admin-request idle command and any failure (FS, SF or SD) in the RPR ring can preempt MS, making MS fail. If there are other commands with higher priority, the manual switchover you are performing also fails automatically.

Use the rpr admin-request idle command to clear forced switchover or manual switchover.

Note that:

l           The receiving and sending sub-rings of port 1 on the panel are Ringlet0 and Ringlet1 respectively. The receiving and sending sub-rings of port 2 on the panel are Ringlet1 and Ringlet0 respectively. Here Ringlet0 and Ringlet1 are both receiving sub-rings.

l           Do not request FS in the two ringlets on the same logical interface of the master board of the distributed RPR.

Examples

# Request FS in the Ringlet0 of the station.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr admin-request fs ringlet0

# Request for MS protection in the receiving direction on Ringlet1 of the station.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr admin-request ms ringlet1

1.1.21  rpr cos-precedence-map

Syntax

rpr cos-precedence-map { tag | mpls | ip } value0 value1 value2 value3 value4 value5 value6 value7

undo rpr cos-precedence-map { tag | mpls | ip }

View

RPR logical interface view

Parameters

tag: Maps tag priority to RPR priority

mpls: Maps mpls priority to RPR priority

ip: Maps ip priority to RPR priority.

value0 to value7: Values of the RPR priority which tag, mpls and ip priorities correspond respectively to. 0—A, 1—B, 2—C.

Description

Use the rpr cos-precedence-map command to map tag, mpls and ip priority types to RPR priority.

Use the undo rpr cos-precedence-map command to remove the configuration and restore the default configuration.

The eight parameters indicate the RPR priority which tag, mpls and ip priorities correspond respectively to. By default, for packets with a tag, the mapping will be implemented as per tag; for packets without a tag, if they are MPLS packets, the mapping will be implemented as per MPLS priority; if they are IP packets instead of MPLS packets, the mapping will be implemented as per IP priority; if they are either MPLS packets or IP packet, the priority will be mapped to Class C.

 

  Caution:

GE RPR ports do not support MPLS precedence mapping and IP precedence mapping.

 

Examples

# Configure tag priorities 6 and 7 as class A service, priorities 2, 3, 4 and 5 as class B service, and priorities 0 and 1 as class C service.

<H3C> system-view

[H3C] interface RprPos3/1/1

[H3C-RprPos3/1/1] rpr cos-precedence-map tag 2 2 1 1 1 1 0 0

1.1.22  rpr default-rs

Syntax

rpr default-rs { ringlet0 | ringlet1 }

View

RPR logical interface view

Parameters

ringlet0: Transports broadcast, multicast and Flooding packets over Ringlet0.

Ringlet1: Transports broadcast, multicast and Flooding packets over Ringlet1.

Description

Use the rpr default-rs command to configure the default RPR ring ID. Broadcast, multicast and Flooding packets are transmitted in the default ring. Note that the default ring selection is the sending sub-ring.

Examples

# Configure the default RPR ring ID as Ringlet0.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr default-rs ringlet0

1.1.23  rpr echo

Syntax

rpr echo { mac mac-address | station-name station-name } [ -c value | -s value | -r value | -t value | -p value ] *

View

RPR logical interface view

Parameters

mac-address: MAC address of the destination station to be detected.

station-name: Name of the destination station to be detected. You can select either station name or MAC address.

-s: Specifies the sub-ring to send test frames. You cannot configure default sub-ring for transmitting packets.

-r: Specifies the sub-ring to receive test frames.

-c: Specifies the number of packets to be sent.

-t: Specifies the timeout time to wait for acknowledgement.

-p: Specifies whether OAM operations need to be protected in the steer mode.

Description

Use the rpr echo command to test station connectivity. If two stations are connected correctly at the physical layer, but the connection fails at the service layer, you can use the Echo Req/Echo Rsp message to test the failure. The source station sends an Echo Req message. When receiving it, the destination station gives the sender an Echo Rsp message. If the source station receives the Echo Rsp message within the specified time, it shows the connection is correct. Otherwise, it shows the failure between the two stations.

Examples

# Detect whether the connection to station A whose Mac address is 000F-E211-1116 in the ring is correct.

<H3C> system-view

[H3C] interface RprPos5/1/1

[H3C-RprPos5/1/1] rpr echo mac 000f-e211-1116

 

  echo 000f-e211-1116 , press CTRL_C to break

    reply from  000f-e211-1116:  hops=1 seq=1 rcv-ri=0 time=2 ms

 

  --- echo 000f-e211-1116 statistics ---

    1 packet(s) transmitted

    1 packet(s) received

    0.00%  packet loss

    round-trip min/avg/max  = 2/2/2 ms

1.1.24  rpr protect-mode

Syntax

rpr protect-mode { steer | wrap }

undo rpr protect-mode

View

RPR logical interface view

Parameters

steer: The source station sends data in another direction for protection.

wrap: The failure station sends data in loopback mode for protection.

Description

Use the rpr protect-mode command to configure station protection mode as Steer or Wrap. The default mode is Steer.

Use the undo rpr protect-mode command to restore the steer RPR protection mode.

Examples

# Set the RPR protection mode to Wrap.

<H3C> system-view

[H3C] interface RprPos3/1/1

[H3C-RprPos3/1/1] rpr protect-mode wrap

1.1.25  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

Parameters

high: Class A service; the default value is five thousandth.

low: Class C and class B-EIR service.

medium: Class B-CIR service.

reserved: Configures the reserved bandwidth for class A0 service, which has the highest priority; the default value is 0 Mbps.

ringlet0: Configures the reserved bandwidth or rate limit for the station on Ringlet0.

ringlet1: Configures the reserved bandwidth or rate limit for the station on Ringlet1.

value: Thousandth of the reserved bandwidth or rate limiter, in the range 0 to 955. The step is 1, the default value of high class is 5.

Description

Use the rpr rate-limiter command to configure rate limit for class A, class B-CIR, class C and class B-EIR services on the local station.

Use the undo rpr rate-limiter command to restore rate limit to the default value. When the rate exceeds this limit, back pressure will occur.

Note: The total reserved bandwidth for all stations on a ring must not exceed the ring bandwidth.

Examples

# Set the rate limit for local class A1 service on Ringlet0 and Ringlet1 to 5‰

<H3C> system-view

[H3C] interface Rpr10GE6/1/1

[H3C-Rpr10GE6/1/1] rpr rate-limiter high ringlet0 5

[H3C-Rpr10GE6/1/1] rpr rate-limiter high ringlet1 5

1.1.26  rpr reversion-mode

Syntax

rpr reversion-mode { revertive | non-revertive }

undo rpr reversion-mode

View

RPR logical interface view

Parameters

non-revertive: Sets the protection reversion mode to non-revertive. After the WTR timer times out, the service cannot be restored till others request high priority protection in the ring.

revertive: Sets the protection reversion mode to revertive. After the WTR timer times out, the service can be restored at once.

Description

Use the rpr reversion-mode command to set the protection reversion mode.

Use the undo rpr reversion-mode command to restore the default mode.

The default RPR protection reversion mode is revertive.

Examples

# Set RPR protection reversion mode to non-revertive.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr reversion-mode non-revertive

1.1.27  rpr static-rs

Syntax

rpr static-rs { mac-address } { ringlet0 | ringlet1 }

undo rpr static-rs [ mac-address ]

View

RPR logical interface view

Parameters

mac-address: MAC address of destination station.

ringlet0: Transports packets to the specified station over Ringlet0.

ringlet1: Transports packets to the specified station over Ringlet1.

Description

Use the rpr static-rs command to configure static ring selection information and force the RPR ring to transmit packets to the specified station. You can configure them according to the IP address or MAC address of the destination station.

Use the undo rpr static-rs command to remove the configuration. If no parameter is selected, the command removes all static configurations.

By default, the static ring selection information is not configured.

Note that two stations’ bridge MAC addresses cannot be the same on the ring. Here both Ringlet0 and Ringlet1 refer to sending sub-rings.

Examples

# Transport data packets to the destination station with MAC address 0016-E266-0101 over ringlet0, and transport data packets to the destination station with MAC address 0016-E266-0202 over ringlet1.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr static-rs 0016-e266-0101 ringlet0

[H3C-RprPos2/1/1] rpr static-rs 0016-e266-0202 ringlet1

1.1.28  rpr station-mac

Syntax

rpr station-mac

undo rpr station-mac

View

RPR logical interface view

Parameters

None

Description

Use the rpr station-mac command to configure the MAC address of the RPR station specified by the RPR logical interface. The configured MAC address will be: MAC address of the RPR station’s VLAN interface + 4.

Use the undo rpr station-mac command to restore the default.

By default, the MAC address of an RPR station is the MAC address of the RPR station’s VLAN interface.

Note that the rpr station-mac command cannot be executed on the GERPR interface.

Example

# Configure the MAC address of the RPR station specified by RPRPOS 2/1/1.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr station-mac

1.1.29  rpr station-name

Syntax

rpr station-name string

undo rpr station-name

View

RPR logical interface view

Parameters

string: Station name, a string consisting of up to 20 bytes.

Description

Use the rpr station-name command to configure a station name.

Use the undo rpr station-name command to remove the configuration.

Examples

# Name the local station as hangzhou.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr station-name hangzhou

1.1.30  rpr timer

Syntax

rpr timer { atd value | fdd value | holdoff value | stability value | tp-fast value | tp-slow value | tc-fast value | tc-slow value | wtr value | keepalive value | mac-aging value }

undo rpr timer { atd | fdd | holdoff | stability | tp-fast | tp-slow | tc-fast | tc-slow | wtr | keepalive | mac-aging }

View

RPR logical interface view

Parameters

atd value: Sets the ATD timer. The value argument ranges from 1 to 200 (in 50 ms). The system default is 20, meaning one second..

fdd value: Sets the FDD timer. The value argument ranges from 10 to 1,000 (in milliseconds).

holdoff value: Sets the hold-off timer. The value argument ranges from 0 to 50 (in 10 milliseconds). The system default is 0.

stability value: Sets the stability timer. The value argument ranges from 10 to 100 (in milliseconds).

tp-fast value: Sets the TP-fast timer. The value argument ranges from 1 to 20 (in milliseconds).

tp-slow value: Sets the TP-slow timer. The value argument ranges from 1 to 200 (in 50 ms). The system default is 20, meaning one second.

tc-fast value: Sets the TC-fast timer. The value argument ranges from 1 to 20 (in milliseconds).

tc-slow value: Sets the TC-slow timer. The value argument ranges from 50 to 1,000 (in milliseconds).

wtr value : Sets the WTR timer. The value argument ranges from 0 to 1440 (in seconds). The system default is 10 seconds.

keepalive value: Sets the keepalive timer (in million seconds). The value argument ranges from 2 to 50 and must be a multiple of 1. The system default is 10 ms.

mac-aging value: Sets the MAC aging timer (in seconds). The value argument ranges from 0 to 600 and must be a multiple of 1. The system default is 30 seconds.

Description

Use the rpr timer to set a timer.

Use the undo rpr timer command to restore the setting of a timer to the default.

 

  Caution:

When configuring mac-aging keyword on a 10G or 2.5G RPR port, make sure the value is a multiple of 10.

 

Examples

# Set the ATD timer to 3 seconds.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr timer atd 3

1.1.31  rpr weight

Syntax

rpr weight { ringlet0 | ringlet1 } value

undo rpr weight { ringlet0 | ringlet1 }

View

RPR logical interface view

Parameters

ringlet0: Configures station weight on Ringlet0.

Ringlet1: Configures station weight on Ringlet1.

value: Station weight. The default value is 1.

Description

Use the rpr weight command to configure the station weight. Fairness algorithm uses station weight to calculate local fairness rate. The default weight is 1.

Use the undo rpr weight command to restore the default weight.

The fairness algorithm calculates the local fairness rate based on the station weight value. By default, the weight value is 0. In fact, the weight value configured here is the Nth power of 2, namely weight = 2 value, where value ranges 0 to 7. Therefore, the value range of weight is 1 to 128.

Examples

# Set weight of stations on ringlet0 to 2.

<H3C> system-view

[H3C] interface RprPos2/1/1

[H3C-RprPos2/1/1] rpr weight ringlet0 2

1.1.32  sdh threshold

Syntax

sdh threshold sdber value sfber value

undo sdh threshold

View

RPR POS physical port view

Parameters

sdber value: Threshold index for signal degrade (SD BER). It ranges from 5 to 7 and defaults to 6. The actual alarm threshold can be obtained by using the following expression: 10-value.

sfber value: Threshold index for signal failure (SF BER). It ranges from 3 to 5 and defaults to 4. The actual alarm threshold can be obtained by using the following expression: 10-value.

Description

Use the sdh threshold command to set the SD threshold and SF threshold.

Use the undo sdh threshold command to restore the default configuration.

The alarm information configured by this command is the overhead in SDH frame header, which monitors SDH signals at each layer.

Examples

# Set the SD threshold index to 6 and the SF threshold index to 5.

<H3C> system-view

[H3C] interface RprPos2/1/1.1

[H3C-RprPos2/1/1.1] sdh threshold sdber 6 sfber 5

1.1.33  shutdown

Syntax

shutdown

undo shutdown

View

RPR logical/physical port view

Parameters

None

Description

Use the shutdown command to disable the RPR logical/physical interface.

Use the undo shutdown command to enable the RPR logical/physical interface.

 

  Caution:

On a ring network, with the shutdown command executed on the RPR logical interface of a station, the traffic of the ring network is forwarded by the station instead of entering the logical interface.

 

After you disable an RPR physical port using the shutdown command, the corresponding laser is turned off, and the ring network enables the corresponding protection.

Examples

# Disable RPRPOS logical interface RPRPOS 2/1/1.

<H3C> system-view

[H3C] interface RprPos2/1/1.1

[H3C-RprPos2/1/1.1] shutdown

 


Chapter 2  RPR Layer 2 Tunnel Extended Application Configuration Commands

2.1  RPR Layer 2 Tunnel Extended Application Configuration Commands

2.1.1  display rpr tunnel-table

Syntax

display rpr tunnel-table [ vlan vlanid [ range number ] ] [ valid | invalid ] [ interface-type interface-number ]

View

Any view

Parameters

vlanid: Start VLAN ID of the VLAN ID range.

range number: Number of the VLANs apart from the start VLAN.

valid: Displays the valid entries only.

invalid: Displays the invalid entries only.

interface-type: Port type.

interface-number: Port number.

Description

Use the display rpr tunnel-table command to display the information about an RPR tunnel.

This command can also display the information about all the tunnels or display tunnel information according to VLAN, tunnel state (valid or invalid), or port number.

Examples

# Display the information about all the RPR Layer 2 tunnels.

<H3C> display rpr tunnel-table

Tunnel vlan table of  interface: RprPos4/1/1

 

Vid - Vlan ID, DA - Dest Mac Address, CA - Current Mac Address,

ARi - Actual Ringlet,CRi - Configed Ringlet, F - Force Ringlet,

Ttl - Ttl,Vld - Entry Valid, MonitorPort - Monitor Port

 

Vid      DA1                 DA2        CA  ARi  CRi  F  Ttl  Vld

1002     02dc-34e3-4ee0      N/A        1   0    0    T  2    1

1003     02dc-34e3-4ee0      N/A        1   0    0    T  2    1

 

MonitorPort

GigabitEthernet12/1/1

Ethernet11/1/3

 

 total 2, valid  2, invalid  0

Table 2-1 Description on the fields of the display rpr tunnel-table command

Field

Description

Vid

Tunnel entry corresponding to the VLAN

DA1

The first MAC address used to configure a tunnel

DA2

The second MAC address used to configure a tunnel

CA

Outbound MAC address of the current tunnel  (I means DA1 is used and 2 means DA2 is used)

ARi

ID of the current ringlet

CRi

ID of the user configured ringlet

F

Ringlet-tunnel binding by force: T means enabled, and F means disabled

Ttl

Time to live

Vld

The state of an entry

1 for valid, and 0 for invalid.

MonitorPort

Collaborating port

total 2, valid  2, invalid  0

Number of total, valid, and invalid tunnel entries

 

2.1.2  display rpr tunnel-track

Syntax

display rpr tunnel-track { all | rpr-interface interface-type interface-number [ to bas-interface interface-type interface-number ] }

View

Any view

Parameters

interface-type: Port type.

interface-number: Port number.

bas-Interface: Specifies a BAS port, which can be an Ethernet port or an RPR logical interface.

rpr-Interface: Specifies an RPR port, which can only be an RPR logical interface.

all: Displays all the port binding information.

Description

Use the display rpr tunnel-track command to display all the port binding configuration or the binding configurations of a port.  When executing this command, you can specify only an RPR port or a complete collaboration port. However, you cannot only specify a BAS port.

Examples

# Display the port binding configuration that matches GigabitEthernet 2/1/1 to RPRPOS 6/1/1.

<H3C> display rpr tunnel-track rpr-interface r6/1/1 to bas-interface g2/1/1

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

BAS-Interface : GigabitEthernet2/1/1     [ USER_ADM_DOWN ]

RPR-Interface : RprPos6/1/1              [ LINK_UP ]

VLAN:

2 to 4,         6 to 8,         10 to 12,       14 to 16,

18 to 20,       22 to 24,       26 to 28,       30 to 32,

34 to 36,

Trigger-shutdown : enabled

Table 2-2 Description on the fields of the display rpr tunnel-track command

Field

Description

BAS-Interface

Configured port connected with the BAS

RPR-Interface

Configured RPR port

[ USER_ADM_DOWN ]

The status of the corresponding port.

USER_ADM_DOWN: The port is shut down manually.

BIND_DOWN: The port is shut down by the system because trigger-shutdown is configured.

LINK_UP: The link is up.

LINK_DOWN:: The link is down because of other problems.

VLAN

List of the VLANs bound

Trigger-shutdown

Decide whether to shut down the BAS port actively when the RPR port is not in up state.

 

2.1.3  rpr tunnel track

Syntax

rpr tunnel track interface-type interface-number to interface-type interface-number vlan vlan-list [ trigger-shutdown ]

undo rpr tunnel track [ interface-type interface-number to interface-type interface-number ]

View

System view

Parameters

interface-type: Port type.

interface-number: Port number.

vlan-list: VLANs to be bound. You can specify separate VLANs or a VLAN range in the format of vlan-list = { vlanid [ to vlanid ] }&<1-9>. &<1-9> means that you can provide up to nine separate VLANs or VLAN ranges.

trigger-shutdown: Specifies to shut down the ports bound to a BAS port when the latter goes down. If you specify this keyword, the ports specified are shut down automatically when the BAS port bound goes down. Otherwise, you need to shut down the ports manually.

Description

Use the rpr tunnel track command to bind the port connected with a BAS and specified RPR ports and specify the related VLANs. Use the undo rpr tunnel track command to remove the corresponding configuration.

When a BAS port goes down/up, the RPR ports bound to it release a VLAN reachable/unreachable message to notify the entire network, by which the related RPR stations decide whether or not to switch Layer 2 tunnels. By specifying the trigger-shutdown keyword, you can have the BAS port automatically shut down when the status of specific RPR ports change to trigger port switching on the uplink BAS device.

Examples

# Bind GigabitEthernet 4/1/1 to RPRPOS 6/1/1. Specify the related VLANs as VLAN 2, VLAN 7, and VLAN 10. Enable automatic port shutdown.

<H3C> system-view

[H3C] rpr tunnel track GigabitEthernet4/1/1 to RprPos6/1/1 vlan 2 7 10 trigger-shutdown

# Remove a port binding.

[H3C] undo rpr tunnel track GigabitEthernet4/1/1 to RprPos6/1/1

# Remove all the port binding.

<H3C> system-view

[H3C] undo rpr tunnel track

2.1.4  rpr tunnel vlan

Syntax

rpr tunnel vlan vlanid [ range number ] dest-mac mac-address [ priority priority ] [ mac-address [ priority priority ] ] { ringlet0 | ringlet1 }

rpr tunnel vlan vlanid dest-mac mac-address { ringlet0 | ringlet1 } force-ringlet [ monitor-port interface-type interface-number ]

undo tunnel vlan vlanid [ range number ]

View

RPR logical interface view

Parameters

vlanid: Start VLAN ID of the VLAN ID range.

range number: Number of the VLANs apart from the start VLAN.

dest-mac mac-address: Destination MAC address of the Layer 2 tunnel. You can configure up to two destination MAC addresses. If the two destination MAC addresses are assigned with the same priorities, the first site is preferred.

priority priority: Assign a priority for a destination MAC address tunnel selecting. The default priority is 0. A bigger value represents a higher priority.

ringlet0: Specifies the ringlet 0 for data transfer.

ringlet1: Specifies the ringlet 1 for data transfer.

force-ringlet: Specifies a ringlet-tunnel binding by force. If the keyword is specified, the packets in the VLAN are tunneled through the ringlet in the binding if the original ringlet fails.

monitor-port interface-type interface-number: Specifies a collaborating port. The argument interface-type interface-number specifies an Ethernet port by port type and port number. A collaborating port can only be mapped to one tunnel. For an RPR logical interface, up to 32 tunnels with collaborating ports can be configured.

Description

Use the rpr tunnel vlan command to configure packets of specific VLANs to be tunneled to the destination address.

Use the undo tunnel vlan command to restore the default.

By default, packets of VLANs are not configured to be tunneled to a destination station.

Examples

# Specify a tunnel for VLAN 8 to the destination address 000F-E211-1B16 through GigabitEthernet 2/1/1 by binding ringlet 0.

<H3C> system-view

[H3C] interface RprPos7/1/1

[H3C-RprPos7/1/1] rpr tunnel vlan 8 dest-mac 000f-e211-1b16 ringlet0 force-ringlet monitor-port GigabitEthernet12/1/1

 


Chapter 3  VRRP over RPR Collaboration Group Configuration Commands

3.1  VRRP over RPR Collaboration Group Configuration Commands

3.1.1  display rpr vrrp

Syntax

display rpr vrrp [ interface-type interface-number ] [ group group-id ]

View

Any view

Parameters

interface-type: RPR logical interface type.

interface-number: RPR port number.

group-id: VRRP group ID, in the range 1 to 2.

Description

Use the display rpr vrrp group command to display the information about a VRRP group to which an RPR port is bound.

You can provide the logical RPR interface or the VRRP group, or both, for the command. When displaying collaboration group information, the system does not check whether or not the VLAN and VRID of the elaboration group exist in the system. If you do not specify a group ID, this command displays the information about all the groups on the port. If neither of the group number and RPR port number is provided, the command displays the information about all the collaboration groups configured in the system. If the VRRP group bound with the queried collaboration group is not configured, the system only displays the configuration information of the collaboration group.

Examples

# Display the information about the VRRP collaboration group 2 in RPR logical interface RPRPOS 4/1/1 with enabled VRID 1.

<H3C> display rpr vrrp RprPos4/1/1 group 2

Group ID        : 2

Interface       : RprPos4/1/1

 Vlan ID         : 1000

 VRID            : 1

 Mate MAC        : 000f-e211-1b16

 State           : Master

 Local Pri       : 100            Remote Pri   : 100

# Display the information about VRRP collaboration group 2 in RPR logical interface RPRPOS 4/1/1 with disabled VRID 1.

<H3C> display rpr vrrp RprPos 4/1/1 group 2

Group ID        : 1

Interface       : RprPos 4/1/1

 Vlan ID         : 1000

 VRID            : 1

 Mate MAC        : 000f-e211-1b16

 

Table 3-1 Description on the fields of the display rpr vrrp command

Field

Description

Interface

Port of a collaboration group

Vlan ID

VLAN of a collaboration group

VRID

VRID of a collaboration group

Mate MAC

MAC address of the adjacent station

State

State of a port in a collaboration group

Local Pri

Local priority

Remote Pri

Remote priority

 

3.1.2  rpr vrrp

Syntax

rpr vrrp vlan vlan-id vrid vrid-id [ mate h-h-h ] group group-id

View

RPR logical interface view

Parameters

vlan-id: ID of the VLAN to be bound. It ranges from 1 to 4094 and can be in any group with the allowed VLAN specifications.

vrid-id: VRRP VRID group to be bound. It ranges from 1 to 255 and can be in any group with the allowed VLAN specifications.

mate h-h-h: MAC address of the adjacent station. It indicates whether fast switching is required for the current collaboration group. If you select this argument, the system will compare the received attribute discovery (ATD) frame with the configured MAC address. If they match each other, the system will resolve the frame, and switch the collaboration group according to the priorities.

group-id: Group ID in the range of 1 to 2.

Description

Use the rpr vrrp command to bind a VRRP VRID in a VLAN to an RPR logical interface, and specify whether fast switching is required.

When you configure a collaboration group, the system does not check whether the specified VLAN and VRID exist or not. A collaboration group takes effect only when the VLAN and VRID exist. The MAC address of the adjacent station needs to be configured by users. Based on the protocol frame of the matched MAC address, the collaboration group decides whether to perform fast switching. The system does not check whether the configured MAC address of the adjacent station is an address in the RPR. Instead, users must make appropriate configurations themselves. Each RPR logical interface can only be configured with two VRRP over RPR collaboration groups.

Examples

# Add a VRRP collaboration group to the RPR logical interface RPRPOS 4/1/1, binding VRID 20 in VLAN 10 to RPRPOS 4/1/1 (the MAC address of the adjacent station is 000F-E211-1B16).

<H3C> system-view

[H3C] interface RprPos 4/1/1

[H3C-RprPos 4/1/1] Rpr vrrp vrid 20 vlan 10 mate 000f-e211-1b16 group 1

3.1.3  undo rpr vrrp group

Syntax

undo rpr vrrp group group-id

View

RPR logical interface view

Parameters

group-id: VRRP VRID configured in a port, in the range 1 to 2.

Description

Use the undo rpr vrrp group command to unbind a VRRP VRID in a VLAN from a group configured in an RPR logical interface.

To execute the command in RPR logical interface view, you only need to specify the port number and collaboration group number.

Examples

# Remove VRRP collaboration group 2 configured on the RPR logical interface RPRPOS 4/1/1.

<H3C> system-view

[H3C] interface RprPos 4/1/1

[H3C-RprPos4/1/1] undo rpr vrrp group 2

 


Chapter 4  Intersecting RPR Rings Configuration Commands

4.1  Intersecting RPR Rings Configuration Commands

4.1.1  debugging rpr cross-ring event

Syntax

debugging rpr cross-ring event

undo debugging rpr cross-ring event

View

User view

Parameters

None

Description

Use the debugging rpr cross-ring event command to enable the debugging for events of intersecting RPR rings.

Use the undo debugging rpr cross-ring event command to disable the debugging.

By default, the debugging is disabled.

After you execute the debugging rpr all/undo debugging rpr all command, the debugging for events of intersecting RPR rings is enabled/disabled.

Examples

# Enable the debugging for events of intersecting RPR rings.

<H3C> debugging rpr cross-ring event

4.1.2  debugging rpr cross-ring packet

Syntax

debugging rpr cross-ring packet { all | nsn | nrc | psc | flushmac }

undo debugging rpr cross-ring packet { all | nsn | nrc | psc | flushmac }

View

User view

Parameters

all: Debugging for all protocol packets of intersecting RPR rings.

nsn: Debugging for notifications of intersecting RPR stations.

nrc: Debugging for role change notifications.

psc: Debugging for notifications of the intersecting port state changes.

flushmac: Debugging for flushmac packets of intersecting RPR rings.

Description

Use the debugging rpr cross-ring packet command to enable debugging for all protocol packets of intersecting RPR rings.

Use the undo debugging rpr cross-ring packet command to disable the debugging.

By default, the debugging is disabled.

After you execute the debugging rpr all/undo debugging rpr all command, the debugging for protocol packets of intersecting RPR rings is enabled/disabled.

Examples

# Enable debugging for all protocol packets of intersecting RPR rings.

<H3C> debugging rpr cross-ring packet all

4.1.3  display rpr cross-ring backup-ring

Syntax

display rpr cross-ring backup-ring

View

Any view

Parameters

None

Description

Use the display rpr cross-ring backup-ring command to display the information about the backup rings of the intersecting RPR rings.

Example

# Display information about the backup ring of the intersecting RPR rings.

<H3C> display rpr cross-ring backup-ring

 Instance        backup-ring        status

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

    0            RprPos3/1/1        inactive

    1            RprPos3/1/1        inactive

    2            RprPos3/1/1        inactive

    3            Not configure      inactive

    4            Not configure      inactive

    5            RprPos3/1/1        active

Table 4-1 Description on the fields of the display rpr cross-ring backup-ring command

Field

Description

Instance

Intersecting ring instance

backup-ring

Backup ring of the instance

status

Status of the slave ring

 

4.1.4  display rpr cross-ring defect

Syntax

display rpr cross-ring defect

View

Any view

Parameters

None

Description

Use the display rpr cross-ring defect command to display defects of intersecting RPR rings.

Examples

# Display defects of intersecting RPR rings.

<H3C> display rpr cross-ring defect

Inconsistent number of slave rings: false

 Instance: 0

  Inconsistent instance mapping configuration: false

  Inconsistent instance role configuration: true

Table 4-2 Description on the fields of the display rpr cross-ring defect command

Field

Description

Inconsistent number of slave rings

Inconsistent number of slave rings

Inconsistent instance mapping configuration

Inconsistent mapping of intersecting ring instances to STP instances

Inconsistent instance role configuration

Inconsistent intersecting ring role configuration

false

Configuration consistent

true

Configuration inconsistent

 

4.1.5  display rpr cross-ring instance

Syntax

display rpr cross-ring instance { instance-id | all }

View

Any view

Parameters

instance-id: Specifies an instance ID ranging from 0 to 5.

all: Specifies all instances.

Description

Use the display rpr cross-ring instance command to display the basic configuration and instance information of the specified intersecting ring instance or all intersecting ring instances.

Examples

# Display information about all intersecting ring instances in the intersecting ring group.

<H3C> display rpr cross-ring instance all

 INS: Cross-ring Instance           STP-INS: STP Instance

 C-R: Configure Instance Role       A-R: Active Instance Role

 L-T(S): Local track port(status)   N-T-S: Neighbor track port status

 P: Primary Role                    S: Secondary Role

 I: Init Role                       N: Invalid Role

 

 Neighbor: 000f-e200-fff4

 Master-ring: RprPos9/1/1

 Slave-ring: RprPos7/1/1

 Neighbor reachable: Unreachable

 

 INS  C-R  A-R  STP-INS  L-T(S)                       N-T-S

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

 0    P    P    1        Not configure                DOWN

 1    S    P    2        Not configure                DOWN

 2    S    P    3        Not configure                DOWN

 3    S    P    4        Not configure                DOWN

 4    S    P    5        Not configure                DOWN

 5    S    P    6        GigabitEthernet3/2/1 (UP)    DOWN

Table 4-3 Description on the fields of the display rpr cross-ring instance command

Field

Description

neighbour

MAC address of the neighbor in the intersecting ring group

master-ring

Maser ring

slave-ring

Slave ring

INS

Intersecting ring instance number

C-R

Configured role

A-R

Actual role

STP-INS

Number of the corresponding MSTP instance

L-T(S)

Upstream port bound with the instance and the port state

N-T-S

State of the upstream port bound with the neighbor

 

4.1.6  rpr cross-ring

Syntax

rpr cross-ring { master | slave }

undo rpr cross-ring

View

RPR logical interface view

Parameters

master: Specifies the interface as the master ring in the intersecting ring group.

slave: Specifies the interface as the slave ring in the intersecting ring group.

Description

Use the rpr cross-ring command to specify the role of the RPR logical interface as master or slave in the intersecting ring group.

Use the undo rpr cross-ring command to restore the default.

By default, an RPR logical interface is not configured as the master ring or a slave ring.

Note that an RPR logical interface cannot be configured as both the master ring and a slave ring at the same time.

Examples

# Specify the RPR logical interface RPRPOS 0/1/1 as the master ring.

<H3C> system-view

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

[H3C] interface RprPos0/1/1

[H3C-RprPos0/1/1] rpr cross-ring master

4.1.7  rpr cross-ring instance

Syntax

rpr cross-ring instance instance-id { primary | secondary } stp-instance stp-instance-id

rpr cross-ring instance instance-id track interface-type interface-number

undo rpr cross-ring instance instance-id [ track ]

View

System view

Parameters

primary: Specifies the device as the primary device.

secondary: Specifies the device as the secondary device.

instance-id: Intersecting ring instance ID, ranging from 0 to 5.

stp-instance-id: MSTP instance ID, ranging from 1 to 48. Specifying this argument associates the VLANs mapped to the MSTP instance with the intersecting ring instance.

track interface-type interface-number: Specifies the Ethernet interface as the collaboration port of the intersecting ring instance.

Description

Use the rpr cross-ring instance command to associate an intersecting ring instance with an MSTP instance, specify the current device as the primary or secondary of the intersecting ring instance, and specify a collaboration port for the intersecting ring instance.

Use the undo rpr cross-ring instance command to remove the configuration.

Examples

# Associate intersecting ring instance 1 with MSTP instance 48, and specify the current device as the master device of intersecting ring instance 1.

<H3C> system-view

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

[H3C] rpr cross-ring instance 1 primary stp-instance 48

4.1.8  rpr cross-ring neighbour

Syntax

rpr cross-ring neighbour mac-address

undo rpr cross-ring neighbour

View

System view

Parameters

mac-address: MAC address of the current device’s neighbor in the intersecting ring group. The mac-address argument is in the format of H-H-H and cannot be all 0s, multicast MAC address, or broadcast MAC address.

Description

Use the rpr cross-ring neighbour command to specify a neighbor for the current device in the intersecting ring group. The neighbor is uniquely identified by the specified MAC address. Only one neighbor can be configured for the current device.

Use the undo rpr cross-ring neighbour command to remove the configuration.

Examples

# Specify the device with the MAC address 000F-E25A-D720 as the neighbor of the current device.

<H3C> system-view

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

[H3C] rpr cross-ring neighbour 000f-e25a-d720

4.1.9  rpr cross-ring slave backup-ring

Syntax

rpr cross-ring slave backup-ring instance instance-id1 [ to instance-id2 ]

undo rpr cross-ring slave backup-ring instance instance-id1 [ to instance-id2 ]

View

RPR logical interface view

Parameters

instance instance-id1: Instance ID of the backup ring, ranging from 0 to 5.

to instance-id2: Specifies an instance ID range together with the parameter instance instance-id1. The value of instance instance-id2 must be greater than that of the instance instance-id1.

Description

Use the rpr cross-ring slave backup-ring command to configure the backup ring for the specified intersecting ring instance(s).

Use the undo rpr cross-ring slave backup-ring command to remove the configuration.

Note that:

l           The rpr cross-ring slave backup-ring command also specifies the RPR logical interface as the slave ring of the intersecting rings.

l           The undo rpr cross-ring slave backup-ring command does not remove the slave ring configuration.

Example

# Configure the link where RPR interface RPRPOS 3/1/1 resides as the backup ring of intersecting ring instance 5.

<H3C> system-view

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

[H3C] interface RprPos3/1/1

[H3C-RprPos3/1/1] rpr cross-ring slave backup-ring instance 5

 


Chapter 5  Distributed RPR Configuration Commands

5.1  Distributed RPR Configuration Commands

5.1.1  debugging rpr backup

Syntax

debugging rpr backup { debug | error | event }

undo debugging rpr backup { debug | error | event }

View

User view

Parameters

debug: Debugging for distributed RPR.

error: Debugging for distributed RPR errors.

event: Debugging for distributed RPR events.

Description

Use the debugging rpr backup command to enable debugging for distributed RPR.

Use the undo debugging rpr backup command to disable the debugging.

By default, the debugging is disabled.

After you execute the debugging rpr all/undo debugging rpr all command, the debugging for distributed RPR is enabled/disabled.

Examples

# Enable debugging for distributed RPR errors.

<H3C> debugging rpr backup error

5.1.2  display rpr link-aggregation

Syntax

display rpr link-aggregation [ group agg-id ]

View

Any view

Parameters

group agg-id: Specifies an aggregation group by its ID, ranging from 1 to 31. The group ID ranges from 1 to 7 if a C-type board is used. If the keyword is not specified, the command displays information about all distributed RPR aggregation groups.

Description

Use the display rpr link-aggregation command to display information about the specified or all distributed RPR aggregation group(s).

Examples

# Display information about all the distributed RPR aggregation groups.

<H3C> display rpr link-aggregation

 

 RPR Link-Aggregation Group 1

 Role    Port            Port-Mode       Link-Status

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

 Master  RprPos7/1/1     -               Up

         RprPos7/1/1.1   Normal          Up

         RprPos7/1/1.2   Normal          Up

 Slave   RprPos9/1/1     -               Up

         RprPos9/1/1.1   Normal          Up

         RprPos9/1/1.2   Normal          Up

Table 5-1 Description on the fields of the display rpr link-aggregation command

Field

Description

Role

Role of the RPR logical interface in the distributed RPR

Port

RPR port in the distributed RPR aggregation group

Port-Mode

Port state of the RPR physical port

Link-Status

Link state of the RPR port

 

5.1.3  link-aggregation group mode manual

Syntax

link-aggregation group agg-id mode manual

undo link-aggregation group agg-id

View

System view

Parameters

agg-id: ID of the aggregation group, ranging from 1 to 31. The group ID ranges from 1 to 7 if a C-type board is used. Only manual aggregation group can be used for distributed RPR.

Description

Use the link-aggregation group mode manual command to create a manual aggregation group for distributed RPR.

Use the undo link-aggregation group command to remove the specified aggregation group.

Related commands: display rpr link-aggregation.

 

&  Note:

The manual aggregation group configuration aggregates two RPR logical interfaces, implementing board-level protection for distributed RPR.

 

Examples

# Create manual aggregation group 1 for distributed RPR.

<H3C> system-view

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

[H3C] link-aggregation group 1 mode manual

5.1.4  port link-aggregation group

Syntax

port link-aggregation group agg-id

undo port link-aggregation group

View

RPR logical interface view

Parameters

agg-id: ID of an aggregation group, ranging from 1 to 31. The group ID ranges from 1 to 7 if a C-type board is used. At present only RPR logical interfaces can be added to a manual aggregation group.

Description

Use the port link-aggregation group command to add the RPR logical interface to the specified manual aggregation group.

Use the undo port link-aggregation group command to remove the RPR logical interface from the specified manual aggregation group.

Note that after you assign the RPR logical interface to the aggregation group, the ARP information of the interface will be erased.

Examples

# Add the RPR logical interface RPRPOS 2/1/1 to aggregation group 1.

<H3C> system-view

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

[H3C] interface RprPos 2/1/1

[H3C-RprPos2/1/1] port link-aggregation group 1

5.1.5  port-mode mate

Syntax

port-mode mate

undo port-mode

View

RPR physical port view

Parameters

None

Description

Use the port-mode mate command to specify the RPR physical port as a mate port.

Use the undo port-mode command to remove the configuration.

By default, no mate port is configured.

Examples

# Specify the RPR physical port RPRPOS 2/1/1.2 as a mate port.

<H3C> system-view

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

[H3C] interface RprPos 2/1/1.2

[H3C-RprPos2/1/1.2] port-mode mate

 

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