left-interface vlan

Configures an Ethernet Ring Protection (ERP) left interface.

Syntax

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

Command Default

No ERP left interface is configured by default.

Parameters

vlan_id
Specifies the VLAN ID of the ERP left 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.

The left interface is interface 0.

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.

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

Examples

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

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