OcNOS-DC 6.4.2 : Carrier Ethernet Guides : Carrier Ethernet Command Reference : CFM Commands
CFM Commands
This chapter describes the commands used to manage the Connectivity Fault Management (CFM). CFM refers to the service OAM of Ethernet used to manage individual Layer 2 Ethernet services. The CFM protocol can discover and verify the path through 802.1 bridges and LANs. OcNOS adheres to the IEEE 802.1ag 2007 standard.
vlan
cc interval
Use this command to set the continuity checking (CC) message interval.
Note: It is recommend to configure CC interval as equal-to or higher than 100ms. System can't be scaled when CC interval is configured less than 100ms.
Command Syntax
cc interval (3ms|10ms|100ms|1s|10s)
Parameters
 
3ms
3 milliseconds
10ms
10 milliseconds
100ms
100 milliseconds
1s
1 seconds
1min
1 minute
10s
10 seconds
10min
10 minutes
Note: No support for 10min in QAX board.
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 4.2.
Examples
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name 43982
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 1
(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe2
OcnOS(config-ether-cfm-ma-mep)cc interval 3ms
OcnOS(config-ether-cfm-ma-mep)#cc multicast state enable
cc multicast
Use this command to start or stop multicast continuity checking messages (CCMs) on a MEP.
Command Syntax
cc multicast state (enable|disable)
Parameters
enable
Start sending CCMs
disable
Stop sending CCMs
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 4.2.
Examples
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
OcNOS(config-ether-cfm)#service ma-type string ma-name 43982
OcNOS(config-ether-cfm-ma)#vlan 10
(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe2
(config-ether-cfm-ma-mep)#cc multicast state enable
 
cfm snmp restart
Use this command to restart SNMP in CFM Protocol.
Command Syntax
cfm snmp restart
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS Version 5.1.
Examples
OcNOS#cfm snmp restart
 
 
clear ethernet cfm maintenance-point remote
Use this command to remove a dynamically learned RMEP.
The RMEP is relearned if service ma-type is enabled and a CCM (Continuity Checking Message) is received.
Command Syntax
clear ethernet cfm maintenance-points remote domain <DOMAIN-NAME>
Parameters
DOMAIN_NAME
Enter the name of the domain.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#clear ethernet cfm maintenance-points remote domain abcde
 
clear ethernet cfm statistics
Use this command to clear the CFM statistics.
Command Syntax
clear ethernet cfm statistics
clear ethernet cfm statistics mep <MEPID> domain <DOMAIN_NAME> ma <MA_NAME>
Parameters
MEPID
MEP identifier <1-8191>
DOMAIN_NAME
Enter the name of the domain. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
MA_NAME
Enter maintenance association name. If ma-type is character string then maximum length of ma-name is 6 else if it’s integer then maximum is 2-octets.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Example
OcNOS#clear ethernet cfm statistics
 
clear ethernet cfm traceroute-cache
Use this command to clear the CFM traceroute cache entry.
Command Syntax
clear ethernet cfm traceroute-cache
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Example
#clear ethernet cfm traceroute-cache
 
 
ethernet cfm debug
Use this command to enable debug for ethernet cfm .
Use no from of this command to disable debug for ethernet cfm
Command Syntax
ethernet cfm debug (events|rx|tx|loopback|traceroute)
no ethernet cfm debug (events|rx|tx|loopback|traceroute)
Parameters
TIME
Wait-to-restore-timer <0-86400>
events
Enable event debugs
loopback
Enable loopback debugs
rx
Enable receive debugs
traceroute
Enable traceroute debugs
tx
Enable transmit debugs
Default
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS Version 5.0
Examples
OcNOS(config)#ethernet cfm debug events
OcNOS(config)#ethernet cfm debug loopback
OcNOS(config)#ethernet cfm debug rx
OcNOS(config)#ethernet cfm debug tx
OcNOS(config)#ethernet cfm debug traceroute
OcNOS(config)#no ethernet cfm debug events
OcNOS(config)#no ethernet cfm debug loopback
OcNOS(config)#no ethernet cfm debug rx
OcNOS(config)#no ethernet cfm debug tx
OcNOS(config)#no ethernet cfm debug traceroute
 
ethernet cfm domain-type
Use this command to create a CFM Maintenance Domain (MD) in a bridge and enter Ethernet CFM mode.
Use the no form of this command to remove a domain.
Note: You can create up to 15 MDs in a bridge.
Only one domain can be created without any domain name in a bridge.
A domain name of type character-string can only created only after the mep crosscheck command is executed.
Command Syntax
ethernet cfm domain-type (no-name|character-string) domain-name DOMAIN_NAME level
<0-7> mip-creation (none|default|explicit)
no ethernet cfm domain-name DOMAIN_NAME
Parameters
domain-type
Domain type (must match service ma-type setting)
no-name
No MD name. The ma-type must be integer or itu-t carrier code (ICC) format defined by Y.1731.
character-string
Character string name. The ma-type must be string.
DOMAIN_NAME
Enter the name of the domain.
<0-7>
MD level
mip-creation
Maintenance Intermediate Point (MIP) creation permission for this domain
none
No MIP can be created for this VLAN identifier
default
MIP can be created if no lower active level or MEP at next lower active level
explicit
Maintenance End Point (MEP) is needed at the next lower active level
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Examples
OcNOS(config)#
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12347 level 7 mip-creation none
OcNOS(config-ether-cfm)#
 
ethernet cfm mep
Use this command to create a Maintenance End Point (MEP), make it active or inactive and enter Ethernet CFM MA MEP mode.
A MEP created with the active false option remains inactive and CFM functionality is suspended for such a MEP.
Use the no form of this command to delete a MEP.
Command Syntax
ethernet cfm mep (down|up) mpid <1-8191> active (false|true) IFNAME
no ethernet cfm mpid <1-8191>
Parameters
down
Down MEP
active
Administrative state of the MEP
true
Make the MEP active
false
Make the MEP inactive
IFNAME
Interface name
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
OcNOS(config-ether-cfm)#service ma-type string ma-name 43982
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 1
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 81 active true xe2
 
ethernet cfm mip
Use this command to create a static MIP on an interface.
Use the no form of this command to remove a static MIP from an interface.
Command Syntax
ethernet cfm mip interface IFNAME
no ethernet cfm mip interface IFNAME
Parameters
IFNAME
Interface name of MIP
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
 
OcNOS#con term
Enter configuration commands, one per line. End with CNTL/Z.
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
OcNOS(config-ether-cfm)# service ma-type string ma-name ma1
OcNOS(config-ether-cfm-ma)# vlan 25 bridge 1
OcNOS(config-ether-cfm-ma)# ethernet cfm mip interface ge5
OcNOS(config-ether-cfm-ma)#no ethernet cfm mip interface ge5
 
 
 
 
exit-ether-ma-mep-mode
Use this command to exit Ethernet CFM MA MEP mode and go back to Ethernet CFM MA mode.
Command Syntax
exit-ether-ma-mep-mode
Parameters
None
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 4.2.
Examples
#configure terminal
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name testtm
(config-ether-cfm-ma)#vlan 5 bridge 10
(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true local-vid 10 xe2
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
 
 
 
 
 
exit-ether-ma-mode
Use this command to exit Ethernet CFM MA mode and go back to Ethernet CFM mode.
Command Syntax
exit-ether-ma-mode
Parameters
None
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 4.2.
Examples
#configure terminal
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7 mi
(config-ether-cfm)#service ma-type string ma-name testtm
(config-ether-cfm-ma)#vlan 5 bridge 10
(config-ether-cfm-ma)#exit-ether-ma-mode
 
link-level
Use this command to create a maintenance association for link-level MEPs (level 0) which do not listen on a VLAN.
Command Syntax
link-level (bridge <1-32>|)
Parameters
<1-32>
Bridge id
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS-SP version 5.1.
Example
OcNOS#configure terminal
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 0
OcNOS(config-ether-cfm)#service ma-type string ma-name ma1
OcNOS(config-ether-cfm-ma)#link-level bridge 1
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe2
mep crosscheck
Use this command to configure a remote MEP crosscheck.
Use the no form of this command to delete a crosscheck MEP.
Command Syntax
mep crosscheck mpid MEPID
no mep crosscheck mpid MEPID
Parameters
MEPID
Remote host MEP identifier <1-8191>
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#configure terminal
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name testtm
(config-ether-cfm-ma)#vlan 5 bridge 10
(config-ether-cfm-ma)#mep crosscheck mpid 51
mep lowest-priority-defect
Use this command to set the lowest-priority defect that can generate a fault alarm.
Use the no form of this command to set the lowest-priority defect to its default (defMACstatus).
Command Syntax
mep lowest-priority-defect (defRDICCM|defMACstatus|defRemoteCCM|defErrorCCM|defXconCCM)
no mep lowest-priority-defect
Parameters
defRDICCM
1 (lowest): At least one of the Remote MEP state machines is receiving valid CCMs from its remote MEP that has the Remote Defect Indication (RDI) bit set.
defMACstatus
2: One or more of the remote MEPs is reporting a failure in its Port Status Type-Length-Value (TLV) or Interface Status TLV: MEP Down.
defRemoteCCM
3: At least one of the remote MEP state machines is not receiving valid CCMs from its remote MEP.
defErrorCCM
4: One or more invalid CCMs has been received, and 3.5 times the CCMs’ transmission interval has not yet expired.
defXconCCM
5: (highest): One or more cross-connect continuity check messages (CCMs) has been received, and 3.5 times at least one of those CCMs’ transmission interval has not yet expired.
Default Value
defMACstatus
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#configure terminal
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name testtm
(config-ether-cfm-ma)#vlan 5 bridge 10
(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true local-vid 10 xe7
(config-ether-cfm-ma-mep)#mep lowest-priority-defect defRemoteCCM
mip-creation
Use this command for Maintenance domain Intermediate Point (MIP) creation permission for this domain.
Command Syntax
(mip-creation (none|default|explicit|defer))|
Parameters
mip-creation
Maintenance domain Intermediate Point (MIP) creation permission for this domain
none
No MIP can be created for this VLAN identifier
default
MIP can be created if no lower active level or MEP at the next lower active level
explicit
MEP is needed at the next lower active level
defer
Use the MIP creation permissions of the MD to which this MA belongs
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS-SP version 5.1.
Example
OcNOS#configure terminal
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name testtm
OcNOS(config-ether-cfm-ma)#mip-creation none
OcnOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe22
 
ping ethernet mac
Use this command to send a loopback message for a MAC address to a remote MEP for fault verification. Use either the domain or the level parameter with the vlan or bridge parameter to target a specific device.
Command Syntax
ping ethernet mac MACADDRESS unicast source MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
MACADDRESS
Destination MAC address in HHHH.HHHH.HHHH format
MEPID
Source host MEP ID <1-8191>
DOMAIN_NAME
Enter the name of the domain.
MA_NAME
Enter maintenance association name. If ma-type is character string then maximum length of ma-name is 6 else if it’s integer then maximum is 2-octets.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Examples
#ping ethernet mac 0018.236e.5eb5 unicast source 201 domain 12345 ma 123
 
service ma-type
Use this command to create a service Maintenance Association (MA), and enter Ethernet CFM MA mode. This command allows creation of a maintenance association for link-level MEPs (level 0) which do not listen on a VLAN.
A VID can be associated with an MA after MA is created.
Use the no form of this command to remove an MA.
Command Syntax
Ethernet CFM mode
service ma-type (string|integer|itu-t) ma-name MA_NAME
no service ma-name MA_NAME
Command Mode
Ethernet CFM mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Example
OcNOS#con term
Enter configuration commands, one per line. End with CNTL/Z.
OcNOS(config)#ethernet cfm domain-type character-string domain-name mdnam level 7
OcNOS(config-ether-cfm)#service ma-type string ma-name testtm
 
show debugging ethernet cfm
Use this command to display CFM debugging options.
Command Syntax
show debugging ethernet cfm
Parameters
None
Command Mode
Privileged Exec Mode and Exec Mode
Applicability
This command was introduced in OcNOS version 6.0.
Examples
OcNOS#show debugging ethernet cfm
CFM debugging status:
CFM transmit debugging is on
CFM loopback debugging is on
CFM traceroute debugging is on
show ethernet cfm errors
Use this command to verify the defects present in a MEP.
Command Syntax
show ethernet cfm errors domain DOMAIN_NAME
Parameters
DOMAIN_NAME
Enter the name of the domain.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#show ethernet cfm errors domain 12345
Domain Name Level Vlan MEPID Defects
--------------------------------------------------------
12345 7 10 100 .....
 
Table 1-1 explains the output fields
Table 1-1: show ethernet cfm errors 
Field
Description
Domain Name
Maintenance Domain name
Level
MD Level
Vlan
Vlan identifier
MEPID
Maintenance End Point identifier
Defects
Defects in current MEP
 
show ethernet cfm ma status
Use this command to display the connectivity status of Maintenance Associations (MAs) in a domain.
Command Syntax
show ethernet cfm ma status domain DOMAIN_NAME (vlan <2-4094>|)
(mep <1-8191>| mep all|)
Parameters
DOMAIN_NAME
Enter the name of the domain.
<2-4094>
VLAN identifier
mep
Host MEP
<1-8191>
Host MEP identifier
all
All host MEPs
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#show ethernet cfm ma status domain 12345 vlan 10
MA NAME VLAN STATUS
-------------------------------------------
43982 10 Active
 
Table 1-2 explains the output fields.
Table 1-2: show ethernet cfm ma status 
Field
Description
MA NAME
Maintenance Association name
VLAN
VLAN identifier
STATUS
Active: All connected MEPs in MA are receiving the CCM with no defect or alarm present
Partially Active: One or more connected MEPs in MA is not receiving CCM or it is receiving CCM with defect or alarm present
Not Active: None of the connected MEPS in MA are receiving CCM or it is receiving CCM with defect or alarm present
show ethernet cfm maintenance-points count
Use this command to display information about the Total CFM sessions Count on a given interface.
Command Syntax
show ethernet cfm maintenance-points count IFNAME
Parameters
IFNAME
Interface name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.3.0.
Example
OcNOS#show ethernet cfm maintenance-points count xe6
--------------------------------------------
 
Total No of MIPs : 3
Total No of MEPs : 3
Total No of UP MEPs : 0
Total No of Down MEPs : 3
Total No of Active CCM sessions : 3
Total No of UP CCM sessions : 2
Total No of Active Test sessions : 0
Total No of Active LM sessions : 0
Total No of Active DM sessions : 0
--------------------------------------------
 
show ethernet cfm maintenance-points local mep
Use this command to display information about the Maintenance End Points (MEPs) on a local interface.
Command Syntax
show ethernet cfm maintenance-points local (mep) (interface IFNAME|)(domain DOMAIN_NAME)(ma-name MA_NAME)
Parameters
IFNAME
Interface name. This token can be used only for Down MEPs on L2 bridge.
DOMAIN_NAME
Enter the name of the domain.
MA_NAME
Maintenance association name.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#show ethernet cfm maintenance-point local mep xe2
MPID Dir Lvl VLAN CC-Stat HW-Status CC-Intvl MAC-Address Def Port MD Name
--------------------------------------------------------------------------------
100 Dn 7 10 Enable Installed 100 ms 3c2c.99f0.b0c1 F xe2 12345
 
#show ethernet cfm maintenance-points local mep domain 12345 ma-name
MPID Dir Lvl VLAN CC-Stat HW-Status CC-Intvl MAC-Address Def Port MD Name
--------------------------------------------------------------------------------
100 Dn 7 10 Enable Installed 100 ms 3c2c.99f0.b0c1 F xe2 12345
 
Table 1-3 explains the output fields.
Table 1-3: show ethernet cfm maintenance-points local mep
Field
Description
MPID
MEP identifier
Dir
Up MEP or Down MEP
Lvl
MD level
Vlan
VLAN identifier
CC-Stat
Whether continuity checking (CC) is enabled or disabled
HW-Status
Installed or pending to install in hardware
CC-Intvl
CCM Interval
MAC-Address
MAC address
Def
Defect present
Port
CFM interface
MD Name
MD name
 
show ethernet cfm maintenance-points local mip
Use this command to display information about the Maintenance Intermediate Points (MIPs) on a local interface.
Command Syntax
show ethernet cfm maintenance-points local (mip) (interface IFNAME| (level <0-7>) (ma-name MA_NAME)|)
Parameters
IFNAME
Interface name.
<0-7>
Maintenance level.
MA_NAME
Maintenance association name. If ma-type is character string then maximum length of ma-name is 6 else if it's integer then maximum is 2-octets
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#show ethernet cfm maintenance-points local mip level 7
Level VID Type Port MAC-Address
------------------------------------------------------
7 10 MIP xe3 0018.23ea.da36
7 10 MIP xe5 0018.23ea.da38
 
Table 1-4 explains the output fields.
Table 1-4: show ethernet cfm maintenance-points local mip
Field
Description
Level
MD level
VID
VLAN identifier
Type
MIP
Port
Interface name
MAC-Address
MAC address
 
show ethernet cfm maintenance-points remote
Use this command to display information about a remote MEP.
Command Syntax
show ethernet cfm maintenance-points remote (mpid MEP_ID|) (domain DOMAIN_NAME)(ma-name MA_NAME)
Parameters
MEP_ID
Remote MEP identifier <1-8191>
DOMAIN_NAME
Enter the name of the domain.
MA_NAME
Enter maintenance association name. If ma-type is character string then maximum length of ma-name is 6 else if it’s integer then maximum is 2-octets.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Example
#show ethernet cfm maintenance-points remote domain 12345
MEPID RMEPID LEVEL VLAN Rx CCM RDI PEER-MAC TYPE
 
100 200 7 10 Yes False a82b.b579.fd2a Configured
 
Table 1-5 explains the output fields.
Table 1-5: show ethernet cfm maintenance-points remote
Field
Description
MEPID
MEP identifier
RMEPID
Remote MEP identifier
LEVEL
MD level
VLAN
VLAN identifier
Rx CCM
Yes if CCM receives, no if CCM doesn't receive.
RDI
Whether Remote Defect Indication (RDI) is on or off
PEER-MAC
Remote MEP mac address
TYPE
Configured or auto learned
 
show ethernet cfm traceroute-cache
Use this command to display the ethernet cfm traceroute cache
Command Syntax
show ethernet cfm traceroute-cache
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
OcNOS#show ethernet cfm traceroute-cache
MEPID Dest mac Hops Relay-action
2 e8c5.7a91.f8c4 1 RlyHit
2 e8c5.7a91.f8c4 1 RlyHit
show ethernet cfm statistics
Use this command to display CFM statistics: CCM sent and received, LBM sent and LBR received, LTM sent and LTR
received.
Command Syntax
show ethernet cfm statistics mep MEPID domain DOMAIN_NAME ma-name MA_NAME
Parameters
MEPID
Host MEP identifier <1-8191>
MA_NAME
Maintenance association name. If ma-type is character string then maximum length of ma-name is 6 else if it's integer then maximum is 2-octets
DOMAIN_NAME
Enter the name of the domain.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Example
#show ethernet cfm statistics
Continuity Check Messages
CCM Sent : 168164
CCM Received : 165460
 
Loop Back Messages
LBM Sent : 5
LBR Received(Valid) : 5
LBR Received(Bad msdu) : 0
LBR Received(Out-of-Seq): 0
 
Link Trace Messages
LTM Sent : 1
LTR Sent : 0
LTR Received(Valid) : 3
LTR Received(unexpected): 0
 
Table 1-6 explains the output fields.
Table 1-6: show ethernet cfm statistics
Field
Description
Continuity Check Messages
CCM Sent
Number of continuity check messsages (CCMs) sent
CCM Received
Number of CCMs received
Loop Back Messages
LBM Sent
Number of loopback messages (LBMs) sent
LBR Received(Valid)
Number of valid LBRs received
LBR Received(Bad msdu)
Number of LBRs received with bad MAC service data unit
LBR Received(Out-of-Seq)
Number of out-of-sequence LBRs received
Link Trace Messages
LTM Sent
Number of link trace messages (LTMs) sent
LTR Received(Valid)
Number of link trace replies (LTRs) received
LTR Received(unexpected)
Number of unexpected LTRs received
 
 
show running-config cfm
Use this command to display CFM running configuration alone.
Command Syntax
show running-config cfm
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Example
#show running-config cfm
ethernet cfm domain-type character-string domain-name 12347 level 2 mip-creation none
service ma-type string ma-name 123
vlan 10 bridge 10
mip-creation default
ethernet cfm mep down mpid 14 active true xe4
message level 2
interval 1s
frame priority 3
exit-ether-ma-mep-lck-mode
ethernet cfm loss-measurement reply lmm
exit-ether-ma-mep-mode
mep crosscheck mpid 41
exit-ether-ma-mode
!
 
traceroute ethernet
Use this command to start traceroute messages on a remote MEP.
Command Syntax
traceroute ethernet MAC mepid MEPID domain DOMAIN (ma MA_NAME)
Parameters
MAC
MAC address of the remote MEP or MIP in HHHH.HHHH.HHHH format.
MEPID
Host MEP identifier <1-8191>.
DOMAIN_NAME
Enter the name of the domain.
MA_NAME
Enter maintenance association name. If ma-type is character string then maximum length of ma-name is 6 else if it's integer then maximum is 2-octets.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS-SP version 1.0.
Example
#traceroute ethernet 0018.236e.5eb8 mepid 201 domain 12345 ma 123
MP Mac Hops Relay-action Ingress/Egress Ingress/Egress action
0018.23ea.da36 1 RlyFDB Ingress IngOK
0018.23ea.da38 2 RlyFDB Egress EgrOK
0018.236e.5eb8 3 RlyHit Ingress IngOK
 
#traceroute ethernet 0018.236e.5eb8 mepid 201 domain 12345
MP Mac Hops Relay-action Ingress/Egress Ingress/Egress action
0018.23ea.da36 1 RlyFDB Ingress IngOK
0018.23ea.da38 2 RlyFDB Egress EgrOK
0018.236e.5eb8 3 RlyHit Ingress IngOK
 
vlan
Use this command to create a service Maintenance Association (MA), with a VLAN.
Command Syntax
vlan VLAN_ID (bridge <1-32> | inner-vlan VLAN_ID|)
Parameters
<1-32>
Bridge id
VLAN_ID
Inner VLAN identifier <1-4094>
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS-SP version 5.1
Example
#configure terminal
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
OcNOS(config-ether-cfm)#service ma-type string ma-name 43982
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe2