3.7 Media Redundancy Protocol Configuration

Use this command to create and configure a Media Redundancy Protocol (MRP) instance.

Command Syntax:

Ring configuration commands:

media-redundancy <inst>
role { mrc | mrm | mra }
mrm priority <prio>
mrm react-on-link-change 
name <name>
uuid <uuid>
oui { default | siemens | custom <custom_oui> }
recovery-profile { 10ms | 30ms | 200ms | 500ms }
port1 interface <port_type> <port>
port2 interface <port_type> <port>
admin-state { enable | disable }
Table 3-31. Command Description

Argument

Description

Parameter

<inst>

ERPS instance number in the range of 1–6.

{ mrc | mrm | mra }

Set this node to be a Media Redundancy Client (MRC), Media Redundancy Manager (MRM), or Media Redundancy Auto Manager (MRA)

<prio>

If role is 'mrm', valid values are 0x0000, 0x1000–0x7000, 0x8000. If role is 'mra', valid values are 0x9000–0xF000, 0xFFFF. Smaller values give higher priority.

<name>

Domain name for this media-redundancy instance (1–240 characters enclosed in double-quotes)

<uuid>

Universally Unique Identifier (UUID) in the form XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, where each ‘X’ represents a hexadecimal digit, and it must be enclosed in double quotes.

<custom_oui>

OUI to use in MRP_Option TLVs

<port_type> <port>

Port type and ID assigned to ring port1 and/or ring port2

Default

None

Mode

Media-redundancy mode

Usage

Configure MRP parameters. To delete the specific MRP instance, use the ‘no’ version of the command, or use parameter ‘all’ to delete all MRP instances.

Example

Example 1:

Create MRP instance 1 with a manager role, specify port1 and port2 interfaces and enable MRP instance.

(config)# media-redundancy 1
(config-media-redundancy)# role mrm
(config-media redundancy)# port1 interface GigabitEthernet 1/2
(config-media redundancy)# port2 interface GigabitEthernet 1/3
(config-media redundancy)# admin-state enable

Signal Fail Trigger for ring port1/port2 and Interconnection configuration commands:

port1 sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
port2 sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
interconnection role { mic | mim | none }
interconnection sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
Table 3-32. Command Description

Argument

Description

Parameter

<md_name>

The MEP’s domain name <kword1–15>

<ma_name>

The MEP's service name within the domain <kword1–15>

<mepid>

The MEP's MEP-ID in the range of 1–8191.

mic | mim | none

Media Interconnection Client (MIC), Media Redundancy Interconnection Manager (MIM) or none.

Default

port1/port2's signal fail trigger default (link). Disable interconnection functionality on this node

Mode

Media-redundancy mode

Usage

Configure MRP Signal Fail Trigger and Interconnection. To set default, use the 'no' version of the command.

Example

Example 1:

Create MRP instance 1 and set signal fail trigger on port1 to link.

(config)# media-redundancy 1
(config-media-redundancy)# port1 sf-trigger link