OcNOS-SP : Carrier Ethernet Guide : Carrier Ethernet Command Reference : CFM and Y.1731 Commands
CFM and Y.1731 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.
CFM includes the features required by ITU Y.1731 standard OAM Functions and Mechanisms for Ethernet Based Networks. This recommendation identifies the functions required to enable fault management (such as fault localization and defect detection) and performance monitoring in an Ethernet network.
evpn
vlan
vpws
 
abort delay-measurement
Use this command to stop the ongoing or scheduled CFM frame delay measurement session.
Command Syntax
abort delay-measurement mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
mep
Local MEP identifier
MEPID
MEP identifier <1-8191>
domain
Specify domain.
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
Specify Maintenance association name
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 version 3.0.
Example
#abort delay-measurement mep 123 domain 12345 ma 1234
abort loss-measurement
Use this command to stop the ongoing CFM frame loss measurement session.
Command Syntax
abort loss-measurement mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
mep
Local MEP identifier
MEPID
MEP identifier <1-8191>
domain
Specify domain.
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
Specify Maintenance association name
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 version 3.0.
Example
#abort loss-measurement mep 201 domain 12345 ma 1234
abort test-signal domain
Use this command to abort pre-configured test session.
Command Syntax
abort test-signal domain DOMAIN_NAME ma MA_NAME mep MEPID
Parameters
domain
Specify domain.
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
Specify Maintenance association name
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.
mep
Specify mep
MEPID
Enter the MEPID ranging from <1-8191>
Command Mode
Exec mode
Default
None
Applicability
This command was introduced in OcNOS version 4.0.
Example
#abort test-signal domain 12345 ma 43982 mep 21
 
 
 
ais interval
Use this command to set the AIS (Alarm Indication Signal) transmission interval.
Command Syntax
ais interval (1min|1s)
Parameters
1min
AIS transmission interval in packets per second
1s
AIS transmission interval in packets per minute
Default
one-second
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#configure terminal
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name 43982
(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true local-vid 10 xe2
(config-ether-cfm-ma-mep)#ais interval 1m
ais status
Use this command to enable or disable AIS (Alarm Indication Signal) transmission and set the CFM MD level to transmit in AIS PDUs.
Command Syntax
ais status (enable|disable) level <0-7>
Parameters
enable
Enable AIS
disable
Disable AIS
<0-7>
CFM MD level
Default
disable
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 3.0.
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 xe2
(config-ether-cfm-ma-mep)#ais status enable level 7
 
bins-per-fd-interval
Use this command to the set number of measurement bins per measurement interval for a two-way performance monitoring frame delay measurements on a specific MEP.
Use the no form to set number of measurement bins per measurement interval for a two-way performance monitoring frame delay measurements on a specific MEP to its default (3).
Command Syntax
bins-per-fd-interval <2-10>
no bins-per-fd-interval
Parameters
<2-10>
Number of frame delay bins to be created
Default
3
Command Mode
Ethernet CFM delay measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)# bins-per-fd-interval 4
bins-per-ifdv-interval
Use this command to set the number of measurement bins per measurement interval for an inter-frame delay for a two-way performance monitoring frame delay measurements on a specific MEP.
Use the no form to set the number of measurement bins per measurement interval for an inter-frmae delay for a two-way performance monitoring frame delay measurements on a specific MEP to its default (2).
Command Syntax
bins-per-ifdv-interval <2-10>
no bins-per-ifdv-interval
Parameters
<2-10>
Number of inter-frame delay bins to be created
Default
2
Command Mode
Ethernet CFM delay measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)# bins-per-ifdv-interval 3
bin-type
Use this command to set the threshold value for a particular bin for a two-way performance monitoring frame delay measurements on a specific MEP.
Use the no form to set threshold value for a particular bin for a two-way performance monitoring frame delay measurements on a specific MEP to its default.
Command Syntax
bin-type frame-delay bin 2 threshold 200
no bin-type frame-delay bin 2 threshold
bin-type inter-frame-delay-variation bin 2 threshold 1000
no bin-type inter-frame-delay-variation bin 2 threshold
Parameters
frame-delay
Frame delay bin type
inter-frame-delay-variation
 
Inter frame delay variation bin type
<2-10>
Bin number for which the threshold will be changed.
<1- 4294967295>
 
Threshold value for that bin.
Default
Incremental of 5000 microseconds from bin 2, that is bin 2's threshold will be 5000, bin 3's will be 10000, bin 4 will be 15000, so on and so forth.
Command Mode
Ethernet CFM delay measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)# bin-type frame-delay bin 2 threshold 200
(config-cfm-dm)# bin-type inter-frame-delay-variation bin 2 threshold 1000
 
bn receive
Use this command to create EBN configuration and to enable/disable Eth-BN for the Mep.
Command Syntax
bn receive
no bn receive
Parameters
None
Default
ETH-BN is disabled by default
Command Mode
Ethernet CFM MEP mode
Applicability
This command was introduced in OcNOS version 5.0
Examples
OcNOS(config)#ethernet cfm domain-type character-string domain-name abcde level 5
OcNOS(config-ether-cfm)#service ma-type string ma-name 7
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 1
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 100 active true xe9
OcNOS(config-ether-cfm-ma-mep)#bn receive
OcNOS(config-ether-cfm-ma-mep-bn)#commit
 
bw-mapped-interface
Use this command to configure modem interface where the shapers has to be applied. When Eth-BNM and Eth-CSF PDUs are received on Out-Of-Band interface, shapper will be updated on corresponding modem interface if this CLI is configured. Use <no> version of CLI to unconfigure modem interface mapping.
Command Syntax
bw-mapped-interface IFNAME
no bw-mapped-interface
Parameters
IFNAME
Specify the interface name where bandwidth shapers can be applied
Command Mode
Ethernet CFM MEP mode
Applicability
This command was introduced in OcNOS version 5.2
Examples
OcNOS(config)#ethernet cfm domain-type character-string domain-name abcde level 5
OcNOS(config-ether-cfm)#service ma-type string ma-name 7
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 1
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 100 active true xe9
OcNOS(config-ether-cfm-ma-mep)# bw-mapped-interface modem1
OcNOS(config-ether-cfm-ma-mep)#commit
 
 
 
 
cc interval
Use this command to set the continuity checking (CC) message interval.
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
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 3.0.
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 3.0.
Examples
(config)#ethernet cfm domain-type character-string domain-name 12345 level 7
(config-ether-cfm)#service ma-type string ma-name 43982
(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 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 3.0.
Examples
OcNOS#cfm snmp restart
 
clear ethernet cfm delay-measurement history
Use this command to clear the CFM frame delay measurement history statistics from CFM_MEP DB.
Command Syntax
clear ethernet cfm delay-measurement history mep <1-8191> domain DOMAIN_NAME ma MA_NAME
Parameters
MEPID
Local 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#clear ethernet cfm delay-measurement history mep 123 domain no_name ma 53322
 
clear ethernet cfm dm history
Use this command to clear the CFM frame delay measurement history statistics from CFM_MEP DB.
Command Syntax
clear ethernet cfm dm history mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
MEPID
Local 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#clear ethernet cfm dm history mep 123 domain no_name ma 123
 
clear ethernet cfm lm history
Use this command to clear the CFM frame loss measurement history statistics.
Command Syntax
clear ethernet cfm lm history mep MEPID domain DOMAIN_NAME ma MA_NAME s
Parameters
MEPID
Local 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#clear ethernet cfm lm history mep 201 domain 12345 ma 123
 
clear ethernet cfm loss-measurement history
Use this command to clear the CFM frame loss measurement history statistics.
Command Syntax
clear ethernet cfm loss-measurement history mep <1-8191> domain DOMAIN_NAME ma MA_NAME
Parameters
MEPID
Local 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#clear ethernet cfm loss-measurement history mep 201 domain 12345 ma 4327
 
clear ethernet cfm maintenance-point remote
Use this command to remove a dynamically learned RMEP.
The RMEP is relearned if rmep auto-discovery 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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#clear ethernet cfm maintenance-points remote domain
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 version 3.0.
Example
OcNOS#clear ethernet cfm statistics
clear ethernet cfm statistics bn
Use this command to clear the CFM Eth-BNM statistics.
Command Syntax
clear ethernet cfm statistics bn 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 version 5.2.
Example
OcNOS#clear ethernet cfm statistics bn mep 123 domain 12345 ma 123
clear ethernet cfm statistics lck
Use this command to clear the CFM Eth-LCK statistics.
Command Syntax
clear ethernet cfm statistics lck 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 version 6.3.0.
Example
 
OcNOS#clear ethernet cfm statistics lck mep 1 domain md001 ma ma01
clear ethernet cfm statistics test-signal
Use this command to clear the CFM ETH-Test receiver or generator statistics.
Command Syntax
clear ethernet cfm statistics test-signal domain <DOMAIN_NAME> ma <MANAME> mep <MEPID> stats (CTF|GTF)
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.
CTF
ETH Test Frame Collector statistics
GTF
ETH Test Frame Generator statistics
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 6.3.0.
Example
OcNOS#clear ethernet cfm statistics test-signal domain md001 ma ma01 mep 1 stats gtf
OcNOS#clear ethernet cfm statistics test-signal domain md001 ma ma01 mep 2 stats ctf
 
 
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 version 3.0.
Example
#clear ethernet cfm traceroute-cache
 
 
csf receive
Use this command to create Eth-CSF configuration and to enable/disable Eth-CSF for the Mep.
Command Syntax
csf receive
no csf receive
Parameters
None
Default
Eth-CSF is disabled by default.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
OcNOS(config)#ethernet cfm domain-type character-string domain-name abcde level 5
OcNOS(config-ether-cfm)#service ma-type string ma-name testtm
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true xe2
OcNOS(config-ether-cfm-ma-mep)#csf receive
OcNOS(config-ether-cfm-ma-mep-csf)#commit
 
debug ethernet cfm
Use this command to enable debug for ethernet cfm .
Use no from of this command to disable debug for ethernet cfm
Command Syntax
debug ethernet cfm (all|events|rx|tx|loopback|traceroute)
no debug ethernet cfm (all|events|rx|tx|loopback|traceroute)
Parameters
all
Enable all debugs
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 and option all is introduced in OcNOS version 6.3.0.
Examples
OcNOS(config)#debug ethernet cfm events
OcNOS(config)#debug ethernet cfm loopback
OcNOS(config)#debug ethernet cfm rx
OcNOS(config)#debug ethernet cfm tx
OcNOS(config)#debug ethernet cfm traceroute
OcNOS(config)#no debug ethernet cfm events
OcNOS(config)#no debug ethernet cfm loopback
OcNOS(config)#no debug ethernet cfm rx
OcNOS(config)#no debug ethernet cfm tx
OcNOS(config)#no debug ethernet cfm traceroute
OcNOS(config)#debug ethernet cfm all
OcNOS(config)#no debug ethernet cfm all
delay-measurement type on-demand
Use this command to schedule an on-demand CFM delay measurement session.
Command Syntax
delay-measurement type on-demand profile-name WORD rmep (mac-address MAC|RMEPID) start-time (immediate|relative HH:MM:SS|absolute HH:MM:SS <1-31> MONTH <1993- 2035>) repetition-period <6000-4294967295> mep MEPID domain DOMAIN_NAME
Parameters
WORD
Delay measurement profile name
MAC
Destination MAC address in HHHH.HHHH.HHHH format
RMEPID
Destination peer MEP identifier <1-8191>
start-time
Measurement session start time
immediate
Start immediately
relative HH:MM:SS
 
Relative time to start from the current system time
absolute HH:MM:SS <1-31> MONTH <1993-2035>
 
Scheduled date and time to start; for the month, specify the first three letters
stop-time
Measurement session stop time
none
Never stop
relative HH:MM:SS
 
Relative time to stop from the current system time
absolute HH:MM:SS <1-31> MONTH <1993-2035>
 
Scheduled date and time to stop; for the month, specify the first three letters
<6000-4294967295>
 
Repetition time in centiseconds
MEPID
Local 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#delay-measurement type on-demand profile-name PROF1 rmep 101 start-time relative 00:00:03 stop-time relative 00:03:00 repetition-period 7000 mep 123 domain no_name ma
123
 
delay-measurement type proactive
Use this command to configure and start a proactive CFM delay measurement session.
Command Syntax
delay-measurement type proactive profile-name WORD rmep (mac-address MAC|RMEPID) mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
WORD
Delay measurement profile name
MAC
Destination MAC address in HHHH.HHHH.HHHH format
RMEPID
Remote MEP identifier <1-8191>
MEPID
Local 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#delay-measurement type proactive profile-name 123 rmep 101 mep 123 domain no_name ma 123
 
 
 
 
 
 
ethernet cfm delay-measurement profile-name
Use this command to create a CFM frame delay measurement profile and enter Ethernet CFM delay measurement mode.
Use the no form of this command to remove a CFM delay measurement profile.
Command Syntax
ethernet cfm delay-measurement profile-name WORD
no ethernet cfm delay-measurement profile-name WORD
Parameters
WORD
Profile name
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)#
ethernet cfm delay-measurement reply
Use this command to enable transmission of DMR (Delay Measurement Reply) PDUs for received DMMs (Delay Measurement Messages).
After this command is given, a delay measurement session cannot be configured to send DMMs. In that case, the device can only generate DMRs for received DMM PDUs.
Use the no form of this command to disable sending DMR PDUs. After no command is given we can thereby configure a delay measurement session to send DMMs if we need.
Command Syntax
ethernet cfm delay-measurement reply dmm
no ethernet cfm delay-measurement reply dmm
Parameters
None
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
 
OcNOS#configure terminal
OcNOS(config)# ethernet cfm domain-type no-name domain-name no_name level 4
OcNOS(config-ether-cfm)#service ma-type string ma-name 7
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 100 active true xe9
OcNOS(config-ether-cfm-ma-mep)#ethernet cfm delay-measurement reply dmm
 
 
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 hardware-profile filter cfm-domain-name-str 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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
<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 version 3.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 loss-measurement profile-name
Use this command to create a CFM frame loss measurement profile and enter Ethernet CFM loss measurement mode.
Use the no form of this command to remove a CFM loss measurement profile.
Command Syntax
ethernet cfm loss-measurement profile-name WORD
no ethernet cfm loss-measurement profile-name WORD
Parameters
WORD
Profile name
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm loss-measurement profile-name PROF1
(config-cfm-lm)#
ethernet cfm loss-measurement reply
Use this command to enable transmission of SLR (Synthetic Loss Reply) PDUs for received SLMs (Synthetic Loss Messages) and to enable transmission of LMR (Loss Measurement Reply) PDUs for received LMMs (Loss Measurement Messages).
After this command is given, a loss measurement session cannot be configured to send SLMs. In that case, the device can only generate SLRs for received SLM PDUs. The same is true for LMM/LMR also.
Use the no form of this command to disable sending SLR/LMR PDUs.
Command Syntax
ethernet cfm loss-measurement reply (slm | lmm)
no ethernet cfm loss-measurement reply (slm | lmm)
Parameters
slm
Synthetic Loss Messages
lmm
Loss Measurement Messages
Command Mode
Ethernet CFM MA MEP mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)# ethernet cfm domain-type no-name domain-name no_name level 4 mip-creation none
OcNOS(config-ether-cfm)#service ma-type string ma-name 7
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 1
OcNOS(config-ether-cfm-ma)#mip-creation none
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 100 active true xe9
OcNOS(config-ether-cfm-ma-mep)#ethernet cfm loss-measurement reply slm
 
 
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.
Note: For a VPWS instance, only an up MEP can be created; a down MEP cannot be created for VPWS.
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|vpws VCNAME | evpn <1-16777215>)
no ethernet cfm mpid <1-8191>
Parameters
down
Down MEP
up
Up MEP
active
Administrative state of the MEP
true
Make the MEP active
false
Make the MEP inactive
IFNAME
Interface name
VCNAME
Virtual circuit name
evpn <ID>
EVPN instance ID
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 3.0.
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 10
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 3.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 12345 level 7 mip-creation default
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)# mip-creation default
OcNOS(config-ether-cfm-ma)# ethernet cfm mip interface ge5
OcNOS(config-ether-cfm-ma)#no ethernet cfm mip interface ge5
ethernet cfm statistics csf
Use this command to clear the CFM Eth-CSF statistics.
Command Syntax
clear ethernet cfm statistics csf 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 version 5.2.
Example
OcNOS#clear ethernet cfm statistics csf mep 123 domain 12345 ma 123
 
 
 
 
 
 
ethernet cfm test-signal profile-name
Use this command to create a test signal configuration profile associated with a specific MEP.
Use no form of this command to delete a test signal configuration profile.
Command Syntax
ethernet cfm test-signal profile-name WORD
no ethernet cfm test-signal profile-name WORD
Parameters
profile-name
Specify a profile-name
WORD
Specify the test signal profile name with max length of 64 characters
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#ethernet cfm test-signal profile-name 123
(config-cfm-eth-tst)#
 
(config)#no ethernet cfm test-signal profile-name 123
evpn
Use this command to create a service Maintenance Association (MA), with EVPN.
Command Syntax
evpn <ID>
Parameters
<1-16777215>
Enter the EVPN ID. Range(1-16777215)
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS-SP version 6.1.0
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)#evpn 100
OcNOS(config-ether-cfm-ma)#ethernet cfm mep up mpid 103 active true evpn 100
 
 
ethernet cfm traceroute cache
Use this command to set the cache size for traceroute output.
Use the no form of this command to set the cache size to its default (100).
Command Syntax
ethernet cfm traceroute cache size <1-4095>
no ethernet cfm traceroute cache size <1-4095>
Parameters
<1-4095>
Number of entries in cache
Default
100 entries
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm traceroute cache size 1
 
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 3.0.
Examples
OcNOS#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 testtm
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true xe2
OcNOS(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 3.0.
Examples
OcNOS#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 testtm
OcnOS(config-ether-cfm-ma)#exit-ether-ma-mode
 
frame priority
Use this command to set/reset the PDU frame priority in the Eth-lock.
Command Syntax
frame priority <0-7>
no frame priority
Parameters
<0-7>
Set the PDU priority range.
Command Mode
Ethernet CFM MA MEP LCK mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
OcNOS#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 ma1
OcNOS(config-ether-cfm-ma)# vlan 25 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true xe2
OcNOS(config-ether-cfm-ma-mep)#lck state
OcNOS(config-ether-cfm-ma-mep-lck)#frame priority 3
hardware-profile filter cfm-domain-name-str
Use this command to enable or disable setting the CFM domain name as a character string.
Note: The hardware-profile filter cfm-domain-name-str enable command is only applicable for Qumran platforms and not J2C platforms.
Command Syntax
hardware-profile filter cfm-domain-name-str (enable|disable)
Parameters
enable
Enable CFM domain name as a character string
disable
Disable CFM domain name as a character string
Default
Disabled
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#hardware-profile filter cfm-domain-name-str enable
 
 
 
interval
Use this command to set/reset the PDU interval for Eth-lock.
Command Syntax
interval (1s|1m)
no interval
Parameters
1m
Transmit interval one minute.
1s
Transmit interval one second
Command Mode
Ethernet CFM MA MEP LCK mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
OcNOS#configure terminal
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
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 2 active true xe14 OcNOS(config-ether-cfm-ma-mep)lck state
OcNOS(config-ether-cfm-ma-mep-lck)#interval 1m
OcNOS(config-ether-cfm-ma-mep-lck)#interval 1s
intervals-stored
Use this command to set the number of frame loss measurement intervals to store in the history table.
Use the no form to set the number of measurement intervals to its default (32).
Command Syntax
intervals-stored <2-1000>
no intervals-stored
Parameters
<2-1000>
Time intervals
Default
32
Command Mode
Ethernet CFM loss measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm loss-measurement profile-name PROF1
(config-cfm-lm)#intervals-stored 50
lck state
Use this command to enable or disable ETH-Lock PDU transmission.
Use no form to remove the command.
Command Syntax
lck state (unlock|lock)
no lck state
Parameters
unlock
Display ethernet lock PDU transmission
lock
Enable ethernet lock PDU transmission
Command Mode
Ethernet CFM MA MEP mode.
Default lock state is Unlock.
Applicability
This command was introduced in OcNOS version 4.0.
Example
 
OcNOS#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 testtm
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true xe2
OcNOS(config-ether-cfm-ma-mep)#lck state lock
OcNOS(config-ether-cfm-ma-mep-lck)#
 
 
 
 
 
 
 
 
 
 
 
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
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe2
 
 
loss-measurement type on-demand
Use this command to schedule an on-demand CFM loss measurement session.
Command Syntax
loss-measurement type on-demand profile-name WORD rmep (mac-address MAC|mep-id MEPID) start-time (immediate|relative HH:MM:SS|absolute HH:MM:SS <1-31> MONTH
<1993-2035>) stop-time (none|relative HH:MM:SS|absolute HH:MM:SS <1-31> MONTH
<1993-2035>) repetition-period <6000-4294967295> mep MEPID domain DOMAIN_NAME
ma MA_NAME
 
Parameters
WORD
Loss measurement profile name
MAC
Destination MAC address in HHHH.HHHH.HHHH format
MEPID
Remote MEP identifier <1-8191> to which to send the service OAM loss measurement frame
start-time
Measurement session start time
immediate
Start immediately
relative HH:MM:SS
 
Relative time to start from the current system time
absolute HH:MM:SS <1-31> MONTH <1993-2035>
 
Scheduled date and time to start; for the month, specify the first three letters
stop-time
Measurement session stop time
none
Never stop
relative HH:MM:SS
 
Relative time to stop from the current system time
absolute HH:MM:SS <1-31> MONTH <1993-2035>
 
Scheduled date and time to stop; for the month, specify the first three letters
repetition-period
 
Repetition time between measurement intervals
<0-4294967295>
 
Repetition time in seconds
MEPID
Remote MEP identifier <1-8191> to which to send the service OAM loss measurement frame
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
MA name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#loss-measurement type on-demand profile-name slm rmep mac-address 0018.2323.1234 start-time immediate stop-time none repetition-period 9000 mep 201 domain 12345 ma 123
 
 
loss-measurement type proactive
Use this command to configure and start a proactive CFM loss measurement session.
Command Syntax
loss-measurement type proactive profile-name WORD rmep (mac-address MAC) mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
WORD
Loss measurement profile name
rmep
Remote MEP
MAC
Destination MAC address in HHHH.HHHH.HHHH format
MEPID
Remote MEP identifier <1-8191> to which to send the service OAM loss measurement frame
mep
MEP
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
MA name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#loss-measurement type proactive profile-name slm rmep mac-address 0018.2323.1234 mep 201 domain 12345 ma 123
 
 
 
measurement-interval
Use this command to set the measurement interval for frame loss or delay measurement session.
Use the no form of this command to set the measurement interval to its default value (15 minutes).
Command Syntax
Loss measurement:
measurement-interval <1-525600>
no measurement-interval
Delay measurement:
measurement-interval <1-1440>
no measurement-interval
Parameters
For frame loss measurement:
<1-525600>
Measurement interval in minutes
For frame delay measurement:
<1-1440>
Measurement interval in minutes
Default
15 minutes
Command Mode
Ethernet CFM loss measurement mode and Ethernet CFM delay measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
Loss measurement:
#configure terminal
(config)#ethernet cfm loss-measurement profile-name PROF1
(config-cfm-lm)#measurement-interval 500
Delay measurement:
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)# measurement-interval 1
measurement-type slm
Use this command to generate Frame Loss Message (SLM/LMM) service OAM PDUs and track replies (SLR/LMR).
The measurement-type CCM is a dual-ended frame loss method in which generated CCM PDUs carry frame loss measurement information (TxFCf, RxFCb and TxFCb).
Use the no form of this command to set the measurement type to its default value (slm).
SLM and LMM cannot be enabled at the same time. All MEPs can use either LMM or SLM for frame loss measurement.
Command Syntax
measurement-type (slm | lmm | ccm)
no measurement-type
Parameters
slm
SLM service PDUs are generated and SLRs is tracked for frame loss measurement.
lmm
LMM service PDUs are generated and LMRs is tracked for frame loss measurement.
ccm
CCM PDUs are used for frame loss measurement which carries frame loss measurement information.
Command Mode
Ethernet CFM loss measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm loss-measurement profile-name PROF1
(config-cfm-lm)#measurement-type slm
 
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 3.0.
Example
OcNOS#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 testtm
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(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 3.0.
Example
OcNOS#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 testtm
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true xe2
OcnOS(config-ether-cfm-ma-mep)#mep lowest-priority-defect defRemoteCCM
message level
Use this command to set the PDU MD level for Eth-lock.
Command Syntax
message level <0-7>
no message level
Parameters
<0-7>
Set the level of the MD PDU.
Command Mode
Ethernet CFM MA MEP LCK mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
OcNOS#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 testtm OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 201 active true xe2
OcNOS(config-ether-cfm-ma-mep)#lck state
OcNOS(config-ether-cfm-ma-mep-lck)#message level 2
 
 
message-period
Use this command to set the interval between loss or delay measurement OAM message transmission.
Use the no form of this command to set the interval between loss or delay measurement messages to its default value (1 second).
Command Syntax
message-period (3ms|10ms|100ms|1s|10s)
no message-period
Parameters
3ms
3 milliseconds
10ms
10 milliseconds
100ms
100 milliseconds
1s
1 second
10s
10 seconds
Default Value
1 second
Command Mode
Ethernet CFM loss measurement mode
Ethernet CFM delay measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
Loss measurement:
#configure terminal
(config)#ethernet cfm loss-measurement profile-name PROF1
(config-cfm-lm)#message-period 3ms
 
Delay measurement:
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)#message-period 10s
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 mip- creation none
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)#mip-creation none
OcnOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 2331 active true xe2
 
 
intervals-stored
Use this command to set the number of completed measurement intervals to store in the history statistic table for a two-way performance monitoring frame delay measurements on a specific MEP.
Use the no form to set the number of completed measurement intervals to store in the history statistic table for a two-way performance monitoring frame delay measurements on a specific MEP to its default (32).
Command Syntax
intervals-stored <2-1000>
no intervals-stored
Parameters
<2-1000>
Number of records to store in history
Default
32
Command Mode
Ethernet CFM delay measurement mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#ethernet cfm delay-measurement profile-name PROF1
(config-cfm-dm)# intervals-stored 4
peer-port-id
Use this command to specify peer port-id for Eth-BNM. When this CLI is configured, received BNM PDU will be processed only if peer port-id value in PDU is same as configured peer-port-id. When this CLI is not configured, received BNM PDU is processed without peer port-id validation.
Use no form of CLI to unconfigure peer port id.
Command Syntax
peer-port-id <1-4294967295>
no peer-port-id
Parameters
<1-4294967295>
Enter the peer port-id.Default is 0.
Command Mode
Ethernet CFM MEP BNM mode
Applicability
This command was introduced in OcNOS version 5.2.
Examples
OcNOS#configure terminal
OcNOS(config)#ethernet cfm domain-type character-string domain-name 12345 level 7 m
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
OcNOS(config-ether-cfm-ma-mep)# bn receive
OcNOS(config-ether-cfm-ma-mep-bn) peer-port-id 1234
 
 
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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
MA_NAME
MA name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#ping ethernet mac 0018.236e.5eb5 unicast source 201 domain 12345 ma 123
 
 
 
rmep auto-discovery
Use this command to enable or disable whether MEPs are discovered automatically based on received CCMs (Continuity Checking Messages).
On disabling RMEP auto-discovery, a previously learned RMEP is removed.
Command Syntax
rmep auto-discovery enable|disable
Parameters
enable
Enable automatic RMEP discovery
disable
Disable automatic RMEP discovery
Default
disable
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
OcNOS#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 testtm
OcNOS(config-ether-cfm-ma)#vlan 5 bridge 10
OcnOS(config-ether-cfm-ma)#rmep auto-discovery enable
 
 
 
 
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 version 3.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 ethernet cfm ais reception-status
Use this command to display information about the AIS (Alarm Indication Signal) frames received on a MEP.
Command Syntax
show ethernet cfm ais reception-status mep MEPID domain DOMAIN_NAME(ma-name MA_NAME
Parameters
MEPID
Source host MEP ID <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
Maintenance association name (if type is character string maximum length of ma-name is 6. If type is integer maximum is 2-octets)
<1-32>
Bridge identifier
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm ais reception-status mep 100 domain 12345
 
 
 
 
show ethernet cfm bn
Use this command to display information about Eth-BNM.
Command Syntax
show ethernet cfm bn
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
#show ethernet cfm bn
MEPID Domain MA-Name Interface VLAN S-Addr Port-ID Nominal-BW(Mbps) Current-BW(mbps)
---------------------------------------------------------------------------------------------------------------------------
100 12345 123 xe2 100 00:00:11:11:11:11 100 200 100
200 12345 124 xe1 200 00:00:11:11:11:12 200 100 300
300 12445 123 xe3 300 00:00:11:11:11:13 100 300 400
 
show ethernet cfm bn mep
Use this command to display detail information about Eth-BNM configured on MEP.
Command Syntax
show ethernet cfm bn mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
MEPID
Source host MEP ID <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
Maintenance association name (if type is character string maximum length of ma-name is
6. If type is integer maximum is 2-octets)
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
#show ethernet cfm bn mep 100 domain 12345 ma 123
MA-Name : 223
MEL: 4
Admin Status : Enable
Interface : xe1
VLAN : 100
Source address : 00:00:11:11:11:11
Wait to Restore timer: 200 sec
State : SIGNAL_DEGRADED
Elapsed time in this state : 00:00:02
Last BNM Received : 2022 Mar 03 17:19:23
Nominal Bandwidth : 800 Mbps
Current Bandwidth : 600 Mbps
Port-Id : 2
BNM Period : 1 sec
 
show ethernet cfm csf
Use this command to display information about Eth-CSF.
Command Syntax
show ethernet cfm csf
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
#show ethernet cfm csf
MEPID Domain MA-Name Interface VLAN S-Addr
-----------------------------------------------------------------------
100 12345 123 xe2 100 00:00:11:11:11:11
200 12345 124 xe1 200 00:00:11:11:11:12
300 12445 123 xe3 300 00:00:11:11:11:13
 
show ethernet cfm csf mep
Use this command to display detail information about Eth-CSF configured on MEP.
Command Syntax
show ethernet cfm csf mep MEPID domain DOMAIN_NAME ma MA_NAME
Parameters
MEPID
Source host MEP ID <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
Maintenance association name (if type is character string maximum length of ma-name is
6. If type is integer maximum is 2-octets)
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
#show ethernet cfm csf mep 100 domain 12345 ma 123
MA-Name : 123
MEL: 4
Admin Status : Enable
Interface : xe1
VLAN : 100
Source address : 00:00:11:11:11:11
Wait to Restore timer: 200 sec
State : SIGNAL_DEGRADED
Elapsed time in this state : 00:00:04
Last CSF Received : 2022 Mar 03 17:19:23
CSF Period : 1 sec
CFS Type : LOS
 
 
 
show ethernet cfm delay-measurement mep
Use this command to display delay measurement statistics for a MEP both for current and history or individually.
Command Syntax
show ethernet cfm delay-measurement mep MEPID domain DOMAIN_NAME (ma-name MA_NAME) ((current-stats|history-stats)|)
Parameters
MEPID
Local 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
MA name
current-stats
Current session DB statistics.
history-stats
History DB statistics.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm delay-measurement mep 123 domain no_name ma 200
MEP : 123
MA : 200
 
VLAN ID : 10
Peer MAC Address : 0000.0010.0000
 
CURRENT:
======================
Measurement ID : 2
Measurement Type : DMM
Elapsed time(sec) : 30
Start Time : 2019 May 24 04:52:37
Min Frame Delay(usec) : 4
Max Frame Delay(usec) : 105
Avg Frame Delay(usec) : 81
Min Inter FD Variation(usec): 34
Max Inter FD Variation(usec): 34
Avg Inter FD Variation(usec): 19
 
FRAME DELAY BINS
Bin Number Bin Threshold(usec) Bin Counter
 
==================================================
1 0 - < 4999 3
2 5000 - < 9999 0
3 10000 - < Inf 0
 
INTER-FRAME DELAY BINS
Bin Number Bin Threshold(usec) Bin Counter
==================================================
1 0 - < 4999 2
2 5000 - < Inf 0
 
 
HISTORY STATISTICS
======================
MD : no_name
MA : 200
MEP : 123
VLAN ID : 10
Measurement ID : 1
Measurement Type : DMM
Elapsed time(sec) : 60
End Time : 2019 May 24 04:52:37
Min Frame Delay(usec) : 56
Max Frame Delay(usec) : 87
Avg Frame Delay(usec) : 67 Min Inter FD Variation(usec): 1 Max Inter FD Variation(usec): 31 Avg Inter FD Variation(usec): 12
 
FRAME DELAY BINS
Bin Number Bin Threshold(usec) Bin Counter
==================================================
1 0 - < 4999 5
2 5000 - < 9999 0
3 10000 - < Inf 0
 
INTER-FRAME DELAY BINS
Bin Number Bin Threshold(usec) Bin Counter
==================================================
1 0 - < 4999 4
2 5000 - < Inf 0
 
Table 1-1 explains the output fields.
 
Table 1-1: show ethernet cfm dm sessions
Field
Description
MEP
Local Maintenance End Point identifier
MA
Maintenance Association name
Vlan Id
Primary vlan identifier of MA
DM-Profile
delay measurement profile name
Peer MAC Address
Peer's MAC address
Measurement ID
Id of the current or history session for that particular measurement interval
Measurement Type
One way or two way DM
Elapsed time
Time still left to complete the measurement interval
Start time
Time when DM session started
Min frame delay
Minimum delay recorded
Max frame delay
Max delay recorded
Avg frame delay
Average delay calculated
Min Inter FD Variation
Minimum inter frame delay variation calculated
Max Inter FD Variation
Maximum inter frame delay variation calculated
Avg Inter FD Variation
Average inter frame delay variation calculated
FRAME DELAY BINS
Frame delay bin configuration
INTER-FRAME DELAY BINS
Inter frame delay bin configuration
Bin Number
Bin number for which the threshold and counter is configured
Bin Threshold
A bin's configured threshold value
Bin counter
The number of delays recorded in this range
RMEP Id
Peer's MEP Id
End time
The time when the Measurement Interval was completed.
MD
Maintenance domain name
 
show ethernet cfm delay-measurement profile
Use this command to display information about a specified delay measurement profile or all configured delay measurement profiles.
Command Syntax
show ethernet cfm delay-measurement profile (WORD|)
Parameters
WORD
Profile name.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#sh ethernet cfm delay-measurement profile dmm
Profile Name: dmm
Measurement-type - DMM
Measurement-interval - 1
Message-period - 10s
Number of intervals stored - 4
Bins per FD Interval - 4
Bins per IFDV Interval - 3
Frame Delay Bins
Bin Number Bin Threshold
1 0
2 1
3 4
Inter-Frame Delay Bins
Bin Number Bin Threshold
1 0
2 5000
 
Table 1-2 explains the output fields.
 
Table 1-2: show ethernet cfm delay-measurement profile
Field
Description
Profile Name
Loss measurement profile name
Measurement-type
DM session is one way or two way
Measurement-interval
message-period
Number of intervals stored
Bins per FD Interval
Bins per IFDV Interval
Frame Delay Bins
Number of Frame Delay bins configured
Inter-Frame Delay Bins
Number of Inter-Frame Delay bins configured
Bin number
Bin threshold
 
show ethernet cfm dm sessions
Use this command to display information about the delay measurement session.
Command Syntax
show ethernet cfm dm sessions
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm dm sessions
MEP-Id Status StartTime DM-Profile Mac-address Repetition Period(sec)
--------------------------------------------------------------------------------------
123 Active 2019/06/01 13:14:46 123 0018.236e.5eb5 60
 
Table 1-3 explains the output fields.
 
Table 1-3: show ethernet cfm dm sessions
Field
Description
MEP-Id
Local Maintenance End Point identifier
Status
Inactive: if delay measurement session is not started
Active: if delay measurement session is started
StartTime
Time when delay measurement session is started
DM-Profile
delay measurement profile name
Mac-address
MAC address
Repetition Period
Repetition time between measurement intervals in seconds
 
 
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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm errors domain 12345
Domain Name Level Vlan MEPID Defects
--------------------------------------------------------
12345 7 10 100 .....
 
 
Table 1-4 explains the output fields
Table 1-4: 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 eth-bn status
Display ETH-BN status for the MEP.
Command Syntax
show ethernet cfm eth-bn status
Parameters
None
Default
NA
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.0
Examples
OcNOS#show ethernet cfm eth-bn status
 
BNM status for interface xe9
------------------------------------
 
state : SIGNAL_NORMAL
Hold Time : 60
Restore Time : 90
Total BNM Receive Count : 0
Sender Address : 0000.0000.0000
Elapsed time in this state: 00:17:54
Nominal Bandwidth : 0
Current Bandwidth : 0
Lowest Bandwidth : 1250000000
Last BNM Received : NIL
BNM Period : 1
Hold Timer : Not Running
Wait-to-Restore Timer : Not Running
OcNOS#
 
show ethernet cfm frame-lm session
Use this command to display information about the frame loss measurement session.
Command Syntax
show ethernet cfm frame-lm session
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm frame-lm session
MEPID Status StartTime Lm-profile Mac-address Repetition Period(sec)
--------------------------------------------------------------------------------------
201 Active 2018/10/01 00:18:46 slm 0018.236e.5eb5 60
 
Table 1-5 explains the output fields.
Table 1-5: show ethernet cfm frame-lm session
Field
Description
MEPID
Maintenance End Point identifier
Status
Inactive: if loss measurement is not in progress
Active: otherwise
StartTime
When loss measurement started
Lm-profile
Loss measurement profile name
Mac-address
MAC address
Repetition Period
Repetition time between measurement intervals in seconds
 
show ethernet cfm lck details domain
Use this command to display a CFM lock user configuration.
Command Syntax
show ethernet cfm lck details domain DOMAIN_NAME ma MA_NAME mep MEPID
Parameters
domain
Specify domain.
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
Specify Maintenance association name
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.
mep
Specify mep
MEPID
Enter the MEPID ranging from <1-8191>
Command Mode
Exec mode
Default
None
Applicability
This command was introduced in OcNOS version 4.0.
Example
#show ethernet cfm lck details domain 12345 ma 200 mep 151
 
Maintenance Domain : 12345
Maintenance Association : 200
MEP ID : 151
LCK PDU state : Locked
LCK Message Level : 7
LCK PDU Interval : 1 min
LCK PDU Priority : 3
show ethernet cfm lck statistics
Use this command to display a CFM lock statistics for a MEP.
Command Syntax
show ethernet cfm lck statistics mep MEPID domain DOMAIN_NAME
Parameters
domain
Specify domain.
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
mep
Specify mep
MEPID
Enter the MEPID ranging from <1-8191>
Command Mode
Exec mode
Default
None
Applicability
This command was introduced in OcNOS version 4.0.
Example
#show ethernet cfm lck statistics mep 151 domain 12345
MPID MD Name MA Name Lck State Rx Status Tx Rx
-----------------------------------------------
151 12345 200 True False 7 0
 
 
 
show ethernet cfm loss-measurement mep
Use this command to display frame loss measurement statistics for a MEP.
Command Syntax
show ethernet cfm loss-measurement mep MEPID domain DOMAIN_NAME (ma-name MA_NAME)
Parameters
MEPID
Host 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
MA name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm loss-measurement mep 201 domain 12345 ma 43982
MEP: 201 MA: 43982 CURRENT:
Measurement ID : 3
Measurement Type : slm
Elapsed time(sec) : 51
Start Time : 2018 Nov 19 22:37:31
Near End loss : 0
Far End loss : 0
Near End accumulated loss : 0 Far End accumulated loss : 0
 
HISTORY:
 
Measurement ID : 1
Measurement Type : slm
Elapsed time(sec) : 60
End Time : 2018 Nov 19 22:36:31
Near End loss : 0
Far End loss : 0
Near End accumulated loss : 0
Far End accumulated loss : 0
 
Measurement ID : 2
Measurement Type : slm
Elapsed time(sec) : 60
End Time : 2018 Nov 19 22:37:31
Near End loss : 0
Far End loss : 0
Near End accumulated loss : 0
Far End accumulated loss : 0
Table 1-6 explains the output fields.
Table 1-6: show ethernet cfm loss-measurement mep  
Field
Description
MEP
Maintenance End Point identifier
MA
Maintenance Association name
CURRENT:
Current loss measurement statistics
HISTORY:
Historic loss measurement statistics
Measurement ID
Sequence number
Measurement Type
Elapsed time
Elapsed time in seconds
Start Time
Start time
End Time
End time
Near End loss
Near end loss
Far End loss
Far end loss
Near End accumulated loss
Near end accumulated loss
Far End accumulated loss
Far end accumulated loss
show ethernet cfm loss-measurement profile
Use this command to display information about a given loss measurement profile or all loss measurement profiles.
Command Syntax
show ethernet cfm loss-measurement profile WORD
Parameters
WORD
Profile name.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm loss-measurement profile slm
Profile Name:slm
measurement-type - slm
measurement-interval - 1
intervals-stored - 3
message-period - 1
 
Table 1-7 explains the output fields.
Table 1-7: show ethernet cfm loss-measurement profile
Field
Description
Profile Name
Loss measurement profile name
measurement-type
measurement-interval
intervals-stored
message-period
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 (mep <1-8191>| mep all|) (ma-name MA_NAME)
Parameters
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
<2-4094>
VLAN identifier
mep
Host MEP
<1-8191>
Host MEP identifier
all
All host MEPs
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 3.0.
Example
#show ethernet cfm ma status domain 12345 ma 43982
MA NAME VLAN STATUS
-------------------------------------------
43982 10 Active
 
#show ethernet cfm ma status domain 12345
 
MA NAME STATUS
-------------------------------
43981 Active
 
Table 1-8 explains the output fields.
Table 1-8: 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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
MA_NAME
Maintenance association name.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show ethernet cfm maintenance-points local mep domain 12345 ma 123
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 123
MPID Dir Lvl CC-Stat HW-Status CC-Intvl MAC-Address Def Port MD Name
 
200 Up 7 Enable Installed 3 ms 0018.23c8.f822 F xe15 12345
 
 
Table 1-9 explains the output fields.
Table 1-9: 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 3.0.
Example
#show ethernet cfm maintenance-points local mip level 7 ma 123
Level VID Type Port MAC-Address
------------------------------------------------------
7 10 MIP xe3 0018.23ea.da36
7 10 MIP xe5 0018.23ea.da38
 
Table 1-10 explains the output fields.
Table 1-10: 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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
MA_NAME
MA name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.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-11 explains the output fields.
Table 1-11: 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 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. Name must be of 5 characters if type is character-string otherwise no_name if domain-type is no-name1
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.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-12 explains the output fields.
Table 1-12: 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 ethernet cfm statistics bn
Use this command to display CFM Eth-BNM statistics.
Command Syntax
show ethernet cfm statistics bn
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
#show ethernet cfm statistics bn
MEPID Domain MA-Name RX-Frames Dropped-Frames WR-time-left
----------------------------------------------------------------------
100 12334 123 1000 1 11 sec
200 12341 234 1200 0 off
300 12421 123 1300 0 12 sec
show ethernet cfm statistics csf
Use this command to display CFM Eth-CSF statistics.
Command Syntax
show ethernet cfm statistics csf
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.2.
Example
#show ethernet cfm statistics csf
MEPID Domain MA-Name RX-Frames Dropped-Frames WR-time-left
----------------------------------------------------------------------
100 12334 123 1000 1 11 sec
200 12341 234 1200 0 off
300 12421 123 1300 0 12 sec
 
 
 
 
show ethernet cfm test-signal domain
Use this command to display ETH-Test receiver or generator statistics.
Command Syntax
show ethernet cfm test-signal domain DOMAIN_NAME ma MA_NAME mep MEPID stats (ctf|gtf)
Parameters
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
Specify Maintenance association name
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.
mep
Specify mep
MEPID
Enter the MEPID ranging from <1-8191>
stats
Display the statistics
ctf
Display ETH Test Frame Collector statistics
gtf
Display ETH Test Frame Generator statistics
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#show ethernet cfm test-signal domain 12345 ma 43982 mep 21 stats gtf
TST Session status : In-Progress
Elapsed Time(sec) : 36
MD : 12345
MA : 43982
MEP : 21
Peer MAC Address : 6cb9.c557.42d0
RMEP ID : 12
Start Time : 2019 Mar 01 10:23:11
Transmitted Packet Count : 2854713
 
show ethernet cfm test-signal profile
Use this command to display ETH-Test signal profile configuration.
Command Syntax
show ethernet cfm test-signal profile (WORD|)
Parameters
WORD
Specify the test signal profile name with max length of 64 characters
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#show ethernet cfm test-signal profile 123
Profile Name : 123
Is Receiver : False
Is Generator : True
Test-Signal Type : In-Service
Frame Size(bytes) : 124
Test Pattern Type : Null-Signal-Without-CRC-32
 
show ethernet cfm test-signal sessions
Use this command to display CFM test-signal session.
Command Syntax
show ethernet cfm test-signal sessions
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
OcNOS#show ethernet cfm test-signal sessions
MEP-Id Status StartTime Tst-Profile Peer MAC-Address
-------------------------------------------------------------------------------
 
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.0.
Example
OcNOS#show ethernet cfm traceroute-cache bridge 1
MEPID Dest mac Hops Relay-action
2 e8c5.7a91.f8c4 1 RlyHit
2 e8c5.7a91.f8c4 1 RlyHit
 
 
 
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 3.0.
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
lck state lock
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
!
 
test-signal frame-size
Use this command to configure an ETH test signal frame size which is applicable only for generator test signal mode.
Use no form of this command to delete the configured ETH test signal frame size.
Command Syntax
test-signal frame-size <68-9600>
no test-signal frame-size
Parameters
<68-9600>
Specify the frame size within the range
Command Mode
Configure CFM ETH test mode
Default
None
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#ethernet cfm test-signal profile-name 123
(config-cfm-eth-tst)#test-signal frame-size 124
 
(config-cfm-eth-tst)#no test-signal frame-size
 
test-signal mode
Use this command to enable an ETH test signal mode as generator or receiver or both.
Command Syntax
test-signal mode (generator|receiver|both)
Parameters
generator
The node will act as a ETH-TST frame generator
receiver
The node will act as a ETH-TST frame receiver
both
The node will act as both ETH-TST frame generator and receiver
Command Mode
Configure CFM ETH test mode
Default
The default test signal mode is receiver.
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#ethernet cfm test-signal profile-name 123
(config-cfm-eth-tst)#test-signal mode generator
 
test-signal pattern-type
Use this command to configure the TLV type to be encoded in ETH-Test PDU.
Use no form of this command to reset the TLV pattern type to default.
Command Syntax
test-signal pattern-type (null-sig|null-sig-crc32|prbs|prbs-crc32)
no test-signal pattern-type
Parameters
null-sig
Specify test pattern as a Null signal without CRC-32
null-sig-crc32
Specify test pattern as a Null signal with CRC-32
prbs
Specify test pattern as a PRBS 2^31-1 without CRC-32
prbs-crc32
Specify test pattern as a PRBS 2^31-1 with CRC-32
Command Mode
Configure CFM ETH test mode
Default
Default TLV pattern type is Null signal.
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#ethernet cfm test-signal profile-name 123
(config-cfm-eth-tst)#test-signal pattern-type null-signal
 
(config-cfm-eth-tst)#no test-signal pattern-type
test-signal start-time
Use this command to start the ETH-Test session.
Command Syntax
test-signal start-time (relative START-TIME | absolute START-TIME ) stop-time (relative STOP-TIME | absolute STOP-TIME) tst-profile-name WORD domain DOMAIN_NAME ma MA_NAME mep MEPID target (mac-address MAC|RMEPID)
Parameters
start-time
Specify Test session start time
relative
Specify Test session start time as relative
absolute
Specify Test session start time as absolute
START-TIME
 
Test session start time in minutes
stop-time
Specify Test session stop time
STOP-TIME
 
Test session stop time in minutes
tst-profile-name
 
 
Test session profile name
WORD
 
Specify test session profile name
domain
Specify domain.
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
Specify Maintenance association name
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.
mep
Specify mep
MEPID
Enter the MEPID ranging from <1-8191>
target
Specify target
mac-address
Unicast destination MAC address
MAC
MAC address in HHHH.HHHH.HHHH format
RMEPID
Enter the RMEP ID ranging from 1-8191
 
Command Mode
Exec mode
Default
None
Applicability
This command was introduced in OcNOS version 4.0.
Example
#test-signal start-time relative 0 stop-time relative 30 tst-profile-name 123 domain 12345 ma 43982 mep 21 target mac-address 6cb9.c557.42d0
test-signal test-type
Use this command to configure an ETH test signal test type is service interrupting or not.
Use no form of this command to delete the configured ETH test signal test type.
Command Syntax
test-signal test-type (in-service|out-of-service)
no test-signal test-type
Parameters
in-service
This indicates the ETH-Test is in-service and normal client service traffic is not interrupted
out-of-service
This indicates the ETH-Test is out-of-service and normal client service traffic is not disrupted
Command Mode
Configure CFM ETH test mode
Default
None
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#ethernet cfm test-signal profile-name 123
(config-cfm-eth-tst)#test-signal test-type in-service
(config-cfm-eth-tst)#no test-signal test-type
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. 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 and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.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 vpws ETH-2001
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
vpws
Use this command to create a service Maintenance Association (MA), with VPWS.
Command Syntax
vpws VCNAME
Parameters
VCNAME
Virtual circuit name with maximum length being 30
Command Mode
Ethernet CFM MA mode
Applicability
This command was introduced in OcNOS-SP version 6.1.0
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)#vpws ETH-2001
OcNOS(config-ether-cfm-ma)#ethernet cfm mep up mpid 103 active true vpws ETH-2001
 
 
wait-to-restore-timer <0-86400>
Use this command to configure/unconfigure Wait-to-restore timer for Eth-BNM and Eth-CSF. For Eth-BNM, nominal bandwidth will be set after the wait-to-restore timer expiry. When this command is enabled for Eth-CSF 'DCI' state is restored after wait-to-restore timer expiry.
Command Syntax
wait-to-restore-timer <TIME>
no wait-to-restore-timer <TIME>
Parameters
TIME
Wait-to-restore-timer <0-86400>
Default
Default is 10 seconds.
Command Mode
Ethernet CFM MEP BN and CFM MEP CSF mode
Applicability
This command was introduced in OcNOS version 5.0
Examples
OcNOS(config)#ethernet cfm domain-type character-string domain-name abcde level 5
OcNOS(config-ether-cfm)#service ma-type string ma-name 7
OcNOS(config-ether-cfm-ma)#vlan 10 bridge 10
OcNOS(config-ether-cfm-ma)#ethernet cfm mep down mpid 100 active true xe9
OcNOS(config-ether-cfm-ma-mep)#bn receive
OcNOS(config-ether-cfm-ma-mep-bn)#wait-to-restore-timer 90
OcNOS(config-ether-cfm-ma-mep-bn)#