45
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter  Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces
CFM Support on Routed Port and Port MEP
Configuration Example for Ethernet CFM (Single-Tagged Packets)
This example shows how to configure Ethernet CFM for single-tagged packets:
Step 5
ethernet cfm domain domain-name level 
value
Example:
Router(config)#ethernet cfm domain 
customer level 7
Defines a CFM maintenance domain at a specified level, 
and enters the Ethernet CFM configuration mode.
level can be any value from 0 to 7.
Step 6
service service-name vlan vlan-id 
direction down
Example:
Router(config-ecfm)#service 
customer1101 vlan 100 direction down
Enters the CFM service configuration mode.
vlan—Specifies the VLAN.
Step 7
continuity-check
Example:
Router(config-ecfm-srv)#continuity-ch
eck
Enables sending continuity check messages.
Step 8
interface gigabitethernet slot/port
Example:
Router(config-ecfm-srv)#interface 
gigabitethernet 0/2
Specifies an interface and enters the interface 
configuration mode.
Step 9
ethernet cfm mep domain domain-name 
mpid mpid-value service service-name
Example:
Router(config-if)#ethernet cfm mep 
domain customer mpid 100 service 
customer1101
Sets a port to a maintenance domain and defines it as an 
MEP.
Note The values for domain and service must be the 
same as the values that were configured for CFM.
Step 10
interface gigabitethernet 
slot/port.subinterface
Example:
Router(config-if-ecfm-mep)#interface 
gigabitethernet 0/2.1
Specifies a subinterface and enters the subinterface 
configuration mode.
Step 11
encapsulation dot1q vlan-id
Example:
Router(config-subif)#encapsulation 
dot1q 100
Defines the encapsulation format as IEEE 802.1Q 
(dot1q), and specifies the VLAN identifier.
Step 12
end
Example:
Router(config-subif)#end
Returns the router to the privileged EXEC mode.
Command Purpose