11-High Availability Command Reference

HomeSupportSwitchesH3C S7500E-X Switch SeriesReference GuidesCommand ReferencesH3C S7500E-X Switch Series Command References-Release7178-6W10011-High Availability Command Reference
04-RPR commands
Title Size Download
04-RPR commands 174.34 KB

RPR configuration commands

bandwidth

Use bandwidth to set the expected bandwidth for an interface.

Use undo bandwidth to restore the default.

Syntax

bandwidth bandwidth-value

undo bandwidth

Default

The expected bandwidth (in kbps) is the interface baud rate divided by 1000.

Views

RPR logical interface view

RPRPOS/RPRXGE interface view

Predefined user roles

network-admin

mdc-admin

Parameters

bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.

Usage guidelines

The expected bandwidth of an interface affects the link costs in OSPF, OSPFv3, and IS-IS. For more information, see Layer 3—IP Routing Configuration Guide.

Examples

# Set the expected bandwidth to 10000 kbps for the RPR logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] bandwidth 10000

# Set the expected bandwidth to 10000 kbps for the RPR physical port RPRXGE 4/1/1.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] bandwidth 10000

# Set the expected bandwidth to 10000 kbps for the RPR physical port RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] bandwidth 10000

default

Use default to restore the default settings for an interface.

Syntax

default

Views

RPR logical interface view

RPRPOS/RPRXGE interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

CAUTION

CAUTION:

The default command might interrupt ongoing network services. Make sure you are fully aware of the impact of this command when you use it on a live network.

 

This command might fail to restore the default settings for some commands for reasons such as command dependencies or system restrictions. You can use the display this command in interface view to check for these commands, and use their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message to resolve the problem.

Examples

# Restore the default settings for the RPR logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] default

# Restore the default settings for the RPR physical port RPRXGE 4/1/1.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] default

# Restore the default settings for the RPR physical port RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] default

description

Use description to configure a description for an interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The interface description uses the interface-name Interface format, for example, RPR Interface.

Views

RPR logical interface view

RPRPOS/RPRXGE interface view

Predefined user roles

network-admin

mdc-admin

Parameters

text: Specifies the interface description, a case-sensitive string of 1 to 255 characters.

Examples

# Configure the description of RPR logical interface RPR 4/0/1 as RPR4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] description RPR4/0/1

# Configure the description of the RPR physical port RPRXGE 4/1/1 as RPRXGE-1.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] description RPRXGE-1

# Configure the description of the RPR physical port RPRPOS 4/1/1 as RPRPOS-1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] description RPRPOS-1

Related commands

display interface

display interface

Use display interface to display information about an interface.

Syntax

display interface [ { rpr| rprpos | rprxge } [ interface-number ] ] [ brief [ description | down ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

rpr: Displays RPR logical interface information.

rprpos: Displays RPRPOS interface information.

rprxge: Displays RPRXGE interface information.

interface-number: Specifies an interface by its number.

brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

down: Displays physically down interfaces and their down causes. If you do not specify this keyword, the command displays information about interfaces in any state.

Usage guidelines

If you do not specify the interface type, this command displays information about all types of interfaces.

If you specify the interface type but not the interface number, this command displays information about all interfaces of the specified type.

Examples

# Display detailed information about the RPR logical interface RPR 4/0/1.

<Sysname> display interface rpr 4/0/1

RPR4/0/1

Current state: UP

IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 5cdd-70c1-651b

Description: RPR4/0/1 Interface

Bandwidth: 10000000kbps

Media type is twisted pair

Port hardware type is 10G_BASE_T

10Gbps-speed mode, full-duplex mode

Link speed type is autonegotiation, link duplex type is force link

PVID: 1

Port link-type: trunk

 VLAN Passing:   1(default vlan), 100

 VLAN permitted: 1(default vlan), 100

 Trunk port encapsulation: IEEE 802.1q

Last clearing of counters: 13:56:56 Tue 02/19/2013

 Peak value of input: 874920532 bytes/sec, at 2013-02-19 14:10:28

 Peak value of output: 222 bytes/sec, at 2013-02-19 18:24:10

 Last 300 seconds input:  0 packets/sec 0 bytes/sec -%

 Last 300 seconds output:  0 packets/sec 0 bytes/sec -%

 Input (total):  10378003037 packets, 1104314523057 bytes

          5241554027 unicasts, 5136447473 broadcasts, 1503 multicasts, 0 pauses

 Input (normal):  10378003003 packets, - bytes

          5241554027 unicasts, 5136447473 broadcasts, 1503 multicasts, 0 pauses

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

          0 CRC, 0 frame, - overruns, 0 aborts

          - ignored, - parity errors

 Output (total): 23952 packets, 1790138 bytes

          22630 unicasts, 39 broadcasts, 1283 multicasts, 0 pauses

 Output (normal): 23952 packets, - bytes

          22630 unicasts, 39 broadcasts, 1283 multicasts, 0 pauses

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

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

          0 lost carrier, - no carrier

# Display brief information about the RPR logical interface RPR 4/0/1.

<Sysname> display interface rpr 4/0/1 brief

Brief information on interface(s) under bridge mode:

Link: ADM - administratively down; Stby - standby

Speed or Duplex: (a)/A - auto; H - half; F - full

Type: A - access; T - trunk; H - hybrid

Interface            Link Speed   Duplex Type PVID Description

RPR4/0/1             DOWN auto    F      T    1       

# Display detailed information about RPR physical port RPRPOS 4/1/1.

<Sysname> display interface rprpos 4/1/1

RPRPOS4/1/1

Current state: DOWN

Line protocol state: DOWN

Description: RPRPOS4/1/1 Interface

Bandwidth: 10000000kbps

Internet protocol processing: disabled

Optical module state: RPR_PHYPOS_CONNECTOR

Physical layer is packet over SDH

Port speed type: STM-64

Clock source: Master

Loopback is not set

Clock grade: DNU(Do not use for synchronization)

BER thresholds:

    SD: 10e-5    SF: 10e-3

Regenerator section layer:

    J0(TX): ""

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

    J0(RX): ""

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

    Alarm: LOS

    Error: 64898 BIP(B1)

Multiplex section layer:

    Alarm: NONE

    Error: 0 BIP(B2), 1150002850 REI(M1)

Higher order path layer:

    C2(TX): 0x16    C2(RX): 0x16

    J1(TX): ""

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

    J1(RX): ""

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

    Alarm: NONE

    Error: 0 BIP(B3), 0 REI(G1)

           -- PJE, -- NJE

Host receive              Packets                Bytes

 unicast               5241554019         528109814290

 multicast             5136433135         763006552586

Line receive              Packets                Bytes

 unicast               5241554019         549076030366

 multicast             5136432145         783552090938

Host send                 Packets                Bytes

 unicast                      251                17600

 multicast                   1000                95068

Line send                 Packets                Bytes

 unicast                    22379              1790208

 multicast                    326                31384

Input Errors

 parity 0  short 0 crc 0 ringiderr --

Output Errors

 parity 0  short 0 giant 0 fifo 0

Control Frame                  In                  Out

       Oam                      0                    0

       Atd                  60084                22887

        Tc                 230559               245662

        Tp                  12488               246960

      Mode                Packets                Bytes

   SaStrip                      0                    0

   TtlDrop              465537325          76815173267

   TxFlood            10377963522        1332626294516

   RxFlood            10377963522        1332626294516

 

Last 300 second Host input :  0 packet/sec   0 byte/sec  0%

Last 300 second Line input :  0 packet/sec   0 byte/sec  0%

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

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

Host peak value of input: 974946303 bytes/sec, at 0000-00-00 00:00:00

Line peak value of input: 1003225087 bytes/sec, at 0000-00-00 00:00:00

Host peak value of output: 23 bytes/sec, at 0000-00-00 00:00:00

Line peak value of output: 240 bytes/sec, at 0000-00-00 00:00:00

# Display detailed information about RPR physical port RPRXGE 2/1/1.

<Sysname> display interface rprxge 2/1/1

RPRXGE2/1/1

Current state: UP

Line protocol state: UP

Description: RPRXGE2/1/1 Interface

Bandwidth: 10000000 kbps

Internet protocol processing: Disabled

Optical module state: RPR_PHY10GE_CONNECTOR

Host receive Packets Bytes

 unicast 2169501443 298962827678

 multicast 2775550994 372340528272

Line receive Packets Bytes

 unicast 2801599056 399927084948

 multicast 7602033836 1041740109834

Host send Packets Bytes

 unicast 2132286065 291451729050

 multicast 4826529225 658304147264

Line send Packets Bytes

 unicast 1718097192 241089230760

 multicast 6496370993 909150513270

Input Errors

 parity 0 short 0 crc 0 ringiderr –

Output Errors

 parity 0 short 0 giant 0 fifo 0

Control Frame In Out

       Oam 0 0

       Atd 70089 23397

        Tc 233646 233948

        Tp 24 233656

      Mode Packets Bytes

   SaStrip 0 0

   TtlDrop 233965 42451862761

   TxFlood 9674077497 1344258484004

   RxFlood 9674077497 1344258484004

                                                                               

Last 300 second Host input : 1 packet/sec 108 byte/sec 0%

Last 300 second Line input : 100004 packet/sec 13400497 byte/sec 1%

Last 300 second Host output: 100003 packet/sec 13400378 byte/sec 1%

Last 300 second Line output: 100010 packet/sec 14601227 byte/sec 1%

Host peak value of input: 148590894 bytes/sec, at 2015-01-04 09:01:47

Line peak value of input: 306347188 bytes/sec, at 2015-01-04 09:01:47

Host peak value of output: 179905297 bytes/sec, at 2015-01-04 09:01:47

Line peak value of output: 279746068 bytes/sec, at 2015-01-04 09:01:47

Table 1 Command output

Field

Description

Current state

Current physical and administrative state of the interface:

·     DOWN (Administratively)The interface has been shut down by using the shutdown command.

·     DOWNThe interface is physically down because no physical link is present or the link has failed.

·     UP—The interface is both administratively and physically up.

IP Packet Frame Type

Ethernet framing format. PKTFMT_ETHNT_2 indicates that the frames are encapsulated in Ethernet II framing format.

Hardware Address

MAC address of the interface.

Line protocol state

Data link layer state of the interface:

·     UP—The data link layer protocol is up.

·     DOWN—The data link layer protocol is down.

Description

Partial or complete interface description set by using the description command:

·     If you do not specify the description keyword for the display interface brief command, this field displays only the first 27 characters of the interface description.

·     If you specify the description keyword for the display interface brief command, this field displays the complete interface description.

Bandwidth

Expected bandwidth of the interface.

10Gbps-speed mode, full-duplex mode, full-duplex mode

The port rate is 10 Gbps. The duplex mode is full duplex mode.

link duplex type is force link

The interface is manually configured with a duplex mode by using the duplex command.

PVID

Default VLAN ID of the interface.

Port link-type

Link type of the interface:

·     access.

·     trunk.

·     hybrid.

Tagged VLAN ID

VLANs whose packets are to be sent out of the port tagged.

UnTagged VLAN

VLANs whose packets are to be sent out of the port untagged.

VLAN Passing

VLANs whose packets can be forwarded by the trunk port. The VLANs must have been created.

VLAN permitted

VLANs whose packets are permitted by the trunk port. The VLANs might not be created.

Trunk port encapsulation

Encapsulation protocol type for the trunk port.

Last clearing of counters

The most recent time when the interface statistics were cleared.

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Average inbound traffic rate (in Bps, bps, and pps) for the last 300 seconds.

A hyphen (-) indicates that the statistical item is not supported.

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Average outbound traffic rate (in Bps, bps, and pps) for the last 300 seconds.

A hyphen (-) indicates that the statistical item is not supported.

Input (total):  10378003037 packets, 1104314523057 bytes

          5241554027 unicasts, 5136447473 broadcasts, 1503 multicasts, 0 pauses

The two fields on the first line represent the inbound traffic statistics (in packets and bytes) for the interface. All inbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Input (normal):  10378003003 packets, - bytes

          5241554027 unicasts, 5136447473 broadcasts, 1503 multicasts, 0 pauses

The two fields on the first line represent the inbound normal traffic and pause frame statistics (in packets and bytes) for the interface.

The four fields on the second line represent:

·     Number of inbound normal unicast packets.

·     Number of inbound normal broadcasts.

·     Number of inbound normal multicasts.

·     Number of inbound normal pause frames.

A hyphen (-) indicates that the statistical item is not supported.

input errors

Statistics of incoming error packets.

runts

Number of inbound frames meeting the following conditions:

·     Shorter than 64 bytes.

·     In correct format.

·     Containing valid CRCs.

giants

Number of inbound giants. Giants refer to frames larger than the maximum frame length supported on the interface.

For an Ethernet interface that does not permit jumbo frames, the maximum frame length is as follows:

·     1518 bytes (without VLAN tags).

·     1522 bytes (with VLAN tags).

For an Ethernet interface that permits jumbo frames, the maximum Ethernet frame length is set when you configure jumbo frame support on the interface.

throttles

Number of inbound frames that had a non-integer number of bytes.

CRC

Total number of inbound frames that had a normal length, but contained CRC errors.

frame

Total number of inbound frames that contained CRC errors and a non-integer number of bytes.

overruns

Number of packets dropped because the input rate of the port exceeded the queuing capability.

aborts

Total number of illegal inbound packets:

·     Fragment frames—CRC error frames shorter than 64 bytes. The length (in bytes) can be an integral or non-integral value.

·     Jabber frames—CRC error frames greater than the maximum frame length supported on the Ethernet interface (with an integral or non-integral length).

¡     For an Ethernet interface that does not permit jumbo frames, the maximum frame length is 1518 bytes (without VLAN tags) or 1522 bytes (with VLAN tags).

¡     For an Ethernet interface that permits jumbo frames, the maximum Ethernet frame length is set when you configure jumbo frame support on the interface.

·     Symbol error frames—Frames that contained at least one undefined symbol.

·     Unknown operation code frames—Non-pause MAC control frames.

·     Length error frames—Frames whose 802.3 length fields did not match the actual frame length (46 to 1500 bytes).

ignored

Number of inbound frames dropped because the receive buffer of the port ran low.

parity errors

Total number of frames with parity errors.

Internet protocol processing: disabled

IP packet processing capability.

Disabled indicates that IP packet processing is disabled.

Optical module state

Transceiver module state.

Port speed type

Interface transmission rate.

loopback

Loopback status. (This field is not configurable.)

Clock source

Clock mode. (This field is not configurable.)

BER thresholds

Signal degree (SD) and signal failed (SF) thresholds.

Regenerator section layer

Alarm and error statistics for the regenerator section.

Alarm

Alarm statistics.

Error

Error statistics.

Host receive

Traffic copied by the station.

Line receive

Inbound traffic on the ringlet.

Host send

Traffic inserted by the station.

Line send

Outbound traffic on the ringlet.

parity

Number of packets with parity errors.

short

Number of short packets.

crc

Number of packets with CRC errors.

ringiderr

Number of packets on the wrong ringlet.

fifo

Number of overflow packets with errors.

Mode

Packet transmission mode:

·     SaStrip—Packets stripped from the source node.

·     TtlDrop—Packets stripped after the TTL expires.

·     TxFlood—Broadcast packets sent.

·     RxFloodBroadcast packets received.

Output(total): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the outbound traffic statistics (in packets and bytes) for the interface. All outbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of outbound unicast packets.

·     Number of outbound broadcasts.

·     Number of outbound multicasts.

·     Number of outbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Output(normal): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the outbound normal traffic and pause frame statistics (in packets and bytes) for the interface.

The four fields on the second line represent:

·     Number of outbound normal unicast packets.

·     Number of outbound normal broadcasts.

·     Number of outbound normal multicasts.

·     Number of outbound normal pause frames.

A hyphen (-) indicates that the statistical item is not supported.

output errors

Number of outbound packets with errors.

underruns

Number of packets dropped because the output rate of the interface exceeded the output queuing capability. This is a low-probability hardware anomaly.

buffer failures

Number of packets dropped because the transmit buffer of the interface ran low.

aborts

Number of packets that failed to be transmitted, for example, because of Ethernet collisions.

deferred

Number of frames that the interface deferred to transmit because of detected collisions.

collisions

Number of frames that the interface stopped transmitting because Ethernet collisions were detected during transmission.

late collisions

Number of frames that the interface deferred to transmit after transmitting their first 512 bits because of detected collisions.

lost carrier

Number of carrier losses during transmission. This counter increases by one when a carrier is lost, and applies to serial WAN interfaces.

no carrier

Number of times that the port failed to detect the carrier when attempting to send frames. This counter increases by one when a port failed to detect the carrier, and applies to serial WAN interfaces.

Peak value of input

Peak rate of inbound traffic in Bps, and the time when the peak inbound traffic rate occurred.

Peak value of output

Peak rate of outbound traffic in Bps, and the time when the peak outbound traffic rate occurred.

 

Related commands

reset counters interface

display rpr bind-info

Use display rpr bind-info to display binding information for an interface.

Syntax

display rpr bind-info [ { rpr| rprpos | rprxge } interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

{ rpr| rprpos | rprxge } interface-number: Specifies an RPR physical port or RPR logical interface by its type and number. If you do not specify this option, this command displays binding information for all RPR logical interfaces.

Examples

# Display binding information for all RPR logical interfaces.

<Sysname> display rpr bind-info

Bind information on interface RPR4/0/1:

 Smart connection: Disabled

 PHY interface    Ringlet ID    Role       Mate port

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

 RPRPOS4/1/1      0             Primary    Up

 RPRPOS4/2/1      1             Secondary  Up

Table 2 Command output

Field

Description

Smart connection

State of the RPR mate port smart connection feature and connection state of the mate ports:

·     Enabled/ConnectedThe RPR mate port smart connection feature is enabled, and the mate ports have been connected internally.

·     Enabled/DisconnectedThe RPR mate port smart connection feature is enabled, but the mate ports are not connected internally.

·     DisabledThe RPR mate port smart connection feature is disabled.

PHY interface

Physical ports bound to the RPR logical interface.

Ringlet ID

Binding relationship between the physical port and the RPR logical interface:

·     0—The physical port is the west port.

·     1—The physical port is the east port.

·     N/A—No binding exists.

Role

Role of the physical port:

·     Primary—The physical port is the master port.

·     Secondary—The physical port is the subordinate port.

·     N/A—No binding exists.

Mate port

State of the mate port connected to the physical port:

·     UP—The mate port is up.

·     Down—The mate port is down.

·     N/A—No binding exists.

 

display rpr defect

Use display rpr defect to display RPR defect information.

Syntax

display rpr defect [ rpr interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays RPR defect information for all RPR logical interfaces.

Examples

# Display defect information for the RPR logical interface RPR 4/0/1.

<Sysname> display rpr defect rpr 4/0/1

RPR defects on interface RPR4/0/1:

  Reserved rate exceeded                         : Ringlet0: 0; Ringlet1: 0

  Jumbo configuration defect                     : 0

  Maximum number of stations exceeded            : 0

  Miscabling                                     : Ringlet0: 0; Ringlet1: 0

  Protection mode configuration defect           : 0

  Inconsistent topology                          : 0

  Unstable topology                              : 0

  Invalid topology entry                         : 0

  Duplicate IP address                           : 0

  Duplicate second MAC address                   : 0

  Maximum number of second MAC addresses exceeded: 0

Table 3 Command output

Field

Description

RPR defects on interface RPR4/0/1.

Defect information for the station where the specified interface resides.

Reserved rate exceeded

Defect information about the reserved bandwidth for the ringlets:

·     0—The used bandwidth has not exceeded the reserved bandwidth.

·     1—The used bandwidth has exceeded the reserved bandwidth.

Jumbo configuration defect

Defect information about Jumbo frame configuration for the station:

·     0The Jumbo frame for this station is different than the Jumbo frames for other stations.

·     1No Jumbo frame for this station is the same as the Jumbo frames for other stations.

Maximum number of stations exceeded

Defect information about station number limit:

·     0The number of stations has not reached the upper limit.

·     1The number of stations has reached the upper limit.

Miscabling

Defect information about the optical fiber connection for the ringlets:

·     0Optical fibers are connected correctly.

·     1Optical fibers are connected incorrectly.

Protection mode configuration defect

Defect information about protection mode configuration for the station:

·     0This station uses the same protection mode as other stations.

·     1This station uses a different protection mode than other stations.

Inconsistent topology

Defect information about topology consistency for the station:

·     0This station provides the same topology information as other stations.

·     1This station provides different topology information than other stations.

Unstable topology

Defect information about topology stability for the station:

·     0The topology is stable.

·     1The topology is not stable.

Invalid topology entry

Defect information about topology validity for the station:

·     0The station is valid.

·     1The station is not valid.

Duplicate IP address

Defect information about IP address duplication for the station:

·     0IP address duplication has not occurred.

·     1IP address duplication has occurred.

Duplicate second MAC address

Defect information about secondary MAC address duplication for the station:

·     0Secondary MAC address duplication has not occurred.

·     1Secondary MAC address duplication has occurred.

Maximum number of second MAC addresses exceeded

Defect information about secondary MAC address number limit:

·     0The number of secondary MAC addresses has not reached the upper limit.

·     1The number of secondary MAC addresses has reached the upper limit.

 

display rpr fairness

Use display rpr fairness to display information about RPR fairness settings.

Syntax

display rpr fairness [ rpr interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays the RPR fairness settings for all RPR logical interfaces.

Examples

# Display RPR fairness settings for the RPR logical interface RPR 4/0/1 that is bound with two POS ports.

<Sysname> display rpr fairness rpr 4/0/1

RPR fairness parameters on interface RPR4/0/1:

  Fairness weight on Ringlet0: 1

  Fairness weight on Ringlet1: 1

  Local reserved bandwidth for class A0 service on Ringlet0: 0 Mbps

  Local reserved bandwidth for class A0 service on Ringlet1: 0 Mbps

  Local rate limit for subclass A1 service on Ringlet0: 5 Mbps

  Local rate limit for subclass A1 service on Ringlet1: 5 Mbps

  Local rate limit for class B CIR service on Ringlet0: 0 Mbps

  Local rate limit for class B CIR service on Ringlet1: 0 Mbps

  Local rate limit for class B EIR and class C service on Ringlet0: 2500 Mbps

  Local rate limit for class B EIR and class C service on Ringlet1: 2500 Mbps

  Total reserved bandwidth for class A0 service on Ringlet0: 0 Mbps

  Total reserved bandwidth for class A0 service on Ringlet1: 0 Mbps

display rpr protection

Use display rpr protection to display RPR protection information.

Syntax

display rpr protection [ rpr interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays RPR protection information for all RPR logical interfaces.

Usage guidelines

RPR automatically verifies the protection mode consistency of all the stations on the ring. The protection mode configured for a station does not take effect if it is different than the protection mode used by other stations.

Examples

# Display protection information for the RPR logical interface RPR 4/0/1 that is bound with two physical ports.

<Sysname> display rpr protection rpr 4/0/1

Protection information on interface RPR4/0/1:

  Configured protection mode: Steer

  Active protection mode: Steer

  Protection reversion mode: Revertible

  Context containment: Disabled

                                    West span              East span

  Protection state                  IDLE                   FS

  Edge state                        Unedged                Edged

  Last known neighbour              00e0-0100-0002         00e0-0300-0002

  The number of protection states   1                      4

  The number of local edges         0                      2

  Last local edge time              -                      2014.04.08 05:47:31

  Local edge start time             -                      2014.04.08 05:48:07

Table 4 Command output

Field

Description

Protection state

Protection state on the west and east spans:

·     FSForced switch.

·     SFSignal fail.

·     SDSignal degrade.

·     MSManual switch.

·     WTRWait to restore.

·     IDLE.

Edge state

Edge state on the west and east spans:

·     Edged—An edge exists.

·     Unedged—No edge exists.

Last known neighbor

MAC address of the adjacent stations on the west and east.

The number of protection states

Number of protection mode changes on the west and east spans.

The number of local edges

Number of edges that have occurred on the west and east spans.

Last local edge time

Time when the last edge occurred on the west and east spans.

Local edge start time

Time that the current edge started on the west and east spans.

 

display rpr rs-table

Use display rpr rs-table to display RPR ringlet selection table information.

Syntax

display rpr rs-table { default | dynamic | overall | static } [ rpr interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

default: Displays information about the default ringlet selection table.

dynamic: Displays information about the dynamic ringlet selection table.

overall: Displays information about the overall ringlet selection table.

static: Displays information about the static ringlet selection table.

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays ringlet selection table information for all RPR logical interfaces.

Examples

# Display dynamic ringlet selection table information for all RPR stations.

<Sysname> display rpr rs-table dynamic

Dynamic ringlet selection table on interface RPR4/0/1:

 MAC address     Ringlet ID  TTL  IP address       Station name

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

 4431-9257-1d86  1           1    -                10500-30016

 0000-fc00-1791  1           2    -                10500-4000

 5cdd-70c1-651c  0           1    -                10050-10003

 ---   Entries in total: 3    ---

# Display static ringlet selection table information for all RPR stations.

<Sysname> display rpr rs-table static

Static ringlet selection table on interface RPR4/0/1:

 MAC address     Ringlet ID  Status

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

 0001-0002-0003  0           Invalid

 0001-0002-0004  1           Invalid

 ---   Entries in total: 2    ---

# Display default ringlet selection table information for all RPR stations.

<Sysname>display rpr rs-table default

Default ringlet selection table on interface RPR4/0/1:

  Configured default ringlet: Ringlet1

  Active default ringlet: Ringlet1

# Display overall ringlet selection table information for all RPR stations.

<Sysname> display rpr rs-table overall

Overall ringlet selection table on interface RPR4/0/1:

 MAC address     Ringlet ID  TTL  Type      IP address       Station name

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

 4431-9257-1d86  1           1    Dynamic   -                10500-30016

 0000-fc00-1791  1           2    Dynamic   -                10500-4000

 5cdd-70c1-651c  0           1    Dynamic   -                10050-10003

 ---   Entries in total: 3    ---

Table 5 Command output

Field

Description

MAC address

MAC address of the destination station.

TTL

Number of hops to the destination station.

IP address

IP address of the destination station. means the IP address is not configured.

Station name

Name of the destination station.

 

display rpr statistics

Use display rpr statistics to display traffic statistics for RPR stations.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

dmac: Displays statistics for traffic sent to the destination station specified by its MAC address.

smac: Displays statistics for traffic received from the source station specified by its MAC addresses.

mac-address: Specifies the MAC address of a source or destination station. If you do not specify this argument, this command displays statistics for all traffic sent or received.

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays traffic statistics for all RPR logical interfaces.

Examples

# Display statistics for traffic destined to 00E0-FC00-1A01 on the ring.

<Sysname> display rpr statistics dmac 00e0-fc00-1a01

Statistics for traffic to the destination station on interface RPR3/0/1:

 MAC address     Packets               Bytes

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

 4431-9257-1d86  0                     0

 0000-fc00-1791  24102                 1929424

 5cdd-70c1-651c  68756                 5500696

display rpr timers

Use display rpr timers to display RPR timers.

Syntax

display rpr timers [ rpr interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays the RPR timers for all RPR logical interfaces.

Examples

# Display RPR timers for all stations.

<Sysname> display rpr timers

RPR timers on interface RPR4/0/1:

  Fast TP timer: 10 ms

  Slow TP timer: 100 ms

  Fast TC timer: 10 ms

  Slow TC timer: 100 ms

  ATD timer: 1 s

  WTR timer: 10 s

  Holdoff timer: 0 ms

  Keepalive timer: 3 ms

  Topology stability timer: 40 ms

display rpr topology

Use display rpr topology to display RPR topology information.

Syntax

display rpr topology { all | local | ring | stations } [ brief ] [ rpr interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

all: Displays all topology information.

local: Displays topology information for the local station.

ring: Displays ring topology information.

stations: Displays topology information for all stations on the ring.

brief: Displays brief RPR topology information. If you do not specify this argument, this command displays detailed RPR topology information.

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command displays topology information for all RPR logical interfaces.

Examples

# Display all topology information for the RPR logical interface RPR 4/0/1 that is bound with two physical ports.

<Sysname> display rpr topology all rpr 4/0/1

Ring-level topology information on interface RPR4/0/1:

  Number of stations on Ringlet0: 1

  Number of stations on Ringlet1: 1

  Total number of stations on the ring: 2

  Jumbo preference: Jumbo

  Ring topology type: Closed ring

 

Local station topology information on interface RPR4/0/1:

  Station name:

  MAC address: 00e0-fc00-1001

  IP address: -

  Jumbo preference: Jumbo

  Active protection mode: Steer

  Protection state on the west span: IDLE

  Protection state on the east span: IDLE

  Edge state on the west span: Unedged

  Edge state on the east span: Unedged

  Sequence number: 10

  Last known neighbor on the west span: 00e0-fc00-1a01

  Last known neighbor on the east span: 00e0-fc00-1a01

  Local topology state: Valid

 

Station topology information on interface RPR4/0/1:

 Station entry on Ringlet0:

  MAC address: 00e0-fc00-1a01

  Station name:

  IP address: -

  Hops: 1

  Jumbo preference: Jumbo

  Protection mode: Steer

  Protection state on the west span: IDLE

  Protection state on the east span: IDLE

  Edge state on the west span: Unedged

  Edge state on the east span: Unedged

  Sequence number: 9

  Reachability: Reachable

  Valid: 1

 

 Station entry on Ringlet1:

  MAC address: 00e0-fc00-1a01

  Station name:

  IP address:  -

  Hops: 1

  Jumbo preference: Jumbo

  Protection mode: Steer

  Protection state on the west span: IDLE

  Protection state on the east span: IDLE

  Edge state on the west span: Unedged

  Edge state on the east span: Unedged

  Sequence number: 9

  Reachability: Reachable

  Valid: 1

Table 6 Command output

Field

Description

IP address

Station IP address. means the IP address is not configured.

Active protection mode

Protection mode used by the station: wrapping or steering.

Protection state on the west span

Protection state on the west span:

·     FSForced switch.

·     SFSignal fail.

·     SDSignal degrade.

·     MSManual switch.

·     WTRWait to restore.

·     IDLE.

Protection state on the east span

Protection state on the east span:

·     FSForced switch.

·     SFSignal fail.

·     SDSignal degrade.

·     MSManual switch.

·     WTRWait to restore.

·     IDLE.

Edge state on the west span

Edge state on the west span:

·     Edged—An edge exists.

·     Unedged—No edge exists.

Edge state on the east span

Edge state on the east span:

·     Edged—An edge exists.

·     Unedged—No edge exists.

Hops

Number of hops between the local station and a destination station.

Jumbo preference

Indicates whether Jumbo frames are supported:

·     RegularNot supported. This value is not available.

·     JumboSupported.

Sequence number

Sequence number of the TP frame.

Last known neighbor on the west span

MAC address of the most recently learned neighbor on the west span.

Last known neighbor on the east span

MAC address of the most recently learned neighbor on the east span.

Protection mode

Protection mode:

·     WrapWrapping mode. This mode is not supported.

·     SteerSteering mode.

Valid

Entry status:

·     1—Valid.

·     0—Invalid.

 

# Display brief topology information for all stations.

<Sysname> display rpr topology all brief

Topology information items:

PSW: Protection State, West       PSE: Protection State, East

ESW: Edge State, West             ESE: Edge State, East

WC: Wrap protection Configured    JP: Jumbo frame Preferred

 

Ring-level topology information on interface RPR4/0/1:

 Ringlet0  Ringlet1  Ring  Jumbo preference  Topology type

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

 1         1         2     Jumbo             Closed ring

 

Local station topology information on interface RPR4/0/1:

 MAC address    PSW  PSE  ESW  ESE  WC  JP  IP address        Station name

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

 00e0-fc00-1001 IDLE IDLE 0    0    0   1   -                 StationA

 

Station topology information on interface RPR4/0/1:

 Station entry on ringlet0:

 MAC address    PSW  PSE  ESW  ESE  WC  JP  IP address        Station name

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

 00e0-fc00-1a01 IDLE IDLE 0    0    0   1   -                 StationB

 

 Station entry on ringlet1:

 MAC address    PSW  PSE  ESW  ESE  WC  JP  IP address        Station name

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

 00e0-fc00-1a01 IDLE IDLE 0    0    0   1   -                 StationB

Table 7 Command output

Field

Description

PSE

Protection state on the east span:

·     FSForced switch.

·     SFSignal fail.

·     SDSignal degrade.

·     MSManual switch.

·     WTRWait to restore.

·     IDLE.

PSW

Protection state on the west span:

·     FSForced switch.

·     SFSignal fail.

·     SDSignal degrade.

·     MSManual switch.

·     WTRWait to restore.

·     IDLE.

ESE

Edge state on the east span:

·     1An edge exists.

·     0—No edge exists.

ESW

Edge state on the west span:

·     1An edge exists.

·     0—No edge exists.

WC

Protection mode:

·     1—Wrapping mode. This mode is not supported.

·     0—Steering mode.

JP

Indicates whether Jumbo frames are supported:

·     1Jumbo frames are supported.

·     0Jumbo frames are not supported.

Ringlet0

Number of stations on the west span.

Ringlet1

Number of stations on the east span.

Ring

Total number of stations on the ring.

Jumbo preference

Indicates whether Jumbo frames are supported:

·     RegularNot supported. This value is not available.

·     JumboSupported.

Station entry on ringlet0

Brief topology information of the neighbor station on the west span.

Station entry on ringlet1

Brief topology information of the neighbor station on the east span.

 

# Display topology information for the local station.

<Sysname>display rpr topology local

Local station topology information on interface RPR4/0/1:

  Station name: StationA

  MAC address: 00e0-fc00-1001

  IP address: -

Jumbo preference: Jumbo

  Active protection mode: Steer

  Protection state on the west span: IDLE

  Protection state on the east span: IDLE

  Edge state on the west span: Unedged

  Edge state on the east span: Unedged

  Sequence number: 10

  Last known neighbour on the west span: 00e0-fc00-1a01

  Last known neighbour on the east span: 00e0-fc00-1a01

  Local topology state: Valid

Table 8 Command output

Field

Description

Jumbo preference

Indicates whether Jumbo frames are supported:

·     RegularNot supported. This value is not available.

·     JumboSupported.

 

# Display ring-level topology information.

<Sysname>display rpr topology ring

Ring-level topology information on interface RPR4/0/1:

  Number of stations on Ringlet0: 3

  Number of stations on Ringlet1: 3

  Total number of stations on the ring: 4

  Jumbo preference: Jumbo

  Ring topology type: Closed ring

Table 9 Command output

Field

Description

Jumbo preference

Indicates whether Jumbo frames are supported:

·     RegularNot supported. This value is not available.

·     JumboSupported.

 

# Display topology information for all stations on the ring.

<Sysname>display rpr topology stations

Station topology information on interface RPR4/0/1:

 Station entry on ringlet0:

  MAC address: 00e0-fc00-1a01

  Station name: StationA

  IP address:  0.0.0.0

  Hops: 1

  Jumbo preference: Jumbo

  Protection mode: Steer

  Protection state on the west span: IDLE

  Protection state on the east span: IDLE

  Edge state on the west span: Unedged

  Edge state on the east span: Unedged

  Sequence number: 9

  Reachability: Reachable

  Valid: 1

 

 Station entry on ringlet1:

  MAC address: 00e0-fc00-1a01

  Station name: StationB

  IP address:  0.0.0.0

  Hops: 1

  Jumbo preference: Jumbo

  Protection mode: Steer

  Protection state on the west span: IDLE

  Protection state on the east span: IDLE

  Edge state on the west span: Unedged

  Edge state on the east span: Unedged

  Sequence number: 9

  Reachability: Reachable

  Valid: 1

Table 10 Command output

Field

Description

Jumbo preference

Indicates whether Jumbo frames are supported:

·     regularNot supported. This value is not available.

·     jumboSupported.

Sequence number

Sequence number of the TP frame.

Valid

Entry status:

·     1—Valid.

·     0—Invalid.

 

flag c2

Use flag c2 to set the C2 path signal label byte.

Use undo flag c2 to restore the default.

Syntax

flag c2 flag-value

undo flag c2

Default

The C2 value is 0x16.

Views

RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

flag-value: Specifies a C2 byte value, a hexadecimal number in the range of 0x00 to 0xFF.

Usage guidelines

The C2 byte is a higher-order path overhead byte. It indicates the multiplex structure of virtual container (VC) frames and the property of payload.

The C2 byte must be the same at both ends of a link.

Examples

# Set the C2 byte to 0x01 on RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] flag c2 01

Related commands

display interface

flag j0

Use flag j0 to set the J0 regenerator section trace byte for SONET or SDH frames.

Use undo flag j0 to restore the default.

Syntax

flag j0 { sdh | sonet } flag-value

undo flag j0 { sdh | sonet }

Default

The device uses the SDH framing format. In SDH frames, the J0 byte is an empty string.

Views

RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

flag-value: Specifies the J0 byte. It must be a string of 1 to 15 characters for SDH, and a hexadecimal number in the range of 0x00 to 0xFF for SONET.

sdh: Specifies the SDH framing format.

sonet: Specifies the SONET framing format.

Usage guidelines

J0 byte is a section overhead byte. SDH and SONET use this byte to test continuity of the connection between two interfaces at the span level.

The J0 byte can be different on devices of the same service provider. On the interfaces between two service providers, the J0 byte must be the same.

Examples

# Set the J0 byte to 0xFF for SDH on RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] flag j0 sdh ff

Related commands

·     display interface

·     frame-format

flag j1

Use flag j1 to set the J1 path trace byte for SONET or SDH frames.

Use undo flag j1 to restore the default.

Syntax

flag j1 { sdh | sonet } flag-value

undo flag j1 { sdh | sonet }

Default

The device uses the SDH framing format. In SDH frames, the J1 byte is an empty string.

Views

RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

flag-value: Specifies a J1 byte value. It must be a string of 1 to 15 characters for SDH and a string of 1 to 62 characters for SONET.

sdh: Specifies the SDH framing format.

sonet: Specifies the SONET framing format.

Usage guidelines

J1 byte is a higher-order path overhead byte. SDH and SONET use this byte to test continuity of the connection between two interfaces at the path level.

The J1 byte must be the same at both ends of a link.

Examples

# Set the J1 byte to aabbcc for SDH on RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] flag j1 sdh aabbcc

Related commands

·     display interface

·     frame-format

flow-interval

Use flow-interval to set the packet statistics collection interval.

Use undo flow-interval to restore the default.

Syntax

flow-interval interval

undo flow-interval

Default

The packet statistics collection interval is 300 seconds.

Views

RPR logical interface

RPRXGE/RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

interval: Sets the packet statistics collection interval in the range of 5 to 300 seconds, in increments of 5.

Usage guidelines

You can configure the packet statistics collection interval in system view and interface view. The configuration in system view applies to all interfaces and takes precedence over interface view.

Examples

# Set the packet statistics collection interval to 100 seconds for the RPR physical port RPRXGE 4/1/1.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] flow-interval 100

# Set the packet statistics collection interval to 100 seconds for the RPR physical port RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] flow-interval 100

# Set the packet statistics collection interval to 100 seconds for the RPR logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rprpos 4/0/1

[Sysname-RPR4/0/1] flow-interval 100

frame-format

Use frame-format to set the framing format for the interface.

Use undo frame-format to restore the default.

Syntax

frame-format { sdh | sonet }

undo frame-format

Default

The framing format is SDH.

Views

RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

sdh: Sets the framing format to SDH.

sonet: Sets the framing format to SONET.

Usage guidelines

The overhead bytes configured with the flag j0 and flag j1 commands must match the framing format.

Examples

# Set the framing format to SONET for the interface RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] frame-format sonet

Related commands

·     flag j0

·     flag j1

interface

Use { rprpos | rprxge } to enter RPR physical port view.

Use interface rpr to create an RPR logical interface and enter RPR logical interface view.

Syntax

interface { rprpos | rprxge } interface-number

interface rpr interface-number

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

rprpos: Specifies an RPRPOS port.

rprxge: Specifies an RPRXGE port.

rpr: Specifies an RPR logical interface.

interface-number: Specifies an interface by its number.

Usage guidelines

If the LSUM1SPMAEC0 base card is operating correctly, RPR automatically creates an RPR logical interface. If the LSUM1SPMAEC0 base card is removed, the logical interface is deleted.

RPR logical interfaces allow only the packets containing VLAN tags to pass through. The VLAN cannot be the same as the VLAN to which the Layer 2 Ethernet interfaces belong. Only Layer 3 forwarding is implemented between an RPR logical interface and a Layer 2 Ethernet interface.

Examples

# Create an RPR logical interface RPR 4/0/1 and enter its view.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1]

# Enter RPR physical port RPRXGE 4/1/1 view.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1]

# Enter RPR physical port RPRPOS 4/1/1 view.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1]

reset counters interface

Use reset counters interface to clear interface statistics.

Syntax

reset counters interface [ { rpr| rprpos | rprxge } [ interface-number ] ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

rpr: Clears RPR logical interface statistics.

rprpos: Clears RPRPOS port statistics.

rprxge: Clears RPRXGE port statistics.

interface-number: Specifies an interface by its number.

Usage guidelines

To collect statistics for an RPR logical interface within a specific period, you must clear statistics for the interface before starting statistics collection.

If you do not specify the interface type, this command clears statistics for all interfaces.

If you specify the interface type, but not the interface number, this command clears statistics for all interfaces of the specified type.

Examples

# Clear statistics for the RPR logical interface RPR 4/0/1.

<Sysname> reset counters interface rpr 4/0/1

# Clear statistics for the RPR physical port RPRXGE 4/1/1.

<Sysname> reset counters interface rprxge 4/1/1

# Clear statistics for the RPR physical port RPRPOS 4/1/1.

<Sysname> reset counters interface rprpos 4/1/1

Related commands

display interface

reset rpr protection statistics

Use reset rpr protection statistics to clear RPR protection event statistics.

Syntax

reset rpr protection statistics [ rpr interface-number ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

rpr interface-number: Specifies an RPR logical interface by its type and number. If you do not specify this option, this command clears the RPR protection events statistics for all RPR logical interfaces.

Examples

# Clear RPR protection event statistics for all stations.

<Sysname> reset rpr protection statistics

rpr admin-request

Use rpr admin-request to configure a manual protection request for a station on a ringlet.

Syntax

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

Default

Idle protection applies.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

fs: Specifies a forced switch (FS) protection request.

idle: Specifies an idle protection request. If you specify this keyword, the command clears the FS or MS protection request.

ms: Specifies a manual switch (MS) protection request.

ringlet0: Specifies Ringlet 0.

ringlet1: Specifies Ringlet 1.

Usage guidelines

Six types of protection requests, FS, signal fail (SF), signal degrade (SD), MS, wait to restore (WTR), and idle, are available with decreased priorities. FS and MS requests are sent manually. SF, SD, and WTR requests are sent automatically.

If you execute this command repeatedly for an RPR physical port, the most recent configuration takes effect.

Examples

# Configure an FS protection request on Ringlet 0 for the RPR logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr admin-request fs ringlet0

rpr default-rs ringlet1

Use rpr default-rs ringlet1 to configure Ringlet 1 as the default sending ringlet.

Use undo rpr default-rs to restore the default.

Syntax

rpr default-rs ringlet1

undo rpr default-rs

Default

The default sending ringlet is Ringlet 0.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

If the configured default sending ringlet is faulty, the other ringlet takes over. If both ringlets are faulty, the system uses the configured default sending ringlet.

Examples

# Specify Ringlet 1 as the default sending ringlet for the RPR logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr default-rs ringlet1

rpr echo mac

Use rpr echo mac to test the connectivity between the current station and a peer station.

Syntax

rpr echo mac mac-address [ -c c-value | -r { ringlet0 | ringlet1 | reverse } | -s { ringlet0 | ringlet1 } | -t t-value ] *

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

mac-address: Specifies the MAC address of the peer station.

-c c-value: Specifies the number of Echo Requests to be sent for testing connectivity, in the range of 1 to 1000. The default value is 5.

-r: Specifies the sending ringlet for Echo Responses.

reverse: Specifies the ringlet on the reverse direction of the Echo Request receiving ringlet.

-s: Specifies the sending ringlet for Echo Requests.

ringlet0: Specifies Ringlet 0.

ringlet1: Specifies Ringlet 1.

-t t-value: Specifies the echo response timeout timer in the range of 10 to 65535 milliseconds. The default value is 10 milliseconds.

Usage guidelines

If neither the sending ringlet nor the receiving ringlet is specified, the default ringlet is used for transmitting Echo Request packets and Echo Response packets.

The connectivity between the current station and a peer station is considered normal if the following conditions exist:

·     The peer station can receive Echo Request packets from the current station on a specific ringlet.

·     The current station can receive Echo Response packets from the peer station on a specific ringlet.

Examples

# Test connectivity between the current station and the station with MAC address 0012-3F83-A1E3 on RPR 4/0/1. Specify ringlet 0 as the sending ringlet and ringlet 1 as the receiving ringlet.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr echo mac 0012-3F83-A1E3 -s ringlet0 -r ringlet1

Ping 0012-3F83-A1E3: press CTRL+C to break

   Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=2 time=1 ms

   Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=3 time=1 ms

   Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=4 time=1 ms

   Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=5 time=1 ms

   Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=6 time=1 ms

--- Ping statistics for 0012-3F83-A1E3 ---

    5 packet(s) transmitted

    5 packet(s) received

    0.0% packet loss

    Round-trip min/avg/max = 1/1/16 ms

rpr encapsulation extend

Use rpr encapsulation extend to set the extended packet encapsulation mode.

Use undo rpr encapsulation extend to restore the default.

Syntax

rpr encapsulation extend

undo rpr encapsulation extend

Default

An RPR station uses the standard packet encapsulation mode.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

If a ring contains S9500E devices, you must set the extended packet encapsulation mode. As a best practice, set the standard packet encapsulation mode if the ring does not contain S9500E devices.

All devices on a ring must be configured with the same packet encapsulation mode.

Examples

# Set the extended packet encapsulation mode for the logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname- RPR4/0/1] rpr encapsulation extend

rpr port-type

Use rpr port-type to change the RPR physical port type.

Syntax

rpr port-type { 10ge | 10gpos }

Default

The RPR physical port type is 10GPOS.

Views

RPRXGE/RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

10ge: Changes the type of RPR physical ports to 10GE.

10gpos: Changes the type of RPR physical ports to 10GPOS.

Usage guidelines

After you change the RPR physical port type, the following results will occur:

·     The subcard where the RPR physical ports reside will reboot, and the configuration on the ports will be lost.

·     The ports previously assigned to the non-default Multitenant Device Context (MDC) will be assigned to the default MDC. You must manually change the MDC assignment.

·     The port will be automatically bound to the RPR logical interface.

This command takes effect only on 10GPOS and 10GE RPR physical ports.

Examples

# Change the type of RPRXGE 4/1/1 to 10GPOS.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] rpr port-type 10gpos

# Change the type of RPRPOS 4/1/1 to 10GE.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] rpr port-type 10ge

rpr rate-limit

Use rpr rate-limit to configure reserved bandwidth or rate limit for a service class on a ringlet.

Use undo rpr rate-limit to restore the default.

Syntax

rpr rate-limit { high | low | medium | reserved } { ringlet0 | ringlet1 } value

undo rpr rate-limit { high | low | medium | reserved } { ringlet0 | ringlet1 }

Default

The default setting varies by service class.

·     0‰ bandwidth reservation for subclass A0.

·     2‰ data rate limit for subclass A1.

·     0‰ data rate limit for class B-CIR.

·     1000‰ data rate limit for classes C and B-EIR.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

high: Specifies rate limit for subclass A1 traffic.

low: Specifies rate limit for class B-EIR and class C traffic.

medium: Specifies rate limit for class B-CIR traffic.

reserved: Specifies the reserved bandwidth for subclass A0 traffic.

ringlet0: Specifies Ringlet 0 as the sending ringlet.

ringlet1: Specifies Ringlet 1 as the sending ringlet.

value: Set the reserved bandwidth or rate limit value in the range of 0 to 1000, in permillage.

Usage guidelines

The total bandwidth reserved for subclass A0 by the stations on a ringlet must be less than the ringlet bandwidth.

Examples

# Set the reserved bandwidth to 5‰ for subclass A0 traffic on Ringlet 0 for RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr rate-limit reserved ringlet0 5

rpr reversion-mode non-revertive

Use rpr reversion-mode non-revertive to set the RPR protection reversion mode.

Use undo rpr reversion-mode to restore the default.

Syntax

rpr reversion-mode non-revertive

undo rpr reversion-mode

Default

A station uses the revertive protection mode.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Set the non-revertive protection mode for RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr reversion-mode non-revertive

rpr static-rs

Use rpr static-rs to create a static ringlet selection entry.

Use undo rpr static-rs to remove a static ringlet selection entry.

Syntax

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

undo rpr static-rs mac-address

Default

No static ringlet selection entry exists.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

ringlet0: Specifies Ringlet 0 as the sending ringlet for data frames destined to the specified MAC address.

ringlet1: Specifies Ringlet 1 as the sending ringlet for data frames destined to the specified MAC address.

mac-address: Specifies a destination station by its MAC address.

Examples

# Create two static ringlet selection entries on RPR 4/0/1. Specify Ringlet 0 for sending data frames destined to 0001-0002-0003, and Ringlet 1 for sending data frames destined to 0001-0002-0004.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr static-rs 0001-0002-0003 ringlet0

[Sysname-RPR4/0/1] rpr static-rs 0001-0002-0004 ringlet1

rpr station-name

Use rpr station-name to configure an RPR station name.

Use undo rpr station-name to remove an RPR station name.

Syntax

rpr station-name station-name

undo rpr station-name

Default

An RPR station is not configured with a name.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

station-name: Configures an RPR station name, a string of 1 to 127 characters.

Examples

# Configure ABC as the station name on RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr station-name ABC

rpr timer

Use rpr timer to set RPR timers.

Use undo rpr timer to restore the default.

Syntax

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

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

Default

·     The ATD timer is 1 second.

·     The hold-off timer is 0 milliseconds.

·     The keepalive timer is 3 milliseconds.

·     The topology stability timer is 40 milliseconds.

·     The TC fast timer is 10 milliseconds.

·     The TC slow timer is 100 milliseconds.

·     The TP fast timer is 10 milliseconds.

·     The TP slow timer is 100 milliseconds.

·     The WTR timer is 10 seconds.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

atd atd-value: Sets the ATD timer in the range of 1 to 10 seconds.

holdoff holdoff-value: Sets the hold-off timer, in steps of 10 milliseconds in the range of 0 to 200 milliseconds.

keepalive keepalive-value: Sets the keepalive timer in the range of 2 to 200 milliseconds.

stability stability-value: Sets the topology stability timer in the range of 10 to 100 milliseconds.

tc-fast tc-fast-value: Sets the TC fast timer in the range of 1 to 20 milliseconds.

tc-slow tc-slow-value: Sets the TC slow timer, in steps of 50 milliseconds and in the range of 50 to 10000 milliseconds.

tp-fast tp-fast-value: Sets the TP fast timer in the range of 1 to 20 milliseconds.

tp-slow tp-slow-value: Sets the TP slow timer, in steps of 50 milliseconds in the range of 50 to 10000 milliseconds.

wtr wtr-value: Sets the WTR timer in the range of 0 to 1440 seconds.

Examples

# Set the ATD timer to 3 seconds on RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr timer atd 3

Related commands

display rpr timers

rpr weight

Use rpr weight to set the weight of a station.

Use undo rpr weight to restore the default.

Syntax

rpr weight { ringlet0 | ringlet1 } value

undo rpr weight { ringlet0 | ringlet1 }

Default

The weight of a station on both ringlets is 1.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

ringlet0: Sets the weight of the station on Ringlet 0.

ringlet1: Sets the weight of the station on Ringlet 1.

value: Specifies the weight in the range of 0 to 255. The value must be a power of 2.

Examples

# Set the station weight to 2 for Ringlet 0 on RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname-RPR4/0/1] rpr weight ringlet0 2

rpr weight standard

Use rpr weight standard to specify the standard algorithm for calculating the weight in ATD frames.

Use undo rpr weight standard to restore the default.

Syntax

rpr weight standard

undo rpr weight standard

Default

An RPR station uses the proprietary algorithm for calculating the weight in ATD frames.

Views

RPR logical interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

If a ring contains S9500E and S9500 devices, use the default algorithm for calculating the weight in ATD frames.

All devices on a ring must be configured with the same algorithm for calculating the weight in ATD frames.

Examples

# Specify the standard algorithm for calculating the weight in ATD frames for the logical interface RPR 4/0/1.

<Sysname> system-view

[Sysname] interface rpr 4/0/1

[Sysname- RPR4/0/1] rpr weight standard

shutdown

Use shutdown to shut down an interface.

Use undo shutdown to bring up an interface.

Syntax

shutdown

undo shutdown

Default

An interface is up.

Views

RPRPOS/RPRXGE interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Shut down RPRXGE 4/1/1.

<Sysname> system-view

[Sysname] interface rprxge 4/1/1

[Sysname-RPRXGE4/1/1] shutdown

# Shut down RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] shutdown

threshold

Use threshold to set the SD or SF alarm threshold for an interface.

Use undo threshold to restore the default.

Syntax

threshold { sd sdvalue| sf sfvalue }*

undo threshold { sd | sf }

Default

The SD alarm threshold and SF alarm threshold are 10e–5 and 10e–3, respectively.

Views

RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

sd: Specifies the SD alarm threshold.

sdvalue: Specifies the power for setting the SD alarm threshold. The threshold is 10e to the power of negative sdvalue (10esdvalue). The value is in the range of 3 to 9. Only a value of 5 to 7 can be configured. The greater the value, the lower the SD alarm threshold.

sf: Specifies the SF alarm threshold. The SF alarm threshold must be higher than the SD alarm threshold.

sfvalue: Specifies the power for setting the SF alarm threshold. The threshold is 10e to the power of negative sdvalue (10esfvalue). The value is in the range of 3 to 9. Only a value of 3 to 5 can be configured. The greater the value, the lower the SF alarm threshold.

Usage guidelines

An interface generates SD or SF alarms when the bit error rate exceeds the SD or SF alarm threshold. The SF alarm threshold must be higher than the SD alarm threshold. SF alarms indicate a more serious line performance degradation than SD alarms. The sdvalue argument must be greater than the sfvalue argument

Examples

# Configure the SD threshold as 10e to the power of negative 4 (10e–6) on RPRPOS 2/4/0.

<Sysname> system-view

[Sysname] interface rprpos 2/4/0

[Sysname-RPRPOS2/4/0] threshold sd 6

timer-hold

Use timer-hold to set the keepalive interval.

Use undo timer-hold to restore the default.

Syntax

timer-hold seconds

undo timer-hold

Default

The keepalive interval is 10 seconds.

Views

RPRPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

seconds: Specifies the interval for sending keepalive packets, in the range of 0 to 32767 seconds.

Usage guidelines

On an interface encapsulated with PPP, FR, or HDLC, the data link layer sends keepalive packets at keepalive intervals to detect the availability of the remote end. The data link layer determines that the peer end has been down if it does not receive keepalive messages when the keepalive retry limit is reached. The data link layer then reports the link down event to the upper-layer protocols.

To set the keepalive retry limit, use the timer-hold retry command.

On a slow link, increase the keepalive interval to prevent false shutdown of the interface. This situation might occur when keepalive packets are delayed because a large packet is being transmitted on the link.

Examples

# Set the keepalive interval to 15 seconds for RPRPOS 4/1/1.

<Sysname> system-view

[Sysname] interface rprpos 4/1/1

[Sysname-RPRPOS4/1/1] timer-hold 15

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
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
新华三官网