10-High Availability Command Reference

HomeSupportReference GuidesCommand ReferencesH3C IE4300[IE4300-M][IE4320] Switch Series Command References-R63xx-6W10210-High Availability Command Reference
11-MRP commands
Title Size Download
11-MRP commands 189.13 KB

MRP commands

MRP is supported only in F6355P05 and later.

display iec-mrp inter-domain

Use display iec-mrp inter-domain to display interconnection domain information.

Syntax

display iec-mrp inter-domain [ domain-id ] { summary | verbose }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

domain-id: Specifies an interconnection domain by its domain ID The value range for this argument is 1 to 16. If you do not specify this argument, the command displays information about all interconnection domains.

summary: Displays summary interconnection domain information.

verbose: Displays detailed interconnection domain information.

Examples

# Display summary information about all interconnection domains.

<Sysname> display iec-mrp inter-domain summary

Interconnection domain ID    : 2

  Device role                : MIM

  Protocol state             : Enable

  Ring state                 : Open

 

Interconnection domain ID     : 3

  Device role                : MIC

  Protocol state             : Enable

# Display detailed information about all interconnection domains.

<Sysname> display iec-mrp inter-domain verbose

Interconnection domain ID    : 2

  Domain name                : inter-ring2

  Domain InID                : 123

  Device role                : MIM

  Detection mode             : LC

  VLAN ID                    : 5

  Protocol state             : Enable

  Ring state                 : Open

  Convergence profile        : 500ms

  Interconnection port       : GigabitEthernet1/0/1  Forwarding

  Interconnection topology change interval      : 20ms

  Interconnection topology change repeat count  : 3

  Interconnection default test interval         : 50ms

  Interconnection test monitoring count         : 8

  Interconnection link status poll interval     : 20ms

  Interconnection link status poll repeat count : 8

 

Interconnection domain ID   : 3

  Domain name               : inter-ring2

  Domain InID               : 123

  Device role               : MIC

  VLAN ID                   : 5

  Convergence profile       : 500ms

  Interconnection port      : GigabitEthernet1/0/1  Forwarding

  Interconnection link down interval : 20ms

  Interconnection link up interval   : 20ms

  Interconnection link change count  : 4

Table 1 Command output

Field

Description

Interconnection domain ID

Domain ID of the interconnection domain.

Device role

Role of the device in the interconnection domain:

·     MIM—Media Redundancy Interconnection Manager.

·     MIC—Media Redundancy Interconnection Client.

Protocol state

Whether MRP is enabled for the interconnection domain:

·     Enabled.

·     Disabled.

Ring state

Physical ring state of the interconnection domain:

·     Open—The physical ring of the interconnection domain is broken.

·     Close—The physical ring of the interconnection domain is complete.

·     N/A—MRP is not enabled for the interconnection domain. The physical ring of the interconnection domain is unknown.

Domain name

Domain name of the interconnection domain. If you do not configure a domain name for the interconnection domain, this field displays N/A.

Domain InID

InID of the interconnection domain.

Detection mode

Detection mode of the interconnection domain.

VLAN ID

VLAN for MRP frame transmission in the interconnection domain. If you do not configure the VLAN for MRP frame transmission in the interconnection domain, this field displays N/A.

Convergence profile

Maximum convergence time of the interconnection domain.

Interconnection port

Interconnection port of the device in the interconnection domain and the state of the interconnection port:

·     Blocked.

·     Forwarding.

The state of the interconnection port is displayed only when MRP is enabled.

Interconnection topology change interval

Interval at which the MIM sends MRP_InTopologyChange frames, in milliseconds.

Interconnection topology change repeat count

Number of repeated attempts that the MIM sends MRP_InTopologyChange frames.

Interconnection default test interval

Default interval at which the MIM sends MRP_InTest frames, in milliseconds.

Interconnection test monitoring count

Number of MRP_InTest frames sent by the MIM.

Interconnection link status poll interval

Interval at which the MIM sends MRP_InLinkStatusPoll frames, in milliseconds.

Interconnection link status poll repeat count

Number of MRP_InLinkStatusPoll frames sent by the MIM.

Interconnection link down interval

Interval at which the MIM sends MRP_InLinkDown frames, in milliseconds.

Interconnection link up interval

Interval at which the MIM sends MRP_InLinkUp frames, in milliseconds.

Interconnection link change count

Number of MRP_InLinkChange frames (including MRP_InLinkDown frames and MRP_InLinkUp frames) sent by the MIM.

display iec-mrp redundancy-domain

Use display iec-mrp redundancy-domain to display redundancy domain information.

Syntax

display iec-mrp redundancy-domain [ domain-id ] { summary | verbose }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

domain-id: Specifies a redundancy domain by its domain ID. The value range for this argument is 1 to 16. If you do not specify this argument, the command displays information about all redundancy domains.

summary: Displays summary redundancy domain information.

verbose: Displays detailed redundancy domain information.

Examples

# Display summary information about all redundancy domains.

<Sysname> display iec-mrp redundancy-domain summary

Redundancy domain ID     : 1

  Device role            : MRM

  Protocol state         : Enable

  Ring state             : Open

 

Redundancy domain ID     : 2

  Device role            : MRC

  Protocol state         : Enabled

 

Redundancy domain ID     : 3

  Device role            : MRA

  Protocol state         : Enabled

# Display detailed information about all redundancy domains.

<Sysname> display iec-mrp redundancy-domain verbose

Redundancy domain ID   : 1

  Domain name            : ring1

  Domain UUID            : 123e4567-e89b-12d3-a456-426655440000

  Device role            : MRM

  Device priority        : 32768

  VLAN ID                : 6

  Convergence profile    : 500ms

  React to link change   : Yes

  Protocol state         : Enabled

  Ring state             : Open

  Non-blocking MRC       : No

  Ring ports             : GigabitEthernet1/0/1  Forwarding

                         : GigabitEthernet1/0/2  Forwarding

  Topology change request interval        : 20ms

  Topology change repeat count            : 3

  Short test frame interval               : 30ms

  Default test frame interval             : 50ms

  Test monitoring interval count          : 3

  Test monitoring extended interval count : 0

 

Redundancy domain ID     : 2

  Domain name            : ring2

  Domain UUID            : 123e4567-e89b-12d3-a456-426655440000

  Device role            : MRC

  Device priority        : 32768

  VLAN ID                : 6

  Convergence profile    : 500ms

  Blocking state         : Supported

  Ring ports             : GigabitEthernet1/0/3  Forwarding

                         : GigabitEthernet1/0/4  Forwarding

  Link down change interval : 20ms

  Link up change interval   : 20ms

  Link change count         : 3

 

Redundancy domain ID     : 3

  Domain name            : ring2

  Domain UUID            : 123e4567-e89b-12d3-a456-426655440000

  Device role            : MRA

    Device current role  : MRC

  Device priority        : 32768

  VLAN ID                : 6

  Convergence profile    : 500ms

  Blocking state         : Supported

  Ring ports             : GigabitEthernet1/0/5  Forwarding

                         : GigabitEthernet1/0/6  Forwarding

  Link down change interval : 20ms

  Link up change interval   : 20ms

  Link change count         : 3

Table 2 Command output

Field

Description

Redundancy domain ID

Domain ID of the redundancy domain.

Device role

Role of the device in the redundancy domain:

·     MRA—Media Redundancy Automanager.

·     MRM—Media Redundancy Manager.

·     MRC—Media Redundancy Client.

Device current role

Role of the MRA in the redundancy domain:

·     MRM—Media Redundancy Manager.

·     MRC—Media Redundancy Client.

This field is displayed only when the device acts as an MRA.

Protocol state

Whether MRP is enabled for the redundancy domain:

·     Enabled.

·     Disabled.

Ring state

Physical ring state of the redundancy domain:

·     Open—The physical ring of the redundancy domain is broken.

·     Close—The physical ring of the redundancy domain is complete.

·     N/A—MRP is not enabled for the redundancy domain. The physical ring of the redundancy domain is unknown.

Domain name

Domain name of the redundancy domain. If you do not configure a domain name for the redundancy domain, this field displays N/A.

Domain UUID

UUID of the redundancy domain.

Device priority

Priority value of the device in the redundancy domain.

VLAN ID

VLAN for MRP frame transmission in the redundancy domain. If you do not configure the VLAN for MRP frame transmission in the redundancy domain, this field displays N/A.

Convergence profile

Maximum convergence time of the redundancy domain.

React to link change

Whether the MRM processes MRP_LinkChange frames:

·     Yes.

·     No.

Non-blocking MRC

Whether some MRCs do not support blocking their own ring ports:

·     Yes—Some MRCs do not support blocking their own ring ports.

·     No—All MRCs support blocking their own ring ports.

Ring ports

Ring ports of the device in the redundancy domain and the state of each ring port:

·     Blocked.

·     Forwarding.

The states of the ring ports are displayed only when MRP is enabled.

Topology change request interval

Interval at which the MRM sends MRP_InTopologyChange frames, in milliseconds.

Topology change repeat count

Number of repeated attempts that the MRM sends MRP_InTopologyChange frames.

Short test frame interval

Interval at which the MRM fast sends MRP_Test frames, in milliseconds.

Default test frame interval

Default interval at which the MRM sends MRP_Test frames, in milliseconds.

Test monitoring interval count

Number of MRP_Test frames sent by the MRM.

Test monitoring extended interval count

Number of additional MRP_Test frames sent by the MRM.

Blocking state

Whether the MRC supports blocking its own ring ports. If the the MRC supports blocking its own ring ports, this field displays Supported.

Link down change interval

Interval at which the MRC sends MRP_LinkDown frames, in milliseconds.

Link up change interval

Interval at which the MRC sends MRP_LinkUp frames, in milliseconds.

Link change count

Number of MRP_LinkChange frames (including MRP_LinkDown frames and MRP_LinkUp frames) sent by the MRC.

display iec-mrp statistics inter-domain

Use display iec-mrp statistics inter-domain to display interconnection domain frame statistics.

Syntax

display iec-mrp statistics inter-domain { domain-id | all }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

domain-id: Specifies an interconnection domain by its domain ID. The value range for this argument is 1 to 16.

all: Displays frame statistics of all interconnection domains.

Examples

# Display frame statistics of all interconnection domains.

<Sysname> display iec-mrp statistic inter-domain all

Packets statistics for interconnection domain 1 GigabitEthernet1/0/1:

   Packet type                      Sent                   Received

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

   MRP_InTest                        164                    75

   MRP_InTopologyChange              164                    75

   MRP_InLinkStatusPoll              0                      0

   MRP_InLinkChange                  0                      0

Error MRP packets: 99

 

Packets statistics for interconnection domain 2 GigabitEthernet1/0/2:

   Packet type                      Sent                   Received

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

   MRP_InTest                        164                    75

   MRP_InTopologyChange              164                    75

   MRP_InLinkStatusPoll              0                      0

   MRP_InLinkChange                  0                      0

Error MRP packets: 99

Table 3 Command output

Field

Description

Packets statistics for interconnection domain x:

Frame statistics of a specific interconnection domain.

Packet type

MRP frame type.

Sent

Number of sent MRP frames.

Received

Number of received MRP frames.

Error MRP Packets

Number of error MRP frames.

display iec-mrp statistics redundancy-domain

Use display iec-mrp statistics redundancy-domain to display redundancy domain frame statistics.

Syntax

display iec-mrp statistics redundancy-domain { domain-id | all }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

domain-id: Specifies a redundancy domain by its domain ID. The value range for this argument is 1 to 16.

all: Displays frame statistics of all redundancy domains.

Examples

# Display frame statistics of all redundancy domains.

<Sysname> display iec-mrp statistic redundancy-domain all

 Packets statistics for redundancy domain 1 GigabitEthernet0/0/1:

   Packet type                      Sent                   Received

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

   MRP_Test                         164                    75

   MRP_TestMgrNAck                  164                    75

   MRP_TestPropagate                0                      0

   MRP_LinkChange                   0                      0

   MRP_TopologyChange               0                      0

   MRP_InTest                       164                    75

   MRP_InTopologyChange             164                    75

   MRP_InLinkStatusPoll             0                      0

   MRP_InLinkChange                 0                      0

Error MRP packets: 88

 

Packets statistics for redundancy domain 2 GigabitEthernet0/0/2:

   Packet type                      Sent                   Received

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

   MRP_Test                         164                    75

   MRP_TestMgrNAck                  164                    75

   MRP_TestPropagate                0                      0

   MRP_LinkChange                   0                      0

   MRP_TopologyChange               0                      0

   MRP_InTest                       164                    75

   MRP_InTopologyChange             164                    75

   MRP_InLinkStatusPoll             0                      0

   MRP_InLinkChange                 0                      0

Error MRP packets: 88

Table 4 Command output

Field

Description

Packets statistics for redundancy domain x:

Frame statistics of a specific redundancy domain.

Packet type

MRP frame type.

Sent

Number of sent MRP frames.

Received

Number of received MRP frames. Ring ports in Blocked state can receive MRP_InTest frames but do not process or forward these frames. This field does not display the number of MRP_InTest frames received by ring ports in Blocked state.

Error MRP packets

Number of error MRP frames.

iec-mrp check-mode

Use iec-mrp check-mode to configure the detection mode for an interconnection domain.

Use undo iec-mrp check-mode to restore the default.

Syntax

iec-mrp check-mode { lc | rc }

undo iec-mrp check-mode

Default

The detection mode of an interconnection domain is Link Check mode (LC-mode).

Views

Interconnection domain view

Predefined user roles

network-admin

Parameters

lc: Configures the detection mode for the interconnection domain as LC-mode.

rc: Configures the detection mode for the interconnection domain as Ring Check mode (RC-mode).

Usage guidelines

MRP uses one of the following modes to detect link states in an interconnection domain:

·     LC-mode—Each device detects the link state of its own interconnection port. The MIM determines whether to block or release its interconnection port based on the link change notification messages from MICs.

·     RC-mode—The MIM determines whether to block or release its interconnection port based on whether it receives the MRP frames sent by itself.

To ensure the correct operation of MRP, configure the same detection mode for all devices in an interconnection domain.

If you execute this command multiple times, the most recent configuration takes effect.

After you enable MRP for an interconnection domain, you cannot edit the detection mode of the interconnection domain. To edit the detection mode, you must first execute the undo iec-mrp enable command to disable MRP for the interconnection domain.

Examples

# Configure the detection mode of interconnection domain 1 as RC-mode.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp check-mode rc

Related commands

display iec-mrp inter-domain

iec-mrp enable

iec-mrp domain-inid

Use iec-mrp domain-inid to configure the InID for an interconnection domain.

Use undo iec-mrp domain-inid to restore the default.

Syntax

iec-mrp domain-inid domain-inid

undo iec-mrp domain-inid

Default

The InID for an interconnection domain is 65535.

Views

Interconnection domain view

Predefined user roles

network-admin

Parameters

domain-inid: Specifies the InID for the interconnection domain, in the range of 1 to 65535.

Usage guidelines

Do not configure the same InID for different interconnection domains on the same device. If a device belongs to multiple interconnection domains, you must use this command to edit the InID of each interconnection domain, because the interconnection domains have the same default InID.

You can configure different domain IDs and domain names for an interconnection domain on different devices. You must configure the same InID for an interconnection domain on all devices. In a ring network, an InID is the unique identifier of an interconnection domain. InIDs are carried in MRP frames. An MRP-enabled device uses InIDs to identify interconnection domains, and chooses configuration of an interconnection domain by its InID for MRP topology calculation.

If you execute this command multiple times, the most recent configuration takes effect. After you enable MRP for an interconnection domain, you cannot edit the InID of the interconnection domain. To edit the InID, you must first execute the undo iec-mrp enable command to disable MRP for the interconnection domain.

Examples

# Configure InID 123 for interconnection domain 1.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp domain-inid 123

Related commands

display iec-mrp inter-domain

iec-mrp enable

iec-mrp domain-name

Use iec-mrp domain-name to configure a domain name for a redundancy domain or an interconnection domain.

Use undo iec-mrp domain-name to delete the domain name of a redundancy domain or an interconnection domain.

Syntax

iec-mrp domain-name domain-name

undo iec-mrp domain-name

Default

No domain names are configured for a redundancy domain or an interconnection domain.

Views

Redundancy domain view

Interconnection domain view

Predefined user roles

network-admin

Parameters

domain-name: Specifies a domain name for the redundancy domain or interconnection domain, a case-sensitive string of 1 to 240 characters.

Usage guidelines

Use this command to configure a domain name for the redundancy domain or interconnection domain. The domain name can be used to identify the redundancy domain or interconnection domain on the device.

You cannot configure the same domain name for different redundancy domains or interconnection domains. You can configure the same domain name for a redundancy domain and an interconnection domain.

If you execute this command multiple times for the same redundancy domain or interconnection domain, the most recent configuration takes effect.

If MRP is enabled for a redundancy domain or an interconnection domain, you cannot use this command to edit the domain name. To edit the domain name, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain or interconnection domain.

Examples

# Configure the domain name for redundancy domain 1 as ring1.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp domain-name ring1

# Configure the domain name for interconnection domain 1 as ring1.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp domain-name inter-ring1

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

iec-mrp domain-uuid

Use iec-mrp domain-uuid to configure the UUID for a redundancy domain.

Use undo iec-mrp domain-uuid to restore the default.

Syntax

iec-mrp domain-uuid domain-uuid

undo iec-mrp domain-uuid

Default

The UUID of a redundancy domain is ffffffff-ffff-ffff-ffff-ffffffffffff.

Views

Redundancy domain view

Predefined user roles

network-admin

Parameters

domain-uuid: Specifies the UUID of the redundancy domain, a 32-bit hexadecimal number in the format of xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

Usage guidelines

Do not configure the same UUID for different redundancy domains on the same device. If a device belongs to multiple redundancy domains, you must use this command to edit the UUID of each redundancy domain, because the redundancy domains have the same default UUID.

You can configure different domain IDs and domain names for a redundancy domain on different devices. You must configure the same UUID for a redundancy domain on all devices. In a ring network, a UUID is the unique identifier of a redundancy domain. UUIDs are carried in MRP frames. An MRP-enabled device uses UUIDs to identify redundancy domains, and chooses configuration of a redundancy domain by its UUID for MRP topology calculation.

If you execute this command multiple times, the most recent configuration takes effect. After you enable MRP for a redundancy domain, you cannot edit the UUID for the redundancy domain. To edit the UUID, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain.

Examples

# Configure the UUID for redundancy domain 1 as 123e4567-e89b-12d3-a456-426655440000.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp domain-uuid 123e4567-e89b-12d3-a456-426655440000

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

iec-mrp enable

Use iec-mrp enable to enable MRP for a redundancy domain or an interconnection domain.

Use undo iec-mrp enable to disable MRP for a redundancy domain or an interconnection domain.

Syntax

iec-mrp enable

undo iec-mrp enable

Default

MRP is disabled for a redundancy domain or an interconnection domain.

Views

Redundancy domain view

Interconnection domain view

Predefined user roles

network-admin

Usage guidelines

As a best practice to avoid broadcast storms, disconnect the physical ring topology before you enable MRP. After you enable MRP, restore the Ethernet ring topology.

·     Make sure the following conditions exist before you enable MRP for a redundancy domain:

¡     Device roles and ring ports in the redundancy domain are correctly configured.

¡     The domain name and UUID of the redundancy domain are different from those of other MRP-enabled redundancy domains.

¡     The priority values of the MRM and MRAs are correctly configured.

·     After you enable MRP for a redundancy domain, you cannot edit the following settings:

¡     UUID of the redundancy domain.

¡     Role of each device in the redundancy domain.

¡     Priority value of each device in the redundancy domain.

¡     VLAN for MRP frame transmission in the redundancy domain.

¡     Maximum convergence time of the redundancy domain.

¡     Enabling status for the MRM to process MRP_LinkChange frames.

¡     Ring ports of each device in the interconnection domain.

To edit the parameters above, you must first disable MRP for the redundancy domain.

·     Make sure the following conditions exist before you enable MRP for an interconnection domain:

¡     Device roles and interconnection ports in the interconnection domain are correctly configured.

¡     The domain name and InID of the interconnection domain are different from those of other MRP-enabled interconnection domains.

¡     Each device in the interconnection domain has one and only one MRP-enabled redundancy domain.

·     After you enable MRP for an interconnection domain, you cannot edit the following settings:

¡     InID of the interconnection domain.

¡     Detection mode in the interconnection domain.

¡     Role of each device in the interconnection domain.

¡     VLAN for MRP frame transmission in the interconnection domain.

¡     Maximum convergence time of the interconnection domain.

¡     Interconnection port of each device in the interconnection domain.

To edit the parameters above, you must first disable MRP for the interconnection domain.

You can enable MRP for multiple interconnection domains on a device. As long as a device is in an MRP-enabled interconnection domain, you cannot disable MRP for the redundancy domain on the device.

You cannot enable MRP for a redundancy domain or an interconnection domain if any of the following features is enabled on the domain-associated ring ports or interconnection ports:

·     Spanning tree.

·     Smart Link.

·     ERPS.

·     RRPP.

Examples

# Enable MRP for redundancy domain 1.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp enable

# Enable MRP for interconnection domain 1.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp enable

Related commands

display iec-mrp redundancy-domain

iec-mrp check-mode

iec-mrp domain-inid

iec-mrp domain-uuid

iec-mrp not-react link-change

iec-mrp priority

iec-mrp profile

iec-mrp role

iec-mrp vlan

port iec-mrp inter-domain

port iec-mrp redundancy-domain

iec-mrp inter-domain

Use iec-mrp inter-domain to create an interconnection domain and enter its view.

Use undo iec-mrp inter-domain to remove an interconnection domain and all its settings.

Syntax

iec-mrp inter-domain domain-id

undo iec-mrp inter-domain domain-id

Default

No interconnection domains exist.

Views

System view

Predefined user roles

network-admin

Parameters

domain-id: Specifies an interconnection domain by its domain ID. The value range for this argument is 1 to 16.

Usage guidelines

MRP uses two links to redundantly connect two MRP rings. In this way, a new ring is formed between two MRP rings. MRP uses an interconnection domain to manage the ring through four devices.

A device can belong to multiple interconnection topologies. An interconnection domain identifies an interconnection topology. In an interconnection topology, you can create multiple interconnection domains and configure different VLANs for MRP frame transmission in different interconnection domains. You can also specify different roles for a device in different interconnection domains.

The identifiers of an interconnection domain include a domain ID, a domain name, and an InID. A domain ID and a domain name identify a redundancy domain on a device. An InID is the unique identifier of a redundancy domain in a network. You can configure different domain IDs and domain names for an interconnection domain on different devices. You must configure the same InID for an interconnection domain on all devices. In a ring network, an InID is the unique identifier of an interconnection domain. InIDs are carried in MRP frames. An MRP-enabled device uses InIDs to identify interconnection domains, and chooses configuration of an interconnection domain by its InID for MRP topology calculation.

Examples

# Create interconnection domain 1 and enter its view.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1]

Related commands

display iec-mrp inter-domain

iec-mrp not-react link-change

Use iec-mrp not-react link-change to disable the MRM from processing MRP_LinkChange frames.

Use undo iec-mrp not-react link-change to restore the default.

Syntax

iec-mrp not-react link-change

undo iec-mrp not-react link-change

Default

The MRM processes MRP_LinkChange frames.

Views

Redundancy domain view

Predefined user roles

network-admin

Usage guidelines

Upon receiving MRP_LinkChange frames, the MRM can choose to process or not process MRP_LinkChange frames.

·     If the MRM does not process the MRP_LinkChange frames, it must verify the link states in the ring network again. This can prevent the MRM from misjudging the link states in the ring network upon receiving incorrect MRP_LinkChange frames. This method takes a longer time for ring network convergence due to the repeated verifications.

·     If the MRM processes the MRP_LinkChange frames, it can quickly react on link changes in the ring network. This method features shorter network convergence time but lower MRP reliability than the previous method.

After you enable MRP for a redundancy domain, you cannot edit the enabling status for the MRM to process MRP_LinkChange frames. To edit the enabling status, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain.

Examples

# Disable the MRM of redundancy domain 1 from processing MRP_LinkChange frames.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp not-react link-change

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

iec-mrp priority

Use iec-mrp priority to configure the priority value for a device in a redundancy domain.

Use undo iec-mrp priority to restore the default.

Syntax

iec-mrp priority priority-value

undo iec-mrp priority

Default

The priority value for a device in a redundancy domain is 32768.

Views

Redundancy domain view

Predefined user roles

network-admin

Parameters

priority-value: Specifies the priority value for the device in the redundancy domain. The value range for this argument is 0 to 65535. The smaller the value, the higher the priority.

Usage guidelines

Use this command to configure priority values for MRAs to perform the MRM election. The MRA with a smaller priority value has higher priority. Among the devices with the same priority value, the device with a lower bridge MAC address has higher priority.

For devices configured as MRMs and MRAs, MRP can be enabled only when you configure the priority value as follows:

·     For MRMs, configure the priority value as 0, 32768, or in the range of 4096 to 28672.

·     For MRAs, configure the priority value as 65535 or in the range of 36864 to 61440.

You can configure this command for devices of any roles. As a best practice, do not configure this command for MRMs and MRCs, because the priority value is insignificant for them. If you specify a device as an MRA, you must manually configure a priority value for the device.

If you execute this command multiple times, the most recent configuration takes effect. After you enable MRP for a redundancy domain, you cannot edit the priority value of a device in the redundancy domain. To edit the priority value, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain.

Examples

# Configure the priority value of the device as 40001 in redundancy domain 1.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp priority 40001

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

iec-mrp profile

Use iec-mrp profile to configure the maximum convergence time for a redundancy domain or an interconnection domain.

Use undo iec-mrp profile to restore the default.

Syntax

iec-mrp profile 500ms

undo iec-mrp profile

Default

The maximum convergence time for a redundancy domain or an interconnection domain is 500 milliseconds.

Views

Redundancy domain view

Interconnection domain view

Predefined user roles

network-admin

Parameters

500ms: Sets the maximum convergence time for the redundancy domain or interconnection domain to 500 milliseconds.

Usage guidelines

After you execute this command, the MRP device adjusts its settings, such as the interval for sending MRP frames, to change the update speed of node states and port states. This eventually adjusts the maximum convergence time of the redundancy domain or interconnection domain to 500 milliseconds.

To ensure that devices in a redundancy domain or interconnection domain can detect each other, configure the same maximum convergence time for them. A smaller maximum convergence time has higher requirements for the device performance and consumes more system resources. Make sure you configure an appropriate maximum convergence time based on specific networking requirements and the performance of the devices.

If you execute this command multiple times for the same redundancy domain or interconnection domain, the most recent configuration takes effect. If MRP is enabled for a redundancy domain or an interconnection domain, you cannot use this command to edit the maximum convergence time. To edit the maximum convergence time, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain or interconnection domain.

Examples

# Set the maximum convergence time for redundancy domain 1 to 500 milliseconds.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp profile 500

# Set the maximum convergence time for interconnection domain 1 to 500 milliseconds.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp profile 500

Related commands

display iec-mrp inter-domain

display iec-mrp redundancy-domain

iec-mrp enable

iec-mrp redundancy-domain

Use iec-mrp redundancy-domain to create a redundancy domain and enter its view.

Use undo iec-mrp redundancy-domain to remove a redundancy domain and all its settings.

Syntax

iec-mrp redundancy-domain domain-id

undo iec-mrp redundancy-domain domain-id

Default

By default, no redundancy domains exist.

Views

System view

Predefined user roles

network-admin

Parameters

domain-id: Specifies a redundancy domain by its domain ID. The value range for this argument is 1 to 16.

Usage guidelines

In an MRP network, an Ethernet topology in the shape of a ring is called an MRP ring. A device can belong to multiple MRP rings. A redundancy domain identifies an MRP ring. In an MRP ring, you can create multiple redundancy domains and configure different VLANs for MRP frame transmission in different redundancy domains. You can also specify different roles for a device in different redundancy domains.

The identifiers of a redundancy domain include a domain ID, a domain name, and a domain UUID. A domain ID and a domain name identify a redundancy domain on a device. A domain UUID is the unique identifier of a redundancy domain in a network. You can configure different domain IDs and domain names for a redundancy domain on different devices. You must configure the same UUID for a redundancy domain on all devices. In a ring network, a UUID is the unique identifier of a redundancy domain. UUIDs are carried in MRP frames. An MRP-enabled device uses UUIDs to identifiy redundancy domains, and chooses configuration of a redundancy domain by its UUID for MRP topology calculation.

Examples

# Create redundancy domain 1 and enter its view.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1]

Related commands

display iec-mrp redundancy-domain

iec-mrp role

Use iec-mrp role to configure a role for a device in a redundancy domain or an interconnection domain.

Use undo iec-mrp role to restore the default.

Syntax

In redundancy domain view:

iec-mrp role { auto-manager | client | manager }

undo iec-mrp role

In interconnection domain view:

iec-mrp role { client | manager }

undo iec-mrp role

Default

No role is configured for a device in a redundancy domain or an interconnection domain.

Views

Redundancy domain view

Interconnection domain view

Predefined user roles

network-admin

Parameters

auto-manager: Specifies the device as an MRA in the redundancy domain.

client: Specifies the device as an MRC in the redundancy domain or an MIC in the interconnection domain.

manager: Specifies the device as the MRM in the redundancy domain or the MIM in the interconnection domain.

Usage guidelines

An MRP device supports the following roles in a redundancy domain:

·     MRM—Specify one device in the redundancy domain as the MRM to detect loops and control links.

¡     When a loop occurs in the redundancy domain, the MRM blocks one of its ring ports to eliminate the loop.

¡     When a link failure occurs in the redundancy domain, the MRM releases the ring port to restore the link.

·     MRC—Specify other devices except the MRM in the MRP ring as MRCs. MRCs detect link states on their ring ports and report link changes to the MRM.

·     MRA—A redundancy domain supports only one MRM. This might result in service interruption when the MRM fails. To address this issue, MRP uses MRAs to implement automatic MRM election for redundancy purposes. Upon MRP system startup, MRAs in the redundancy domain automatically elect an MRM. The remaining MRAs become MRCs. If the elected MRM becomes faulty, the MRAs that are operating correctly will automatically elect a new MRM to ensure system availability.

An MRP device supports the following roles in an interconnection domain:

·     MIM—Specify one device in the interconnection domain as the MIM to detect loops and control links.

¡     When a loop occurs in the interconnection domain, the MRM blocks one of its interconnection ports to eliminate the loop.

¡     When a link failure occurs in the interconnection domain, the MRM releases the interconnection port to restore the link.

·     MIC—Specify the other devices except the MIM in the MRP ring as MRCs. MICs detect link states on their interconnection ports and report link changes to the MIM.

A device's role in a redundancy domain is independent of its role in an interconnection domain.

Restrictions and guidelines

If you execute this command multiple times for the same redundancy domain or interconnection domain, the most recent configuration takes effect.

To ensure correct operation of MRP, configure only one MRM in a redundancy domain.

To ensure correct operation of MRP, configure only one MIM in an interconnection domain.

In a redundancy domain, do not configure both the MRA and MRM roles.

After you enable MRP for a redundancy domain, you cannot edit the roles of devices in the redundancy domain. To edit the roles of devices, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain.

After you enable MRP for an interconnection domain, you cannot edit the roles of devices in the interconnection domain. To edit the roles of devices, you must first execute the undo iec-mrp enable command to disable MRP for the interconnection domain.

Examples

# Specify the device as the MRM in redundancy domain 1.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp role manager

# Specify the device as the MIM in interconnection domain 1.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp role manger

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

iec-mrp vlan

Use iec-mrp vlan to configure the VLAN for MRP frame transmission in a redundancy domain or an interconnection domain.

Use undo iec-mrp vlan to restore the default.

Syntax

iec-mrp vlan vlan-id

undo iec-mrp vlan

Default

The VLAN for MRP frame transmission in a redundancy domain is the default VLAN of the ring ports.

The VLAN for MRP frame transmission in an interconnection domain is the default VLAN of the interconnection port.

Views

Redundancy domain view

Interconnection domain view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies the VLAN for MRP frame transmission in the redundancy domain or interconnection domain by its VLAN ID, in the range of 1 to 4094.

Usage guidelines

In a redundancy domain or interconnection domain, all MRP frames are transmitted within the specified VLAN.

You must configure the following settings for ports in redundancy and intercommection domains:

·     Configure the ring ports in a redundancy domain to permit the VLAN for MRP frame transmission in the redundancy domain.

·     Configure the interconnection ports in an interconnection domain to permit the VLAN for MRP frame transmission in the interconnection domain.

·     Configure the ring ports in a redundancy domain to permit the VLANs for MRP frame transmission in the interconnection domains connected to the redundancy domain. This ensures that MRP frames can be transmitted between the redundancy domain and the interconnection domains connected to it.

If a device belongs to multiple interconnection domains or redundancy domains, you must configure different VLANs for ports in different domains to ensure the correct operation of MRP.

If you execute this command multiple times for the same redundancy domain or interconnection domain, the most recent configuration takes effect. If MRP is enabled for a redundancy domain or an interconnection domain, you cannot use this command to edit the VLAN for MRP frame transmission. To edit the VLAN for MRP frame transmission, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain or interconnection domain.

Examples

# Configure VLAN 6 for MRP frame transmission in redundancy domain 1.

<Sysname> system

[Sysname] iec-mrp redundancy-domain 1

[Sysname-iec-mrp-redundancy-domain1] iec-mrp vlan 6

# Configure VLAN 6 for MRP frame transmission in interconnection domain 1.

<Sysname> system

[Sysname] iec-mrp inter-domain 1

[Sysname-iec-mrp-inter-domain1] iec-mrp vlan 6

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

port iec-mrp inter-domain

Use port iec-mrp inter-domain to configure a port as an interconnection port in an interconnection domain.

Use undo port iec-mrp inter-domain to remove the configuration.

Syntax

port iec-mrp inter-domain domain-id

undo port iec-mrp inter-domain

Default

An interconnection domain has no interconnection ports.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

domain-id: Specifies an interconnection domain by its domain ID. The value range for this argument is 1 to 16.

Usage guidelines

An MRP-enabled device is connected to another MRP ring through an interconnection port. In an interconnection domain, each device has one and only one interconnection port.

Different interconnection domains cannot share an interconnection port. A redundancy domain and an interconnection domain cannot share a port.

After you configure an interconnection port for a device in an interconnection domain, you cannot use the port iec-mrp inter-domain command to edit the interconnection port for the device in the interconnection domain. To do so, first execute the undo form of the command to remove the interconnection port configuration, and then specify a new interconnection port for the device in the interconnection domain.

In Layer 2 Ethernet interface view, you cannot repeatedly execute the port iec-mrp inter-domain command to change the interconnection domain for the port. To do so, first execute the undo form of the command to remove the interconnection port configuration, and then configure the port as an interconnection port in another interconnection domain.

After you enable MRP for an interconnection domain, you cannot edit the interconnection ports for devices in the interconnection domain. To edit the interconnection ports, you must first execute the undo iec-mrp enable command to disable MRP for the interconnection domain.

Examples

# Configure GigabitEthernet 1/0/1 as an interconnection port in interconnection domain 1.

<Sysname> system

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port iec-mrp inter-domain 1

Related commands

display iec-mrp inter-domain

iec-mrp enable

role

port iec-mrp redundancy-domain

Use port iec-mrp redundancy-domain to configure a port as a ring port in a redundancy domain.

Use undo port iec-mrp redundancy-domain to remove the configuration.

Syntax

port iec-mrp redundancy-domain domain-id

undo port iec-mrp redundancy-domain

Default

A redundancy domain has no ring ports.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

domain-id: Specifies a redundancy domain by its domain ID. The value range for this argument is 1 to 16.

Usage guidelines

In an MRP ring, each device has two and only two ring ports to form a complete physical ring topology.

Different redundancy domains cannot share a ring port. A redundancy domain and an interconnection domain cannot share a port.

After you configure two ring ports for a device in a redundancy domain, you cannot use the port iec-mrp redundancy-domain command to edit the ring ports for the device in the redundancy domain. To do so, first execute the undo form of the command to remove the ring port configuration, and then specify a new ring port for the device in the redundancy domain.

In Layer 2 Ethernet interface view, you cannot repeatedly execute the port iec-mrp redundancy-domain command to change the redundancy domain for the port. To do so, first execute the undo form of the command to cancel the ring port configuration, and then configure the port as a ring port in another redundancy domain.

After you enable MRP for a redundancy domain, you cannot edit the ring ports in the redundancy domain. To edit the ring ports, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain.

Examples

# Configure GigabitEthernet 1/0/1 as a ring port in redundancy domain 1.

<Sysname> system

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port iec-mrp redundancy-domain 1

Related commands

display iec-mrp redundancy-domain

iec-mrp enable

role

reset iec-mrp statistics inter-domain

Use reset iec-mrp statistics inter-domain to clear interconnection domain frame statistics.

Syntax

reset iec-mrp statistics inter-domain { domain-id | all }

Views

User view

Predefined user roles

network-admin

Parameters

domain-id: Specifies an interconnection domain by its domain ID. The value range for this argument is 1 to 16.

all: Clears frame statistics of all interconnection domains.

Examples

# Clear frame statistics of interconnection domain 1.

<Sysname> reset iec-mrp statistic inter-domain 1

# Clear frame statistics of all interconnection domains.

<Sysname> reset iec-mrp statistic inter-domain all

reset iec-mrp statistics redundancy-domain

Use reset iec-mrp statistics redundancy-domain to clear redundancy domain frame statistics.

Syntax

reset iec-mrp statistics redundancy-domain { domain-id | all }

Views

User view

Predefined user roles

network-admin

Parameters

domain-id: Specifies a redundancy domain by its domain ID. The value range for this argument is 1 to 16.

all: Clears frame statistics of all redundancy domains.

Examples

# Clear frame statistics of redundancy domain 1.

<Sysname> reset iec-mrp statistic redundancy-domain 1

# Clear frame statistics of all redundancy domains.

<Sysname> reset iec-mrp statistic redundancy-domain all

 

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