right-interface vlan

Configures an Ethernet Ring Protection (ERP) right interface.

Syntax

right-interface vlan vlan_id { ethernet slot/port | port-channel number }
no right-interface vlan vlan_id { ethernet slot/port | port-channel number }

Command Default

No ERP right interface is configured by default.

Parameters

vlan_id
Specifies the VLAN ID of the ERP right ring interface. Range is from 1 through 4090.
ethernet slot/port
Specifies an Ethernet interface.
port-channel number
Specifies a port-channel.

Modes

ERP configuration mode

Usage Guidelines

Each Ethernet Ring Node (ERN) in a major ring must have explicitly defined left and right interfaces so that ERP can function properly. ERNs in a sub-ring must have at least one interface defined so that ERP can function properly.

For proper operation you must configure the interfaces following the same manner on each ERN, such as left/ right, left/ right, and so on.

You must configure the VLAN and configure the Ethernet or port-channel interfaces as switchport, and then add the VLAN to the interfaces either in trunk or access mode. This is a prerequisite to configuring the ERP left interface and right interface.

Use the no form of this command to delete the configuration.

Examples

The following example configures a right interface on an Ethernet interface.

device# configure terminal
device(config)# erp 1
device(config-erp-1)# right-interface vlan 5 ethernet 0/1