50
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 (Double-Tagged Packets)
This example shows how to configure Ethernet CFM for double-tagged packets:
Router>
enable
Router#
configure terminal
Router(config)#
ethernet cfm ieee
Router(config)#
ethernet cfm global
Router(config-ecfm)#
ethernet cfm domain customer level 7
Router(config-ecfm)#
service customer1101 vlan 100 inner-vlan 30 direction down
Router(config-ecfm-srv)#
continuity-check
Router(config-ecfm-srv)#
interface gigabitethernet 0/2
Router(config-if)#
ethernet cfm mep domain customer mpid 100 service customer1101
Router(config-if-ecfm-mep)#
interface gigabitethernet 0/2.1101
Router(config-subif)#
encapsulation dot1q 100 second-dot1q 30
Router(config-subif)#
end
Verififying the Ethernet CFM Configuration for Double-Tagged Packets
Use the following commands to verify Ethernet CFM configured for double-tagged packets:
•
show ethernet cfm maintenance-points local
•
show ethernet cfm maintenance-points remote
•
ping ethernet mpid
mpid-value
domain
domain-name
service
service-name
cos
value
•
traceroute ethernet mpid
mpid-value
domain
domain-name
service
service-name
•
show ethernet cfm error configuration
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 configured for CFM.
MPID
—Specifies the maintenance endpoint identifier.
Step 10
interface gigabitethernet
slot/port.subinterface
Example:
Router(config-if-ecfm-mep)#interface
gigabitethernet 0/2.1101
Specifies a subinterface and enters the subinterface
configuration mode.
Step 11
encapsulation dot1q
vlan-id
second-dot1q
inner vlan-id
Example:
Router(config-subif)#encapsulation
dot1q 100 second-dot1q 30
Defines the encapsulation format as IEEE 802.1Q
(dot1q), and specifies the VLAN identifier.
Use the
second-dot1q
keyword and the
inner vlan-id
argument to specify the VLAN tag.
Step 12
end
Example:
Router(config-subif)#end
Returns the router to the privileged EXEC mode.
Command
Purpose