ring-interfaces

Configures the primary and secondary interfaces for the ring to control outward traffic flow.
Syntax
ring-interfaces { ethernet unit/slot/port | lag lag-id } { ethernet unit/slot/port | lag lag-id }
no ring-interfaces { ethernet unit/slot/port | lag lag-id } { ethernet unit/slot/port | lag lag-id }
Command Default

The primary and secondary interfaces are not configured.

Parameters
ethernet unit/slot/port
Configures the primary and secondary interfaces.
lag lag-id
Specifies the LAG virtual interface.
Modes

MRP configuration mode

Usage Guidelines

On the master node, the primary interface is the one that originates Ring Health Packets (RHPs). Ring control traffic and Layer 2 data traffic will flow in the outward direction from this interface by default. On member nodes, the direction of traffic flow depends on the traffic direction selected by the master node. Therefore, on a member node, the order in which you enter the interfaces does not matter.

The no form of the command clears the primary and secondary interfaces.

Examples

The following example shows how to configure the primary and secondary interfaces on a ring.

device(config)# vlan 2
device(config-vlan-2)# metro-ring 1
device(config-vlan-2-mrp-2)# ring-interface ethernet 1/1/1 ethernet 1/1/2

The following example shows how to configure the LAG virtual interfaces on a ring.

device(config)# vlan 2
device(config-vlan-2)# metro-ring 1
device(config-vlan-2-mrp-2)# ring-interface lag 1 lag 2
History
Release version Command history
08.0.61 This command was modified to add lag lag-id options.