10-High Availability Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C IE4300[IE4300-M][IE4320] Switch Series Configuration Guides-R63xx-6W10210-High Availability Configuration Guide
11-MRP configuration
Title Size Download
11-MRP configuration 604.04 KB

New feature: MRP

About MRP

Ethernet protocols, such as spanning tree protocols, typically take several seconds to complete network convergence in traditional Ethernt ring networks, and might take even more convergence time when the network size increases. They are no longer suitable for industrial Ethernet networks with larger numbers of devices. Media Redundancy Protocol (MRP) is a standardized protocol defined by International Electrotechnical Commission (IEC). MRP can eliminate loops and prevent broadcast storms in ring networks. MRP also provides redundancy for nodes and links. When a single-point failure occurs on a device or a link in a ring network, MRP can restore the network in a short time (a maximum of 500 milliseconds), ensuring the real-time performance and reliability of industrial networks.

MRP networking model

As shown in Figure 1, multiple devices form a ring network, and MRP is enabled on all devices.

Figure 1 MRP network diagram

An MRP network typically contains the following components:

MRP domains

Redundancy domain

In an MRP network, each MRP-capable device has two and only two ports connected to other devices, forming an MRP ring. An MRP ring is a redundancy domain, as shown in Figure 1.

In some networks, a device (for example, Device A in Figure 2) might belong to multiple ring topologies through different ports. In a ring topology, the devices can form multiple MRP rings through different ports (for example, the MRP rings formed by red links and blue links in Figure 2). In these cases, a redundancy domain can uniquely identify an MRP ring.

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.

Figure 2 Redundancy domains

Interconnection domain

In actual networking scenarios, multiple MRP rings can be connected together. MRP uses two links to connect two MRP rings for redundancy. As shown in Figure 1, a new ring is formed between two MRP rings. MRP uses an interconnection domain to manage the ring with four devices.

A device (for example, Device A in Figure 3) can belong to multiple interconnection ring topologies through different ports. In an interconnection ring topology, devices can form multiple interconnection domains through different ports (for example, interconnection domain 1 and interconnection domain 2 in Figure 3).

Figure 3 Interconnection domains

MRP roles

In an MRP network, you must specify the role of each MRP-capable device. You can assign different roles to a device in different types of domains.

Roles in a redundancy domain

A redundancy domain has the following roles:

·     Media Redundancy Manager (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.

·     Media Redundancy Client (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.

·     Media Redundancy Automanager (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.

In the redundancy domain, you can configure each MRP-capable device as MRM, MRA, or MRC. However, the redundancy domain must have only one MRM at the same time.

Roles in an interconnection domain

An interconnection domain has the following roles:

·     Media Redundancy Interconnection Manager (MIM)—Specify one device in the interconnection domain as an 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.

·     Media Redundancy Interconnection Client (MIC)—Specify the other devices except the MIM in the interconnection domain as MICs. MICs detect link states on their interconnection ports and report link changes to the MIM.

In the interconnection domain, you can configure each MRP-capable device as either MIM or MIC. However, the interconnection domain must have only one MIM at the same time.

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

Ports on an MRP-enabled device

Ring port

As shown in Figure 1, an MRP-enabled device is connected to the MRP ring through ring ports. In a redundancy domain, each device has two and only two ring ports. As shown in Figure 4, ports other than the ring ports on a device are not involved in MRP operations of the redundancy domain.

Figure 4 Ring ports in a redundancy domain

A ring port can be in one of the following states:

·     Blocked—The ring port drops all frames except MRP frames and frames defined in IEEE 802.1D.

·     Forwarding—The ring port forwards all frames.

In the redundancy domain, the port that comes up first on the MRM becomes the primary port, and the other ring port on the MRM becomes the secondary port.

Interconnection port

As shown in Figure 1, 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.

An interconnection port can be in one of the following states:

·     Blocked—The interconnection port drops all frames except the following:

¡     MRP frames.

¡     Frames defined in IEEE 802.1D.

¡     Link detection frames defined in IEEE 802.1Q.

·     Forwarding—The interconnection port forwards all frames.

VLAN for MRP frame transmission

In a redundancy domain or interconnection domain, all MRP frames are transmitted within the specified VLAN. If a redundancy domain and an interconnection domain are connected, they must use the same VLAN for MRP frame transmission. Different redundancy domains or interconnection domains can use different VLANs for MRP frame transmission. A device can play different roles in different redundancy domains and interconnection domains. This ensures the flexibility of MRP networking.

Operating mechanism of MRP

When the links in a redundancy domain operate correctly, the MRM actively blocks one of its ring ports to eliminate loops, as shown in Figure 5. When a single-point failure occurs in the redundancy domain, the physical link state of the failed ring port becomes down or blocked. The MRM detects the link state change and quickly releases the blocked ring port to ensure the connectivity of the ring network, as shown in Figure 6.

When the links in an interconnection domain operate correctly, the MIM actively blocks its interconnection port to eliminate loops, as shown in Figure 5. When a single-point failure occurs within the interconnection domain, the physical link state of the failed interconnection port becomes down or blocked. The MIM detects the link state change and releases the blocked interconnection port to ensure the connectivity of the ring network, as shown in Figure 6.

Figure 5 MRP operating mechanism when link states are normal

Figure 6 MRP operating mechanism upon link failures

MRP maximum convergence time

The interval between the occurrence of a link state change and the recovery of correct operation in a ring network is called the convergence time. Regardless of the number of devices in a ring network, MRP ensures that the convergence time does not exceed the specified maximum convergence time, providing reliability for industrial application scenarios. In the current software version, H3C Ethernet devices support the maximum convergence time of 500 milliseconds for MRP.

Protocols and standards

IEC 62439-2

Restrictions and guidelines: MRP configuration

·     Compared with protocols such as ERPS and RRPP, MRP can only be applied to single-ring networks or networks with two devices connected to different MRP rings. For more information about EPRS and RRPP, see High Availability Configuration Guide.

·     You cannot enable the following features on ring ports and interconnection ports with MRP enabled:

¡     Spanning tree.

¡     Smart Link.

¡     ERPS.

¡     RRPP.

For more information about the spanning tree feature, see Layer 2—LAN Switching Configuration Guide. For more information about Smart Link, ERPS, and RRPP, see High Availability Configuration Guide.

·     Ethernet link aggregation and MRP are mutually exclusive. Do not assign ring ports or interconnection ports to Layer 2 aggregation groups.

·     As a best practice to configure an interconnection domain, make sure the physical topology contains only four MRP devices without additional transparent-transmission devices or MICs.

Restrictions: Software version compatibility with MRP

MRP is supported only in F6355P05 and later.

MRP tasks at a glance

To configure MRP, perform the following tasks:

1.     Configuring a redundancy domain

¡     Creating a redundancy domain

¡     Configuring roles for devices in a redundancy domain

¡     Configuring ring ports in a redundancy domain

¡     Configuring parameters for a redundancy domain

¡     (Optional.) Disabling MRM from processing MRP_LinkChange frames

2.     Configuring an interconnection domain

¡     Creating an interconnection domain

¡     Configuring roles for devices in an interconnection domain

¡     Configuring interconnection ports in an interconnection domain

¡     Configuring other parameters for an interconnection domain

3.     Enabling MRP

Configuring a redundancy domain

Creating a redundancy domain

1.     Enter system view.

system-view

2.     Create a redundancy domain and enter its view.

iec-mrp redundancy-domain domain-id

By default, no redundancy domains exist.

You can execute this command multiple times to create multiple redundancy domains. You must execute this command on all devices in the redundancy domain. Domain IDs on different MRP devices in the same redundancy domain can be different.

Configuring roles for devices in a redundancy domain

About this task

You can configure roles for devices in a redundancy domain in one of the following methods:

·     You can manually specify one device as the MRM and other devices as MRCs. This method enables MRP to manage the redundancy domain quickly after devices start, but cannot properly ensure the reliability of MRP. When the specified MRM fails, MRP cannot manage the redundancy domain.

·     You can specify certain devices as MRAs and other devices as MRCs. This method redundantly provides managing roles for the redundancy domain and improves the reliability of MRP. However, after devices start, MRP must wait for a period of time to manage the redundancy domain due to the MRM election process.

Restrictions and guidelines

To ensure correct operation of MRP, configure only one MRM in a redundancy 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.

Procedure

1.     Enter system view.

system-view

2.     Enter redundancy domain view.

iec-mrp redundancy-domain domain-id

3.     Configure a role for a device in the redundancy domain.

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

By default, no role is configured for a device in a redundancy domain.

Configuring ring ports in a redundancy domain

About this task

Each device in a redundancy domain must be configure with two ring ports. Ring ports of each device are connected to ring ports of other devices, thereby forming a ring topology. MRP devices transmit MRP frames through their ring ports, and the MRM manages the redundancy domain by controlling the state of its ring ports.

Restrictions and guidelines

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 for devices 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.

Procedure

1.     Enter system view.

system-view

2.     Enter Layer 2 Ethernet interface view.

interface interface-type interface-number

3.     Configure the port as a ring port in a redundancy domain.

port iec-mrp redundancy-domain domain-id

By default, a redundancy domain has no ring ports.

Configuring parameters for a redundancy domain

About this task

UUID and domain name

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. Redundancy domains have the same default UUID. If an MRP device belongs to multiple redundancy domains, you must configure different UUIDs for the redundancy domains. You can also configure domain names for redundancy domains on MRP devices for identification. A domain name identifies a redundancy domain only on a device.

Priority

MRAs perform the MRM election based on their priority. The MRA with the highest priority is becomes the MRM. Other MRAs become MRCs. The priority of a device is determined by its priority value and MAC address.

1.     The device with a smaller priority value has higher priority.

2.     Among the devices with the same priority value, the device with a lower bridge MAC address has higher priority.

To configure the priority of a device in a redundancy domain, use the iec-mrp priority command.

VLAN for MRP frame transmission

By default, all MRP frames are transmitted in VLAN 1. To seperate MRP frames and service packets, you can use the iec-mrp vlan command to manually configure the VLAN for MRP frame transmission in a redundancy domain.

Maximum convergence time

To edit the maximum convergence time for an MRP ring, use the iec-mrp profile command.

Restrictions and guidelines

·     In MRP networks, the default priority value for all MRP-capable devices is 32768. 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.

If you specify a device as an MRA, you must manually configure a priority value for the device.

·     You must configure the ring ports in a redundancy domain to permit the VLAN for MRP frame transmission in the redundancy domain. You must also 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 redundancy domains, you must configure different VLANs for ring ports in different redundancy domains to ensure the correct operation of MRP.

·     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.

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

¡     Domain name of the redundancy domain on each device.

¡     UUID of 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.

To edit the parameters above, you must first execute the undo iec-mrp enable command to disable MRP for the redundancy domain.

Procedure

1.     Enter system view.

system-view

2.     Enter redundancy domain view.

iec-mrp redundancy-domain domain-id

3.     Configure a domain name for the redundancy domain.

iec-mrp domain-name domain-name

By default, no domain name is configured for a redundancy domain.

4.     Configure the UUID for the redundancy domain.

iec-mrp domain-uuid domain-uuid

By default, the UUID of a redundancy domain is ffffffff-ffff-ffff-ffff-ffffffffffff.

5.     Configure the priority value for the device in the redundancy domain.

iec-mrp priority priority-value

By default, the priority value for a device in a redundancy domain is 32768.

You can perform this task for devices of any roles. As a best practice, do not perform this task for MRMs and MRCs, because the priority value is insignificant for them. You must perform this task for MRAs.

6.     Configure the VLAN for the redundancy domain for MRP frame transmission.

iec-mrp vlan vlan-id

By default, a redundancy domain uses VLAN 1 for MRP frame transmission.

7.     Configure the maximum convergence time for the redundancy domain.

iec-mrp profile 500ms

By default, the maximum convergence time for a redundancy domain is 500 milliseconds.

Disabling MRM from processing MRP_LinkChange frames

About this task

The MRP_LinkChange frame is one type of MRP frames. The MRC detects a link state change on a ring port and reports the change to the MRM by generating and sending MRP_LinkChange frames. 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 verification.

·     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.

Restrictions and guidelines

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.

This feature takes effect only on MRMs.

Procedure

1.     Enter system view.

system-view

2.     Enter redundancy domain view.

iec-mrp redundancy-domain domain-id

3.     Disable the MRM from processing MRP_LinkChange frames.

iec-mrp not-react link-change

By default, the MRM processes MRP_LinkChange frames.

Configuring an interconnection domain

Creating an interconnection domain

Procedure

1.     Enter system view.

system-view

2.     Create an interconnection domain and enter its view.

iec-mrp inter-domain domain-id

By default, no interconnection domains exist.

You can execute this command multiple times to create multiple interconnection domains. Execute this command on all devices in the interconnection domain. Domain IDs on different MRP devices in the same interconnection domain can be different.

Configuring roles for devices in an interconnection domain

About this task

When configuring an interconnection domain, you must manually specify one device as the MIM and other devices as MRCs.

Restrictions and guidelines

To ensure correct operation of MRP, configure only one MIM in an interconnection 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.

Procedure

1.     Enter system view.

system-view

2.     Enter interconnection domain view.

iec-mrp inter-domain domain-id

3.     Configuring a role for a device in the interconnection domain.

iec-mrp role { client | manager }

By default, no role is configured for a device in an interconnection domain.

Configuring interconnection ports in an interconnection domain

 About this task

Each device in an interconnection domain must be configure with an interconnection port. The interconnection port of each device is connected to the interconnection ports of other devices, thereby forming a ring topology. MRP devices transmit MRP frames through their interconnection ports, and the MIM manages the interconnection domain by controlling the state of its interconnection port.

Restrictions and guidelines

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 ring ports, you must first execute the undo iec-mrp enable command to disable MRP for the interconnection domain.

Procedure

1.     Enter system view.

system-view

2.     Enter Layer 2 Ethernet interface view.

interface interface-type interface-number

3.     Configure the port as an interconnection port in an interconnection domain.

port iec-mrp inter-domain domain-id

By default, an interconnection domain has no interconnection ports.

Configuring other parameters for an interconnection domain

About this task

Detection modes in an interconnection domain

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

·     Link Check mode (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. This mode does not consume much of the MIM's system resources. However, the MIM does not verify the link detection results from MICs, which reduces the reliability of MRP.

·     Ring Check mode (RC-mode)—The MIM determines whether to block or release its interconnection port based on whether it receives the MRP frames sent by itself. This mode ensures the reliability of MRP, but consumes more of the MIM's system resources.

InID and domain name

In a ring network, an InID is the unique identifier of an interconnection domain. UUIDs are carried in MRP frames. An MRP-enabled device uses InIDs to identify interconnetion domains, and chooses configuration of an interconnection domain by its InID for the MRP topology calculation. Interconnection domains have the same default InID If an MRP device belongs to multiple interconnection domains, you must configure different InIDs for the interconnection domains. You can also configure domain names for interconnection domains on MRP devices for identification. A domain name identifies an interconnection domain only on a device.

VLAN for MRP frame transmission

By default, all MRP frames are transmitted in VLAN 1. To seperate MRP frames and service packets, you can use the iec-mrp vlan command to manually configure the VLAN for MRP frame transmission in an interconnection domain.

Maximum convergence time

To edit the maximum convergence time for an MRP ring, use the iec-mrp profile command.

Restrictions and guidelines

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

·     You must configure the interconnection ports in an interconnection domain to permit the VLAN for MRP frame transmission in the interconnection domain.

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

·     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.

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

¡     Detection mode in the interconnection domain.

¡     Domain name of the interconnection domain on each device.

¡     InID of the interconnection domain.

¡     VLAN for MRP frame transmission in the interconnection domain.

¡     Maximum convergence time of the interconnection domain.

To edit the parameters above, you must first execute the undo iec-mrp enable command to disable MRP for the interconnection domain.

Procedure

1.     Enter system view.

system-view

2.     Enter interconnection domain view.

iec-mrp inter-domain domain-id

3.     Configure the detection mode in the interconnection domain.

iec-mrp check-mode { lc | rc }

By default, the detection mode in an interconnection domain is LC-mode.

4.     Configure a domain name for the interconnection domain.

iec-mrp domain-name domain-name

By default, no domain name is configured for an interconnection domain.

5.     Configure the InID for the interconnection domain.

iec-mrp domain-inid domain-inid

By default, the InID for an interconnection domain is 65535.

6.     Configure the VLAN for the interconnection domain for MRP frame transmission.

iec-mrp vlan vlan-id

By default, an interconnection domain uses VLAN 1 for MRP frame transmission.

7.     Configure the maximum convergence time for the interconnection domain.

iec-mrp profile 500ms

By default, the maximum convergence time for an nterconnection domain is 500 milliseconds.

Enabling MRP

About this task

To start MRP operations, you must enable MRP on all MRP devices in the redundancy domains and interconnection domains.

Prerequisites

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 in 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.

Make sure the following conditions exist before you enable MRP in 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 MRP-enabled redundancy domain. If a device is in multiple MRP-enabled redundancy domains, you cannot enable MRP for an interconnection domain on the device.

Restrictions and guidelines

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.

Enable MRP for a redundancy domain

1.     Enter system view.

system-view

2.     Enter redundancy domain view.

iec-mrp redundancy-domain domain-id

3.     Enable MRP for the redundancy domain.

iec-mrp enable

By default, MRP is disabled for a redundancy domain.

Enable MRP for an interconnection domain

1.     Enter system view.

system-view

2.     Enter interconnection domain view.

iec-mrp inter-domain domain-id

3.     Enable MRP for the interconnection domain.

iec-mrp enable

By default, MRP is disabled for an interconnection domain.

Display and maintenance commands for MRP

Execute display commands in any view and reset commands in user view.

 

Task

Command

Display redundancy domain information.

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

Display interconnection domain information.

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

Display redundancy domain frame statistics.

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

Display interconnection domain frame statistics.

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

Clear redundancy domain frame statistics.

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

Clear interconnection domain frame statistics.

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

MRP configuration examples

Example: Configuring basic MRP

Network configuration

·     Device A through Device D from redundancy domain 1. Device C through Device F from interconnection domain 1. Device E through Device H from redundancy domain 2.

·     Device A acts as the MRM in redundancy domain 1 to detect the link states and manage the redundancy domain. Redundancy domain 1 uses VLAN 2 for MRP frame transmission.

·     Interconnection domain 1 uses the default LC-mode for link detection. Device C acts as the MIM in interconnection domain 1 to collect link state information and manage the interconnection domain. Interconnection domain 1 uses VLAN 4 for MRP frame transmission.

·     Device F acts as the MRM in redundancy domain 2 to detect the link states and manage the redundancy domain. Redundancy domain 2 uses VLAN 3 for MRP frame transmission.

Network diagram

Figure 7 Network diagram for basic MRP configuration

Procedure

1.     Configure Device A

# Create VLAN 2 and VLAN 4.

<DeviceA> system-view

[DeviceA] vlan 2 4

# Configure redundancy domain 1.

[DeviceA] iec-mrp redundancy-domain 1

[DeviceA-iec-mrp-redundancy-domain1] iec-mrp domain-uuid 11111111-1111-1111-1111-111111111111

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

[DeviceA-iec-mrp-redundancy-domain1] iec-mrp vlan 2

[DeviceA-iec-mrp-redundancy-domain1] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 2 4

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

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 2 4

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

[DeviceA-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 1.

[DeviceA] iec-mrp redundancy-domain 1

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

2.     Configure Device B

# Create VLAN 2 and VLAN 4.

<DeviceB> system-view

[DeviceB] vlan 2 4

# Configure redundancy domain 1.

[DeviceB] iec-mrp redundancy-domain 1

[DeviceB-iec-mrp-redundancy-domain1] iec-mrp domain-uuid 11111111-1111-1111-1111-111111111111

[DeviceB-iec-mrp-redundancy-domain1] iec-mrp role client

[DeviceB-iec-mrp-redundancy-domain1] iec-mrp vlan 2

[DeviceB-iec-mrp-redundancy-domain1] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 2 4

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

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 2 4

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

[DeviceB-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 1.

[DeviceB] iec-mrp redundancy-domain 1

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

3.     Configure Device C

# Create VLAN 2 and VLAN 4.

<DeviceC> system-view

[DeviceC] vlan 2 4

# Configure redundancy domain 1.

[DeviceC] iec-mrp redundancy-domain 1

[DeviceC-iec-mrp-redundancy-domain1] iec-mrp domain-uuid 11111111-1111-1111-1111-111111111111

[DeviceC-iec-mrp-redundancy-domain1] iec-mrp role client

[DeviceC-iec-mrp-redundancy-domain1] iec-mrp vlan 2

[DeviceC-iec-mrp-redundancy-domain1] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 2 4

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

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 2 4

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

[DeviceC-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 1.

[DeviceC] iec-mrp redundancy-domain 1

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

# Configure interconnection domain 1.

[DeviceC] iec-mrp inter-domain 1

[DeviceC-iec-mrp-inter-domain1] iec-mrp domain-inid 1

[DeviceC-iec-mrp-inter-domain1] iec-mrp role manager

[DeviceC-iec-mrp-inter-domain1] iec-mrp vlan 4

[DeviceC-iec-mrp-inter-domain1] quit

# Configure GigabitEthernet 1/0/3 as the interconnection port.

[DeviceC] interface gigabitethernet 1/0/3

[DeviceC-GigabitEthernet1/0/3] undo stp enable

[DeviceC-GigabitEthernet1/0/3] port link-type trunk

[DeviceC-GigabitEthernet1/0/3] port trunk permit vlan 4

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

[DeviceC-GigabitEthernet1/0/3] quit

# Enable MRP for interconnection domain 1.

[DeviceC] iec-mrp inter-domain 1

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

4.     Configure Device D

# Create VLAN 2 and VLAN 4.

<DeviceD> system-view

[DeviceD] vlan 2 4

# Configure redundancy domain 1.

[DeviceD] iec-mrp redundancy-domain 1

[DeviceD-iec-mrp-redundancy-domain1] iec-mrp domain-uuid 11111111-1111-1111-1111-111111111111

[DeviceD-iec-mrp-redundancy-domain1] iec-mrp role client

[DeviceD-iec-mrp-redundancy-domain1] iec-mrp vlan 2

[DeviceD-iec-mrp-redundancy-domain1] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] undo stp enable

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 2 4

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

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 2 4

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

[DeviceD-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 1.

[DeviceD] iec-mrp redundancy-domain 1

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

# Configure interconnection domain 1.

[DeviceD] iec-mrp inter-domain 1

[DeviceD-iec-mrp-inter-domain1] iec-mrp domain-inid 1

[DeviceD-iec-mrp-inter-domain1] iec-mrp role client

[DeviceD-iec-mrp-inter-domain1] iec-mrp vlan 4

[DeviceD-iec-mrp-inter-domain1] quit

# Configure GigabitEthernet 1/0/3 as the interconnection port.

[DeviceD] interface gigabitethernet 1/0/3

[DeviceD-GigabitEthernet1/0/3] undo stp enable

[DeviceD-GigabitEthernet1/0/3] port link-type trunk

[DeviceD-GigabitEthernet1/0/3] port trunk permit vlan 4

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

[DeviceD-GigabitEthernet1/0/3] quit

# Enable MRP for interconnection domain 1.

[DeviceD] iec-mrp inter-domain 1

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

5.     Configure Device E

# Create VLAN 3 and VLAN 4.

<DeviceE> system-view

[DeviceE] vlan 3 4

# Configure redundancy domain 2.

[DeviceE] iec-mrp redundancy-domain 2

[DeviceE-iec-mrp-redundancy-domain2] iec-mrp domain-uuid 22222222-2222-2222-2222-222222222222

[DeviceE-iec-mrp-redundancy-domain2] iec-mrp role client

[DeviceE-iec-mrp-redundancy-domain2] iec-mrp vlan 3

[DeviceE-iec-mrp-redundancy-domain2] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 3 4

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

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 3 4

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

[DeviceE-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 2.

[DeviceE] iec-mrp redundancy-domain 2

[DeviceE-iec-mrp-redundancy-domain2] iec-mrp enable

# Configure interconnection domain 1.

[DeviceE] iec-mrp inter-domain 1

[DeviceE-iec-mrp-inter-domain1] iec-mrp domain-inid 1

[DeviceE-iec-mrp-inter-domain1] iec-mrp role client

[DeviceE-iec-mrp-inter-domain1] iec-mrp vlan 4

[DeviceE-iec-mrp-inter-domain1] quit

# Configure GigabitEthernet 1/0/3 as the interconnection port.

[DeviceE] interface gigabitethernet 1/0/3

[DeviceE-GigabitEthernet1/0/3] undo stp enable

[DeviceE-GigabitEthernet1/0/3] port link-type trunk

[DeviceE-GigabitEthernet1/0/3] port trunk permit vlan 4

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

[DeviceE-GigabitEthernet1/0/3] quit

# Enable MRP for interconnection domain 1.

[DeviceE] iec-mrp inter-domain 1

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

6.     Configure Device F

# Create VLAN 3 and VLAN 4.

<DeviceF> system-view

[DeviceF] vlan 3 4

# Configure redundancy domain 2.

[DeviceF] iec-mrp redundancy-domain 2

[DeviceF-iec-mrp-redundancy-domain2] iec-mrp domain-uuid 22222222-2222-2222-2222-222222222222

[DeviceF-iec-mrp-redundancy-domain2] iec-mrp role manager

[DeviceF-iec-mrp-redundancy-domain2] iec-mrp vlan 3

[DeviceF-iec-mrp-redundancy-domain2] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceF] interface gigabitethernet 1/0/1

[DeviceF-GigabitEthernet1/0/1] undo stp enable

[DeviceF-GigabitEthernet1/0/1] port link-type trunk

[DeviceF-GigabitEthernet1/0/1] port trunk permit vlan 3 4

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

[DeviceF-GigabitEthernet1/0/1] quit

[DeviceF] interface gigabitethernet 1/0/2

[DeviceF-GigabitEthernet1/0/2] undo stp enable

[DeviceF-GigabitEthernet1/0/2] port link-type trunk

[DeviceF-GigabitEthernet1/0/2] port trunk permit vlan 3 4

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

[DeviceF-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 2.

[DeviceF] iec-mrp redundancy-domain 2

[DeviceF-iec-mrp-redundancy-domain2] iec-mrp enable

# Configure interconnection domain 1.

[DeviceF] iec-mrp inter-domain 1

[DeviceF-iec-mrp-inter-domain1] iec-mrp domain-inid 1

[DeviceF-iec-mrp-inter-domain1] iec-mrp role client

[DeviceF-iec-mrp-inter-domain1] iec-mrp vlan 4

[DeviceF-iec-mrp-inter-domain1] quit

# Configure GigabitEthernet 1/0/3 as the interconnection port.

[DeviceF] interface gigabitethernet 1/0/3

[DeviceF-GigabitEthernet1/0/3] undo stp enable

[DeviceF-GigabitEthernet1/0/3] port link-type trunk

[DeviceF-GigabitEthernet1/0/3] port trunk permit vlan 4

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

[DeviceF-GigabitEthernet1/0/3] quit

# Enable MRP for interconnection domain 1.

[DeviceF] iec-mrp inter-domain 1

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

7.     Configure Device G

# Create VLAN 3 and VLAN 4.

<DeviceG> system-view

[DeviceG] vlan 3 4

# Configure redundancy domain 2.

[DeviceG] iec-mrp redundancy-domain 2

[DeviceG-iec-mrp-redundancy-domain2] iec-mrp domain-uuid 22222222-2222-2222-2222-222222222222

[DeviceG-iec-mrp-redundancy-domain2] iec-mrp role client

[DeviceG-iec-mrp-redundancy-domain2] iec-mrp vlan 3

[DeviceG-iec-mrp-redundancy-domain2] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceG] interface gigabitethernet 1/0/1

[DeviceG-GigabitEthernet1/0/1] undo stp enable

[DeviceG-GigabitEthernet1/0/1] port link-type trunk

[DeviceG-GigabitEthernet1/0/1] port trunk permit vlan 3 4

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

[DeviceG-GigabitEthernet1/0/1] quit

[DeviceG] interface gigabitethernet 1/0/2

[DeviceG-GigabitEthernet1/0/2] undo stp enable

[DeviceG-GigabitEthernet1/0/2] port link-type trunk

[DeviceG-GigabitEthernet1/0/2] port trunk permit vlan 3 4

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

[DeviceG-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 2.

[DeviceG] iec-mrp redundancy-domain 2

[DeviceG-iec-mrp-redundancy-domain2] iec-mrp enable

8.     Configure Device H

# Create VLAN 3 and VLAN 4.

<DeviceH> system-view

[DeviceH] vlan 3 4

# Configure redundancy domain 2.

[DeviceH] iec-mrp redundancy-domain 2

[DeviceH-iec-mrp-redundancy-domain2] iec-mrp domain-uuid 22222222-2222-2222-2222-222222222222

[DeviceH-iec-mrp-redundancy-domain2] iec-mrp role client

[DeviceH-iec-mrp-redundancy-domain2] iec-mrp vlan 3

[DeviceH-iec-mrp-redundancy-domain2] quit

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as ring ports.

[DeviceH] interface gigabitethernet 1/0/1

[DeviceH-GigabitEthernet1/0/1] undo stp enable

[DeviceH-GigabitEthernet1/0/1] port link-type trunk

[DeviceH-GigabitEthernet1/0/1] port trunk permit vlan 3 4

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

[DeviceH-GigabitEthernet1/0/1] quit

[DeviceH] interface gigabitethernet 1/0/2

[DeviceH-GigabitEthernet1/0/2] undo stp enable

[DeviceH-GigabitEthernet1/0/2] port link-type trunk

[DeviceH-GigabitEthernet1/0/2] port trunk permit vlan 3 4

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

[DeviceH-GigabitEthernet1/0/2] quit

# Enable MRP for redundancy domain 2.

[DeviceH] iec-mrp redundancy-domain 2

[DeviceH-iec-mrp-redundancy-domain2] iec-mrp enable

Verifying the configuration

Execute the display on any device to view MRP information.

# Display MRP information for redundancy domain 2 on Device F.

<DeviceF> display iec-mrp redundancy-domain verbose

Redundancy domain ID     : 2

  Domain name            : N/A

  Domain UUID            : 22222222-2222-2222-2222-222222222222

  Device role            : MRM

  Device priority        : 32768

  VLAN ID                : 3

  Convergence profile    : 500ms

  React to link change   : Yes

  Protocol state         : Enabled

  Ring state             : Close

  Non-blocking MRC       : No

  Ring ports             : GigabitEthernet1/0/1  forwarding

                         : GigabitEthernet1/0/2  blocked

  Topology change request interval        : 20ms

  Topology change repeat count            : 3

  Short test frame interval               : 30ms

  Default test frame interval             : 50ms

  Test monitoring interval count          : 5

  Test monitoring extended interval count : 15

# Display MRP information for interconnection domain 1 on Device C.

<DeviceC> display iec-mrp inter-domain verbose

Interconnection domain ID  : 1

  Domain name              : N/A

  Domain InID              : 1

  Device role              : MIM

  Detection mode           : LC

  VLAN ID                  : 4

  Protocol state           : Enable

  Ring state               : Close

  Convergence profile      : 500 ms

  Interconnection port     : GigabitEthernet1/0/3  blocked

  Interconnection topology change interval      : 20 ms

  Interconnection topology change repeat count  : 3

  Interconnection default test interval         : 50 ms

  Interconnection test monitoring count         : 8

  Interconnection link status poll interval     : 20 ms

  Interconnection link status poll repeat count : 8

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