Specifications

17-58
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 17 Configuring Ethernet OAM, CFM, and E-LMI
Configuring E-LMI
Ethernet OAM Manager Configuration Example
This is a simple example of configuring CFM and E-LMI with OAM manager on a PE device and on a
CE device. You can configure the switch as either the PE device or the CE device.
Provider-Edge Device Configuration
This example shows a sample configuration of OAM manager, CFM, and E-LMI on the PE device:
Switch# config t
Switch(config)# ethernet cfm domain Top level 7
Switch(config)# ethernet cfm domain Provider level 4
Switch(config-ether-cfm)# service customer_1 vlan 101
Switch(config-ether-cfm)# mep crosscheck mpid 404 vlan 101
Switch(config-ether-cfm)# exit
Switch(config)# ethernet cfm domain Operator_level 2
Switch(config-ether-cfm)# service operator_1 vlan 101
Switch(config-ether-cfm)# exit
Switch(config)# ethernet cfm enable
Switch(config)# ethernet evc test1
Switch(config-evc)# oam protocol cfm svlan 101 domain Provider
Switch(config-evc)# exit
Switch(config)# ethernet evc 101
Switch(config-evc)# uni count 3
Switch(config-evc)# oam protocol cfm svlan 101 domain Operator
Switch(config-evc)# exit
Switch(config)# ethernet lmi global
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# ethernet cfm mip level 7
Switch(config-if)# ethernet cfm mep level 4 mpid 200 vlan 200
Switch(config-if)# service instance 101 ethernet test1
Switch(config-if-srv)# ethernet lmi ce-vlan map 101
Switch(config-if-srv)# exit
Switch(config-if)# exit
Switch(config)# ethernet cfm cc enable level 2-4 vlan 101
Switch(config)# exit
Customer-Edge Device Configuration
This example shows the commands necessary to configure E-LMI on the CE device. The switch can be
configured as the CE device. The example enables E-LMI globally, but you can also enable it only on a
specific interface. However, if you do not enter the ethernet lmi ce global configuration command, the
interface will be in PE mode by default.
Switch# config t
Switch(config)# ethernet lmi global
Switch(config)# ethernet lmi ce
Switch(config)# exit
Note For E-LMI to work, any VLANs used on the PE device must also be created on the CE device. Create a
VLAN by entering the vlan vlan-id global configuration command on the CE device, where the vlan-ids
match those on the PE device and configure these VLANs as allowed VLANs by entering the switchport
trunk allowed vlan vlan-ids interface configuration command. Allowed VLANs can receive and send
traffic on the interface in tagged format when in trunking mode.