cos (CFM)
To configure the class of service (CoS) for all CFM packets generated by the maintenance end point (MEP)
on an interface, use the cos command in interface CFM MEP configuration mode. To return to the default
CoS, use the no form of this command.
cos cos
no cos cos
Syntax Description
Class of Service for this MEP. The range is 0 to 7.
cos
Command Default
When not configured, the default CoS value is inherited from the Ethernet interface.
Command Modes
Interface CFM MEP configuration (config-if-cfm-mep)
Command History
ModificationRelease
This command was introduced.Release 3.9.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Configuring the class of service (CoS) on maintenance end points (MEPs) is supported on all Ethernet interfaces.
The specifed CoS value is used for all CFM messages transmitted by the MEP, except for the following:
• Loopback and Linktrace replies—These are transmitted using the CoS value received in the corresponding
loopback or linktrace message.
• AIS messages—If a different CoS value is specified in the AIS configuration.
•
Ethernet SLA probe messages.
For Ethernet interfaces, the CoS is carried as a field in the VLAN tag. Therefore, CoS only applies to
interfaces where packets are sent with VLAN tags. If the cos (CFM) command is specified for a MEP on
an interface that does not have a VLAN encapsulation configured, an error message will be logged and
no CFM packets will be sent.
Note
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
194
Ethernet OAM Commands on the Cisco ASR 9000 Series Router
cos (CFM)