Service Level Operations, Administration, and Maintenance (OAM) or Connectivity Fault Management (CFM) commands provide the capability for detecting, verifying, and isolating connectivity failures in Virtual Bridged Local Area Networks.
ethernet cfm domain
Use this command to enter the maintenance domain config mode where you can create maintenance associations and configure per-maintenance domain parameters.
domain-name: The identifier, unique over the domain for which CFM is to protect against accidental concatenation of service instances, of a particular maintenance domain. You can use up to 43 alphanumeric characters including the dash (–), underline (_), and single quote ('). The maintenance domain is the network, or part of the network, for which faults in connectivity can be managed. The boundary of a maintenance domain is defined by a set of DoSAPs, each of which can become a point of connectivity to a service instance. A DoSAP is a member of a set of SAPs at which a Maintenance Domain is capable of offering connectivity to systems outside the Maintenance Domain.
level: The maintenance domain unique identifier. The range is 0–7.
service vlan
Use this command to enter the maintenance association config mode where you can create maintenance end points and configure per-maintenance domain parameters.
Format: service service-name vlan vlanID
Mode: Maintenance Domain Config
service-name: A character string that uniquely identifies a maintenance association in a maintenance domain. You can use up to 45 alphanumeric characters in the name.
vlanID: The maintenance association VLAN ID. The range is 1–4093. The default is 0. The VLAN ID represents a service instance that is monitored by this maintenance association.
ethernet cfm cc level vlan interval
Use this command to configure the Continuity Check Message (CCM) transmit interval.
level: The maintenance domain unique identifier. The range is 0–7.
vlan–list: The VLAN ID. Use this field to reconfigure an existing Maintenance Association (MA) or to create a new one. The range is 1–4093. Separate non-consecutive IDs with a comma (,) andno spaces and no zeros in between the range. Use a dash (–) for the range.
secs: The time in seconds between CCM frames transmission, used by all MEPs in the given Maintenance Association. Possible values are:
1. Set the CCM interval to 1 second.
10. Set the CCM interval to 10 seconds.
60. Set the CCM interval to 60 seconds.
600. Set the CCM interval to 600 seconds.
ethernet cfm mep level
Use this command to configure a Maintenance End Point (MEP) level on an interface or range of interfaces. MEPs are configured per Maintenance Association and per Maintenance Domain.
level: The maintenance domain level. The range is 0–7. The default is 0.
direction: Specify the direction in which the MEP faces on the bridge port. Possible values are up or down. The default value is Up. A down MEP is an MEP residing on a bridge that receives CDM PDUs from, and transmits then towards, the direction of the LAN. An up MEP is an MEP residing in a bridge that transmits CFM PDUs towards, and receives them from, the direction of the Bridge Relay Entity.
mpid: The Maintenance End Point Identifier. Creates MEPs associated with this Maintenance Association.
vlan–list: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
no ethernet cfm mep level
Use the no version of the command to delete a MEP
Format: no ethernet cfm mep level {level <0-7> direction <up|down> mpid <1–8191> vlan <vlan–list>}
Mode: Interface Config
ethernet cfm mep enable
Use this command to enable the administrative state of MEP on an interface or range of interfaces. By default, MEPs are disabled. When enabled, MEP starts transmitting Continuity Check (CC) messages periodically. MEPs are configure per Maintenance Association and per Maintenance Domain.
level: The maintenance domain level. The range is 0–7. The default is 0.
mpid: The Maintenance End Point Identifier. Creates MEPs associated with this Maintenance Association.
vlan–list: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
Use this command to set the Maintenance End Point (MEP) active mode on an interface or range of interfaces. The active mode is either True or False. By default, the mode is False. MEPs are configured per Maintenance Association and per Maintenance Domain.
level: The maintenance domain level. The range is 0–7. The default is 0.
mpid: The Maintenance End Point Identifier. Creates MEPs associated with this Maintenance Association.
vlanID: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
no ethernet cfm mep active
Use the no version of the command to deactivate MEP.
Format: no ethernet cfm mep active {level <0-7> vlan <vlan–list> mpid <1-8191>}
Mode: Interface Config
ethernet cfm mip level
Use this command to configure the Maintenance Intermediate Point (MIP) level. MIPs are configured per Maintenance Domain per interface or range of interfaces.
Format: ethernet cfm mep level 0-7
Mode: Interface Config
level: The maintenance domain level. The range is 0–7. The default is 0.
ping ethernet cfm mac
Use this command to generate a loopback message from the configured MEP. This is triggered from the MA configuration mode.
mac-address: The destination MAC address for which the connectivity needs to be verified.
level: The maintenance domain level. The range is 0–7. The default is 0.
mpid: The Maintenance End Point Identifier (MEP ID) from which the loopback message needs to be transmitted. Valid range is 1-8191.
vlanID: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
count: The number of LBMs to be transmitted. The range is 1–255. The default is 5.
ping ethernet cfm remote–mpid
Use this command to generate a loopback message from the configured MEP. This is triggered from the MA configuration mode.
remote–mpid: The destination Maintenance End Point Identifier (MEP ID) for which the connectivity needs to be verified. Valid range is 1-8191.
level: The maintenance domain level. The range is 0–7. The default is 0.
vlanID: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
mpid: The Maintenance End Point Identifier (MEP ID) from which the loopback message needs to be transmitted. Valid range is 1-8191.
count: The number of LBMs to be transmitted. The range is 1–255. The default is 5.
traceroute ethernet cfm mac
Use this command to generate a Link Trace message from the configured MEP. This is triggered from the MA configuration mode.
mac-address: The destination MAC address for which the connectivity needs to be verified.
level: The maintenance domain level. The range is 0–7. The default is 0.
mpid: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message needs to be transmitted. Valid range is 1-8191.
vlanID: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
ttl: The number of hops the LTM is expected to be transmitted. The range is 1–255. The default is 64.
traceroute ethernet cfm remote–mpid
Use this command to generate a Link Trace message from the configured MEP. This is triggered from the MA configuration mode.
remote–mpid: The destination Maintenance End Point Identifier (MEP ID) for which the connectivity needs to be verified. Valid range is 1-8191.
level: The maintenance domain level. The range is 0–7. The default is 0.
vlanID: The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) and no spaces and no zeros in between the range. Use a dash (–) for the range.
mpid: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message (LTM) needs to be transmitted. Valid range is 1-8191.
ttl: The number of hops remaining to the LTM. The number is decremented by 1 by each LinkTrace responder that handles the LTM. The range is 1–255. The default value, if not specified, is 64. If the LTM TTL is 0 or 1, the LTM is not forwarded to the next hop, and if 0, no LTR is generated.
show ethernet cfm domain
Use this command to display the configured parameters in the Maintenance Domain.
Format: show ethernet cfm domain <domain-name>
Mode: Privileged EXEC
The display parameters for above command are:
domain-name: The maintenance domain name. The identifier, unique over the domain for which CFM is to protect against accidental concatenation of service instances, of a particular maintenance domain. The maintenance domain is the network, or part of the network, for which faults in connectivity can be managed. The boundary of a maintenance domain is defined by a set of DoSAPs, each of which can become a point of connectivity to a service instance. A DoSAP is a member of a set of SAPs at which a Maintenance Domain is capable of offering connectivity to systems outside the Maintenance Domain.
Level: The maintenance domain level.
Total Services: The number of service instances.
VLAN: The VLAN ID. The range is 1–4093.
service-name: A character string that uniquely identifies a maintenance association in a maintenance domain.
CC–Interval: CCM Interval. The time interval in seconds between successive transmissions of CCM.
show ethernet cfm domain brief
Use this command to display a summary of the configured parameters in the Maintenance Domain.
Format: show ethernet cfm domain brief
Mode: Privileged EXEC
The display parameters for above command are:
CFM Feature: Indicates whether the Connectivity Fault Management (CFM) is enabled or disabled.
MEP Archive Hold Time: The number of seconds that data from a missing maintenance point (MEP) is kept before it is purged. Range is 1 to 65535 seconds.
domain-name: The maintenance domain name. The identifier, unique over the domain for which CFM is to protect against accidental concatenation of service instances, of a particular maintenance domain. The maintenance domain is the network, or part of the network, for which faults in connectivity can be managed. The boundary of a maintenance domain is defined by a set of DoSAPs, each of which can become a point of connectivity to a service instance. A DoSAP is a member of a set of SAPs at which a Maintenance Domain is capable of offering connectivity to systems outside the Maintenance Domain.
Level: The maintenance domain level.
Services: The number of service instances.
show ethernet cfm maintenance-points local domain
Use this command to display the local maintenance points’ configured maintenance domain name in the maintenance association.
Format: show ethernet cfm maintenance-points local domain <domain–name>
Mode: Privileged EXEC
The display parameters for above command are:
domain-name: The maintenance domain name. The identifier, unique over the domain for which CFM is to protect against accidental concatenation of service instances, of a particular maintenance domain. The maintenance domain is the network, or part of the network, for which faults in connectivity can be managed. The boundary of a maintenance domain is defined by a set of DoSAPs, each of which can become a point of connectivity to a service instance. A DoSAP is a member of a set of SAPs at which a Maintenance Domain is capable of offering connectivity to systems outside the Maintenance Domain.
MPID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
Level: The maintenance domain level.
Type: The maintenance point type, either a MEP or a MIP.
VLAN: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
Port: The interface index of a physical port or a port channel, to which the MEP is attached.
Direction: Indicates whether the MEP faces the LAN side or not. Possible values are up or down. A down MEP is an MEP residing on a bridge that receives CDM PDUs from, and transmits then towards, the direction of the LAN. An up MEP is an MEP residing in a bridge that transmits CFM PDUs towards, and receives them from, the direction of the Bridge Relay Entity.
CC Transmit: If enabled, the MEP will generate CCM messages.
MEP–Active: Indicates the administrative state of the MEP. True indicates the MEP is to function normally. False indicates that the MEP is to cease functioning. The default value is True.
Operational Status: If set to True, the MEP is functionally operational.
MAC: The MAC address of the MEP.
show ethernet cfm maintenance-points local level
Use this command to display the configured maintenance domain level for the local maintenance points in the maintenance association.
Format: show ethernet cfm maintenance-points local level <level>
Mode: Privileged EXEC
The display parameters for above command are:
MPID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
Level: The maintenance domain level.
Type: The maintenance point type, either a MEP or a MIP.
VLAN: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
Port: The interface index of a physical port or a port channel, to which the MEP is attached.
Direction: Indicates whether the MEP faces the LAN side or not. Possible values are up or down. A down MEP is an MEP residing on a bridge that receives CDM PDUs from, and transmits then towards, the direction of the LAN. An up MEP is an MEP residing in a bridge that transmits CFM PDUs towards, and receives them from, the direction of the Bridge Relay Entity.
CC Transmit: If enabled, the MEP will generate CCM messages.
MEP–Active: Indicates the administrative state of the MEP. True indicates the MEP is to function normally. False indicates that the MEP is to cease functioning. The default value is True.
Operational Status: If set to True, the MEP is functionally operational.
MAC: The MAC address of the MEP.
show ethernet cfm maintenance-points local interface
Use this command to display the configured ethernet CFM interface for the local maintenance points.
Format: show ethernet cfm maintenance-points local interface
Mode: Privileged EXEC
The display parameters for above command are:
MPID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
Level: The maintenance domain level.
Type: The maintenance point type, either a MEP or a MIP.
VLAN: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
Port: The interface index of a physical port or a port channel, to which the MEP is attached.
Direction: Indicates whether the MEP faces the LAN side or not. Possible values are up or down. A down MEP is an MEP residing on a bridge that receives CDM PDUs from, and transmits then towards, the direction of the LAN. An up MEP is an MEP residing in a bridge that transmits CFM PDUs towards, and receives them from, the direction of the Bridge Relay Entity.
CC Transmit: If enabled, the MEP will generate CCM messages.
MEP–Active: Indicates the administrative state of the MEP. True indicates the MEP is to function normally. False indicates that the MEP is to cease functioning. The default value is True.
Operational Status: If set to True, the MEP is functionally operational.
MAC: The MAC address of the MEP.
show ethernet cfm errors
Use this command to display MEP errors on a particular maintenance domain.
Format: show ethernet cfm errors
Mode: Privileged EXEC
The display parameters for above command are:
Level: The maintenance domain level.
SVID: The 12-bit service VLAN ID.
MPID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
DefRDICcm: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefMACStatus: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefRemoteCCM: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefErrorCCM: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefXconCCM: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
show ethernet cfm errors domain
Use this command to display MEP errors on a particular maintenance domain.
Format: show ethernet cfm errors domain <domain–name>
Mode: Privileged EXEC
The display parameters for above command are:
domain–name: The maintenance domain name.
Level: The maintenance domain level.
SVID: The 12-bit service VLAN ID.
MPID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
DefRDICcm: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefMACStatus: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefRemoteCCM: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefErrorCCM: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
DefXconCCM: An integer value specifying the highest priority maintenance end point defect that is generated since the last notification.
show ethernet cfm errors level
Use this command to display MEP errors on a particular maintenance domain.
Format: show ethernet cfm errors level <level>
Mode: Privileged EXEC
The display parameters for above command are:
Level: The maintenance domain level. The range is 0–7.
SVID: The 12-bit service VLAN ID.
MPID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
DefRDICcm: Remote Defect Indication used by a MEP to communicate to its peer MEPs that a defect condition has been encountered. A MEP that is in a defect condition transmits frames with ETH-RDI information. A MEP, upon receiving frames with ETH-RDI information, determines that is peer MEP has encountered a defect condition.
DefMACStatus: MAC status defect. This occurs if a port on which the transmitting MEP resides has no ability to pass ordinary data, or the MEP’s primary VLAN is down. The defect is identified when the last CCM received by the local MEP from some remote MEP indicated that the transmitting MEP’s associated MAC is reporting an error status via the Port Status TLV or the Interface Status TLV.
DefRemoteCCM: Remote MEP defect. If no CCM frames from a peer MEP are received within the interval equal to 3.5 times the receiving MEP’s CCM transmission period, loss of continuity with the peer MEP is detected.
DefErrorCCM: Indicates the MEP received a CCM frame with an incorrect value of time interval.
DefXconCCM: A cross connect defect. If there is an incompatibility in one of the expected parameters in the CCM frame, for example, domain level, domain name type, service name type, service ID, etc.
show ethernet cfm maintenance-points remote domain
Use this command to display the configured domain name in the remote maintenance end point.
Format: show ethernet cfm maintenance-points remote domain <domain–name>
Mode: Privileged EXEC
The display parameters for above command are:
domain–name: The maintenance domain name.
MEP ID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
RMEP ID: Remote Maintenance Association End Point (RMEP) Identifier of a remote MEP.
Level: The maintenance association identified by the VLAN ID.
MAC: The MAC address of the remote MEP.
VLAN: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
Expiry Timer (sec): The time allowed for the last received CCM entry to expire, on a given RMEP.
Service ID: The service name VLAN ID.
show ethernet cfm maintenance-points remote level
Use this command to display the configured maintenance domain level in the remote maintenance end point.
Format: show ethernet cfm maintenance-points remote level <level>
Mode: Privileged EXEC
The display parameters for above command are:
domain–name: The maintenance domain name.
MEP ID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
RMEP ID: Remote Maintenance Association End Point (RMEP) Identifier of a remote MEP.
Level: The maintenance association identified by the VLAN ID.
MAC: The MAC address of the remote MEP.
VLAN: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
Expiry Timer (sec): The time allowed for the last received CCM entry to expire, on a given RMEP.
Service ID:
show ethernet cfm maintenance-points remote detail mac
Use this command to display the configured remote maintenance end point’s MAC address.
Format: show ethernet cfm maintenance-points remote detail <mac–addr>
Mode: Privileged EXEC
The display parameters for above command are:
mac–addr: A six-byte MAC Address.
MEP ID: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted.
RMEP ID: Remote Maintenance Association End Point (RMEP) Identifier of a remote MEP.
Level: The maintenance association identified by the VLAN ID.
MAC: The MAC address of the remote MEP.
VLAN: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
Expiry Timer (sec): The time allowed for the last received CCM entry to expire, on a given RMEP.
Service ID:
ping ethernet cfm mac
Use this command to track parameters for every loopback message transmitted for an MEP ID. The output of the loopback message is displayed on the console when the reply comes in.
mac–address: The destination MAC address for which the connectivity needs to be verified.
level: The maintenance association identified by the VLAN ID. The range is 0–7.
vlan: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
mpid: The Maintenance End Point Identifier (MEP ID) from which the Link Trace message is transmitted. The range is 1–8191.
count: The number of ping packets to send. The range is 1–255.
ping ethernet cfm remote–mpid
Use this command to track parameters for every loopback message transmitted for an MEP ID. The output of the loopback message is displayed on the console when the reply comes in.
remote–mpid: Remote Maintenance Association End Point (RMEP) Identifier of a remote MEP. The destination MED ID for which the connectivity needs to be verified. The range is 1–8191.
level: The maintenance association identified by the VLAN ID. The range is 0–7.
vlan: The Maintenance Association identified by the VLAN ID. The range is 1–4093.
mpid: The source Maintenance End Point Identifier (MEP ID) from which the Loopback message needs to be transmitted. The range is 1–8191.
count: The number of ping packets to send. The range is 1–255.
traceroute ethernet cfm mac
Use this command to generate a Link Trace message track message from the configured MEP. This is triggered from MA configuration mode.
remote–mpid: The destination MEP ID for which the connectivity needs to be verified. The range is 1– 8191.
level: The maintenance association identified by the domain level. The range is 0–7.
vlan: The maintenance association identified by the VLAN ID. The range is 1–4093.
mpid: The source Maintenance End Point Identifier (MEP ID) from which the Link Trace message needs to be transmitted. The range is 1–8191.
ttl: The number of hops the Link Trace Message (LTM) is expected to be transmitted. The range is 1–255. The default value is 64.
show ethernet cfm domain
Use this command to display the configured parameters in the maintenance domain.
Format: show ethernet cfm domain <domain–name>
Mode: Privileged EXEC
show ethernet cfm domain brief
Use this command to display a summary of the configured parameters in the maintenance domain.
Format: show ethernet cfm domain brief <domain–name>
Mode: Privileged EXEC
show ethernet cfm maintenance–points local domain
Use this command to display the local maintenance domain name.
Format: show ethernet cfm maintenance–points local domain domain–name
Mode: Privileged EXEC
The display parameters for above command are:
domain–name: The maintenance domain name.
show ethernet cfm maintenance–points local interface
Use this command to display the local ethernet cfm interface.
Format: show ethernet cfm maintenance–points local interface <unit/slot/port>
Mode: Privileged EXEC
The display parameters for above command are:
unit/slot/port: The local ethernet cfm interface.
show ethernet cfm maintenance–points local level
Use this command to display the local maintenance points domain level.
Format: show ethernet maintenance–points local <level 0–7>
Mode: Privileged EXEC
The display parameters for above command are:
level: The maintenance domain level. The range is 0–7.
show ethernet cfm maintenance–points remote domain
Use this command to display the configured maintenance domain name in the remote maintenance end point.
Format: show ethernet cfm maintenance–points remote domain <domain–name>
Mode: Privileged EXEC
domain–name: The maintenance domain name configured in the remote maintenance end point.
show ethernet cfm maintenance–points remote level
Use this command to display the configured maintenance domain level in the remote maintenance end point.
Format: show ethernet cfm maintenance–points remote level <level 0–7>
Mode: Privileged EXEC
The display parameters for above command are:
level: The maintenance domain level configured in the remote maintenance end point.
show ethernet cfm maintenance–points remote detail mac
Use this command to display the maintenance point MAC address in the remote maintenance end point.
Format: show ethernet cfm maintenance–points remote detail mac {mac–addr [domain domain– name|level 0–1]}
Mode: Privileged EXEC
The display parameters for above command are:
mac–addr: A 6-byte MAC address.
domain–name: The maintenance domain name configured in the remote maintenance end point.
level: The maintenance domain level configured in the remote maintenance end point.
show ethernet cfm traceroute–cache
The link trace triggered for an MP can be traced by displaying the link trace database either giving the transaction ID or the sequence number returned during triggering.
Format: show ethernet cfm traceroute–cache [sequence–num sequence–num]
Mode: Privileged EXEC
The display parameters for above command are:
sequence–num: The sequence number.
show ethernet cfm statistics
Use this command to display the statistics supported by the CFM component per MEP.
Format: show ethernet cfm statistics
Mode: Privileged EXEC
The display parameters for above command are:
Out–of–sequence CCMs received: The total number of out-of-order sequence CCM’s received.
CCMs transmitted: The total number of CCMs transmitted.
In–order Loopback Replies received: The total number of in–order Loopback Replies (LBRs) received.
Out–of–order Loopback Replies received: The total number of out–of–order LBRs received.
Bad MSDU Loopback Replies received: The total number of bad MSDU LBRs received.
Loopback Replies transmitted: The total number of Linktrace Replies (LTRs) transmitted.
Unexpected LTRs received: The total number of unexpected Linktrace Replies (LTRs) received.