39-31
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 39 Configuring Ethernet OAM, CFM, and E-LMI Displaying E-LMI and OAM Manager Information
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 gigabitethernet 1/0/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. Beginning with
Cisco IOS Release 12.2(37)SE, the switch can be configured as the CE device.
This 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.
Displaying E-LMI and OAM Manager Information
You can use the privileged EXEC commands in Table 39-4 to display E-LMI or OAM manager
information.
Tab le 39-4 Displaying E-LMI and OAM Manager Information
Command Purpose
show ethernet lmi evc [detail evc-id [interface
interface-id] | map interface type number]Displays details sent to the CE from the status request poll about the
E-LMI EVC.
show ethernet lmi parameters interface interface-id Displays Ethernet LMI interface parameters sent to the CE from the
status request poll.