13.3. CFM Commands
13.3.1. ethernet cfm enable
Command Purpose
Use this command to enable CFM globally. Use the no parameter to disable the CFM function on the bridge.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm enable
no ethernet cfm enable
Command Mode
Global Config.
Default
Disabled.
Usage
This command is used to enable CFM globally.
Examples
The following example shows how to enable and disable CFM globally:
Switch# configure terminal
Switch(config)# ethernet cfm enable
Switch(config)# no ethernet cfm enable
13.3.2. ethernet cfm domain level
Command Purpose
Use this command to create an MD within which you can manage Ethernet traffic or enter CFM domain mode. Ensure you specify the level for each MD. The levels separate MDs from each other and provide different areas of functionality.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm domain DOMAIN_NAME level LEVEL (format (no-md-name|string STRING|dns DNS_NAME|mac-address MAC_ADDRESS)| )
no ethernet cfm domain DOMAIN_NAME (level LEVEL| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
The first character should be a-z or A-Z, character only can be 0-9A-Za-z.-_ and the max len is 43 |
LEVEL |
MD level |
0 - 7 |
No-md-name |
There is no MD name when create maid of cfm packet |
- |
STRING |
Maintenance domain ASCII name, used to create maid of CFM packet |
The first character should be a-z or A-Z, character only can be 0-9A-Za-z.-_ and the max len is 43 |
DNS_NAME |
Maintenance domain DNS name, used to create maid of CFM packet |
The first character should be a-z or A-Z, character only can be 0-9A-Za-z.-_ and the max len is 43 |
MAC_ADDRESS |
Maintenance domain MAC-address with two octets name, used to create maid of CFM packet |
MAC-address and2-octet integer (H.H.H:U(0-65535), example:0001.0001.0001:1) |
Command Mode
Global Config.
Default
None
Usage
The valid range of MD is 0 - 7, the larger number indicates bigger maintenance domain.
For Y.1731 mode, domain format should be no-md-name
.
Examples
The following example shows how to create and destroy domain:
Switch# configure terminal
Switch(config)# ethernet cfm domain test level 5
Switch(config-ether-cfm)# exit
Switch(config)# no ethernet cfm domain test
Related Commands
None
13.3.3. service
Command Purpose
Use this command to create an MA within which you can create MEP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
service CSI_ID (vlan VLAN_ID|format(string STRING|icc-based ICC_NAME)| )
no service CSI_ID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
CSI_ID |
Maintenance association name |
The first character should be a-z or A-Z, character only can be 0-9A-Za-z.-_ and the max len is 43. MD (Maintenance domain) name and MA Maintenance Association) name totally up to 44 characters. |
VLAN_ID |
VLAN ID |
1 - 4094 |
STRING |
Maintenance association ASCII name, used to create maid of CFM packet |
The first character should be a-z or A-Z, character only can be 0-9A-Za-z.-_ and the max len is 43 |
ICC_NAME |
Maintenance association icc-based name, used to create maid of CFM packet |
The first character should be a-z or A-Z, character only can be 0-9A-Za-z.-_ and the max len is 13 |
Command Mode
Ethernet-Cfm Configuration
Default
None
Usage
For Y.1731 mode, format should be icc-based
or string
Examples
The following example shows how to create and remove MA:
Switch# configure terminal
Switch(config)# ethernet cfm domain test level 5
Switch(config-ether-cfm)# service cst vlan 30
Switch(config-ether-cfm)# no service cst
Related Commands
ethernet cfm domain DOMAIN_NAME level LEVEL
13.3.4. ethernet cfm mep
Command Purpose
Use this command to define an MEP within an MA. Each MEP and remote MEP must have a unique ID within an MA. If two or more MEPs share the same ID, CFM raises an event indicating a duplicate MEP exists in the MA.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm mep (down|up) mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) interval (1|2|3|4|5|6|7)
no ethernet cfm mep (down|up) mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
Down |
Down MEP |
- |
Up |
Up MEP |
- |
MEPID |
Local MEP ID |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID, the range is 1 to 4094 |
1 - 4094 |
1 |
CCM Interval 3.3 millisecond |
- |
2 |
CCM Interval 10 millisecond |
- |
3 |
CCM Interval 100 millisecond |
- |
4 |
CCM Interval 1 second |
- |
5 |
CCM Interval 10 second |
- |
6 |
CCM Interval 1 minute |
- |
7 |
CCM Interval 10 minutes |
- |
Command Mode
Interface Configuration.
Default
None
Usage
None
Examples
The following example shows how to create MEP:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# ethernet cfm mep down mpid 1 domain md1 vlan 2 interval 1
Related Commands
ethernet cfm domain DOMAIN_NAME level LEVEL
service CSI_ID (vlan VLAN_ID| )
13.3.5. ethernet cfm mep crosscheck mpid
Command Purpose
Use this command to define a remote MEP within an MA. Each MEP and remote MEP must have a unique ID within an MA. If two or more MEPs share the same ID, CFM raises an event indicating a duplicate MEP exists in the MA.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm mep crosscheck mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) (mac MAC| )
no ethernet cfm mep crosscheck mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MEPID |
The range is 1 to 8191 |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID, the range is 1 to 4094 |
1 - 4094 |
MAC |
Remote MEP MAC address |
MAC Address |
Command Mode
Interface Configuration.
Default
None
Usage
None
Examples
The following example shows how to create remote MEP:
Switch# configure terminal
Switch(config)# ethernet cfm domain test level 5
Switch(config-ether-cfm)# service cst vlan 30
Switch(config-ether-cfm)# exit
Switch(config)# interface eth-0-9
Switch(config-if)# ethernet cfm mep crosscheck mpid 8000 domain test vlan 30 mac 0.0.1
Related Commands
ethernet cfm domain DOMAIN_NAME level LEVEL
service CSI_ID (vlan VLAN_ID| )
13.3.6. ethernet cfm mip
Command Purpose
Use this command to define an MIP. The relative MD and MA should be configured before MIP is configured.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm mip level LEVEL vlan VLAN_ID
no ethernet cfm mip level LEVEL vlan VLAN_ID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
LEVEL |
MD level, the range is 0 to 7 |
1 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
Command Mode
Interface Configuration.
Default
None
Usage
None
Examples
The following example shows how to create MIP:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# ethernet cfm mip level 5 vlan 2
Related Commands
ethernet cfm domain DOMAIN_NAME level LEVEL
service CSI_ID (vlan VLAN_ID| )
13.3.7. ethernet cfm cc enable domain
Command Purpose
Use the command to enable continuity check for an MA.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm cc enable domain DOMAIN_NAME (vlan VLAN_ID| )
no ethernet cfm cc enable domain DOMAIN_NAME (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
Command Mode
Global Config.
Default
None
Usage
None
Examples
The following example shows how to enable CC:
Switch# configure terminal
Switch(config)# ethernet cfm cc enable domain test vlan 2
Related Commands
ethernet cfm domain DOMAIN_NAME level LEVEL
service CSI_ID (vlan VLAN_ID| )
13.3.8. ethernet cfm cc domain priority
Command Purpose
Use the command to define continuity check VLAN priority for an MA.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm cc domain DOMAIN_NAME (vlan VLAN_ID| ) priority VLAN_PRIORITY
no ethernet cfm cc domain DOMAIN_NAME (vlan VLAN_ID| ) priority
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
VLAN_PRIORITY |
VLAN priority The default value is 7 |
0 - 7 |
Command Mode
Global Config
Default
None
Usage
None
Examples
The following example shows how to configure vlan priority for CC message:
Switch# configure terminal
Switch(config)# ethernet cfm cc domain test vlan 2 priority 3
Related Commands
ethernet cfm domain DOMAIN_NAME level LEVEL
service CSI_ID (vlan VLAN_ID| )
ethernet cfm cc enable domain DOMAIN_NAME (vlan VLAN_ID| )
13.3.9. ethernet cfm loopback
Command Purpose
Use the command to issue CFM loopback messages for remote MEPID or multicast address and verify that remote MEPs are accessible.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm loopback (multicast|unicast rmepid RMEPID) mepid MEPID (domain DOMAIN_NAME|level LEVEL) ( vlan VLAN_ID| ) (repeat COUNT| ) (timeout TIMEOUT| ) ( priority PRIORITY| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
multicast |
Send multicast frame |
- |
unicast |
Send unicast frame |
- |
RMEPID |
Remote mep id |
1 - 8191 |
MEPID |
Source mep id |
1 - 8191 |
domain DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
level LEVEL |
MD level |
0 - 7 |
vlan VLAN_ID |
Vlan id |
1 - 4094 |
repeat COUNT |
Repeat count, the default value is 1 |
1 - 255 |
timeout TIMEOUT |
The value of timeout, the default value is 5 |
1 - 65535 seconds |
priority PRIORITY |
The value of VLAN priority |
0 - 7 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to start loopback:
Switch# ethernet cfm loopback multicast mepid 1 domain test vlan 2 repeat 3 timeout 5 priority 7
Related Commands
ethernet cfm mep (down|up) mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) interval (1|2|3|4|5|6|7)
ethernet cfm mep crosscheck mpid MEPID (vlan VLAN_ID| ) mac MAC
13.3.10. ethernet cfm loopback mac
Command Purpose
Use the command to issue CFM loopback messages for remote MEP or MIP mac address and verify that remote MEPs or MIPs are accessible.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm loopback mac MACADDRESS unicast mepid MEPID (domainDOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) (repeat COUNT| ) (timeout TIMEOUT| ) (priority PRIORITY | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MACADDRESS |
The remote mep mac address |
MAC Address |
MEPID |
The source local mep id and its range is 1 to 8191 |
1 - 8191 |
Domain DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
Level LEVEL |
MD level |
0 - 7 |
VLAN_ID |
Vlan id |
1 - 4094 |
Repeat COUNT |
Repeat count, the range is 1 to 255, the default value is 1 |
1 - 255 |
Timeout TIMEOUT |
The value of timeout, the default value is 5 |
1 - 65535 seconds |
Priority PRIORITY |
The value of VLAN priority |
0 - 7 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to start loopback:
Switch# ethernet cfm loopback mac 0.0.1 unicast mepid 1 domain test vlan 2 repeat 3 timeout 5 priority 7
Related Commands
ethernet cfm mep (down|up) mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) interval (1|2|3|4|5|6|7)
ethernet cfm mep crosscheck mpid MEPID (vlan VLAN_ID| ) mac MAC
13.3.11. ethernet cfm errors enable domain
Command Purpose
Use the command to configure reserve CCM errors. The default action is to reserve CCM errors.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm errors enable domain DOMAIN_NAME (vlan VLAN_ID| )
no ethernet cfm errors enable domain DOMAIN_NAME (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
Vlan id |
1 - 4094 |
Command Mode
Global Config.
Default
None
Usage
For every MEP, five latest errors will be reserved.
Examples
The following example shows how to configure reserve CCM errors:
Switch# configure terminal
Switch(config)# ethernet cfm errors enable domain test vlan 2
Related Commands
None
13.3.12. clear ethernet cfm errors
Command Purpose
Use the command to clear CFM errors for domain.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
clear ethernet cfm errors (domain DOMAIN_NAME|level LEVEL)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
domain DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
level LEVEL |
MD level |
0 - 7 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to clear CCM errors:
Switch# clear ethernet cfm errors domain test
Related Commands
None
13.3.13. ethernet cfm ais status enable
Command Purpose
Use the command to enable or disable AIS function and configure relative parameters.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm ais status enable (all|loc|mismerge|unexpected-mep|unexpected-meg-level|unexpected-period) domain DOMAIN_NAME (vlan VLAN_ID| )
level LEVEL (unicast RMEP_MAC|multicast) (cvlan VLAN_LIST| )
no ethernet cfm ais status enable (all|loc|mismerge|unexpected-mep|unexpected-meg-level|unexpected-period) domain DOMAIN_NAME (vlan VLAN_ID| )
level LEVEL (unicast RMEP_MAC|multicast)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
All |
AIS for all defect condition |
- |
LOC |
AIS for loss of continuity |
- |
Mismerge |
AIS for incorrect MEG ID |
- |
Unexpected-mep |
AIS for unexpected MEP ID received |
- |
Unexpected-meg-level |
AIS for incorrect MEG level |
- |
Unexpected-period |
AIS for mis-matched in period received |
- |
DOMAIN_NAME |
Maintenance domain name of the local MEP |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
LEVEL |
AIS packet will be sent in this MD level |
1 - 7 |
Unicast |
Unicast AIS frame to be sent |
|
RMEP_MAC |
The remote mep mac address |
|
Multicast |
Multicast AIS frame to be sent |
|
VLAN_LIST |
CVLAN ID of AIS packet |
1 - 4094 |
Command Mode
Interface Configuration.
Default
None
Usage
None
Examples
The following example shows how to configure ais:
Switch# configure terminal
Switch(config)# ethernet cfm ais status enable all domain test vlan 2 level 5 multicast
Related Commands
None
13.3.14. ethernet cfm ais suppress alarm enable domain
Command Purpose
Use the command to enable AIS suppress alarm. When this command is configured and AIS condition is enabled, the LOC errors will not be reported.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm ais suppress alarm enable domain DOMAIN_NAME ( vlan VLAN_ID| )
no ethernet cfm ais suppress alarm enable domain DOMAIN_NAME (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name of the local MEP |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
Command Mode
Global Config.
Default
None
Usage
None
Examples
The following example shows how to enable AIS suppress alarm:
Switch# configure terminal
Switch(config)# ethernet cfm ais suppress alarm enable domain test vlan 2
Related Commands
None
13.3.15. ethernet cfm server-ais status enable level
Command Purpose
Use this command to configure AIS server and parameters.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm server-ais status enable level LEVEL (interval (1|60))
no ethernet cfm server-ais status enable
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
LEVEL |
AIS packet will be sent in this MD level |
1 - 7 |
interval |
Transmission interval for AIS frames, the default value is 1 second |
1 - 60 seconds |
Command Mode
Interface Configuration.
Default
None
Usage
None
Examples
The following example shows how to configure AIS server:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# ethernet cfm server-ais status enable level 5 interval 60
Related Commands
None
13.3.16. show ethernet cfm domain
Command Purpose
Use the command to display information related to the configuration of MDs and MAs.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm domain DOMAIN_NAME
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display information related to the configuration of MDs and Mas:
Switch# show ethernet cfm domain test
Related Commands
None
13.3.17. show ethernet cfm maintenance-points
Command Purpose
Use the command to display information related to configuration of MEPs, remote MEPs, and MIPs.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show# ethernet cfm maintenance-points
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display information related to configuration of MEPs, remote MEPs, and MIPs:
Switch# show ethernet CFM maintenance-points
Related Commands
None
13.3.18. show ethernet cfm maintenance-points local
Command Purpose
Use the command to display information related to configuration of MEPs and MIPs.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm maintenance-points local (mep|mip) (interface IFNAME|domain DOMAIN_NAME|level LEVEL)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MEP |
Maintenance end point |
- |
MIP |
Maintenance intermediate point |
- |
IFNAME |
Interface name |
Support physical ports |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level |
0 - 7 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display information related to configuration of MEPs and MIPs:
Switch# show ethernet cfm maintenance-points local mep interface eth-0-1
Related Commands
None
13.3.19. show ethernet cfm maintenance-points remote
Command Purpose
Use the command to display information related to configuration of remote MEPs.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm maintenance-points remote (mpid MEPID|mac MAC| ) (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MEPID |
The remote MEP ID |
1 - 8191 |
MAC |
The remote MEP MAC address |
MAC Address |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level, the range is 0 to 7 |
0 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display information of remote MEP:
Switch# show ethernet cfm maintenance-points remote mpid 1 domain test
Related Commands
None
13.3.20. show ethernet cfm cc config
Command Purpose
Use the command to display information related to CC configuration.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm cc config
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display information related to CC configuration:
Switch# show ethernet cfm cc config
Related Commands
None
13.3.21. show ethernet cfm errors
Command Purpose
Use the command to display CFM error.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm errors (domain DOMAIN_NAME| level LEVEL| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level, the range is 0 to 7 |
0 - 7 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to display CFM error:
Switch# show ethernet cfm errors
Related Commands
None
13.3.22. show ethernet cfm ais mep
Command Purpose
Use the command to display ais configuration for local MEP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm ais mep MEPID domain DOMAIN_NAME(vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MEPID |
Local MEP ID, the range is 1 to 8191 |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display AIS configuration for local MEP:
Switch# show ethernet cfm ais mep 1 domain test vlan 2
Related Commands
None
13.3.23. show ethernet cfm
Command Purpose
Use the command to display CFM global information.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to CFM global information:
Switch# show ethernet cfm
Related Commands
None
13.3.24. ethernet cfm linktrace rmepid
Command Purpose
Use the command to issue CFM linktrace messages for remote MEP and discovery a path to remote MEP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm linktrace rmepid RMEPID (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) (ttl TTL|timeout TIMEOUT|priority PRIORITY|ltm-egress-identifier-tlv|sender-id-tlv|organization-specific-tlv)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
RMEPID |
Remote MEP ID |
1 - 8191 |
MEPID |
The source local MEP ID |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level, the range is 0 to 7 |
0 - 7 |
VLAN_ID |
Vlan id |
1 - 4094 |
TTL |
Maximum hops, the default value is 64 |
1 - 255 |
TIMEOUT |
The value of timeout, the default value is 5 |
1 - 65535 |
PRIORITY |
VLAN priority, the default value is 7 |
0 - 7 |
Ltm-egress-identifier-tlv |
LTM egress identifier TLV |
- |
Sender-id-tlv |
Sender ID TLV |
- |
Organization-specific-tlv |
Organization Specific TLV |
- |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to start linktrace:
Switch# ethernet cfm linktrace rmepid 1 mepid 2 domain test vlan 2 ttl 255 timeout 5 priority 7
Related Commands
ethernet cfm mep (down|up) mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) interval (1|2|3|4|5|6|7)
ethernet cfm mep crosscheck mpid MEPID (vlan VLAN_ID| ) (mac MAC| )
13.3.25. ethernet cfm linktrace mac
Command Purpose
Use the command to issue CFM linktrace messages for remote MEP or MIP MAC address and discovery a path to remote MEP or MIP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm linktrace mac MACADDRESS mepid MEPID (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) (ttl TTL|timeout TIMEOUT|priority PRIORITY| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MACADDRESS |
The remote MEP MAC address |
MAC Address |
MEPID |
The source local MEP ID |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level, the range is 0 to 7 |
0 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
TTL |
Maximum hops, the default value is 64 |
1 - 255 |
TIMEOUT |
The value of timeout, the default value is 5 |
1 - 65535 |
PRIORITY |
VLAN priority, the default value is 7 |
0 - 7 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to start linktrace:
Switch# ethernet cfm linktrace mac 7234.ef5a.2806 mepid 1 domain test vlan 2 ttl 255 timeout 5 priority 7
Related Commands
ethernet cfm mep (down|up) mpid MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) interval (1|2|3|4|5|6|7)
ethernet cfm mep crosscheck mpid MEPID (vlan VLAN_ID| ) (mac MAC| )
13.3.26. ethernet cfm linktrace cache enable
Command Purpose
Use the command to configure caching linktrace information. The default value is disabled.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm linktrace cache enable
no ethernet cfm linktrace cache enable
Command Mode
Global Config.
Default
Disabled
Usage
None
Examples
The following example shows how to configure caching linktrace information:
Switch# configure terminal
Switch(config)# ethernet cfm linktrace cache enable
Related Commands
None
13.3.27. ethernet cfm linktrace cache size
Command Purpose
Use the command to configure linktrace cache size.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm linktrace cache size ENTRIES
no ethernet cfm linktrace cache size
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ENTRIES |
Cache entry number, the default value is 100 |
1 - 65535 |
Command Mode
Global Config
Default
100
Usage
None
Examples
The following example shows how to configure linktrace cache size:
Switch# configure terminal
Switch(config)# ethernet cfm linktrace cache size 200
Related Commands
None
13.3.28. ethernet cfm linktrace cache holdtime
Command Purpose
Use the command to configure linktrace cache hold time.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm linktrace cache holdtime MINUTES
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MINUTES |
Cache entry hold time minutes, the default value is 60 minutes |
1 - 65535 minutes |
Command Mode
Global Config.
Default
60 minutes
Usage
None
Examples
The following example shows how to configure linktrace cache hold time:
Switch# configure terminal
Switch(config)# ethernet cfm linktrace cache holdtime 90
Related Commands
None
13.3.29. show ethernet cfm linktrace cache
Command Purpose
Use the command to display linktrace cache entries.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm linktrace cache
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display linktrace cache entries:
Switch# configure terminal
Switch(config)# ethernet cfm linktrace cache holdtime 90
Related Commands
None
13.3.30. clear ethernet cfm linktrace cache
Command Purpose
Use the command to clear linktrace cache.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
clear ethernet cfm linktrace cache
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to clear linktrace cache:
Switch# show ethernet cfm linktrace cache
Related Commands
None
13.3.31. ethernet cfm mip ccm-database size
Command Purpose
Use the command to configure MIP CCM database size.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm mip ccm-database size ENTRIES
no ethernet cfm mip ccm-database size
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ENTRIES |
Cache entry number, the range is 1 to 65535, the default value is 100 |
1 - 65535 |
Command Mode
Global Config.
Default
100
Usage
None
Examples
The following example shows how to configure MIP CCM database size:
Switch# configure terminal
Switch(config)# ethernet cfm mip ccm-database size 200
Related Commands
None
13.3.32. ethernet cfm mip ccm-database holdtime
Command Purpose
Use the command to configure MIP CCM-database hold time.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm mip ccm-database holdtime MINUTES
no ethernet cfm mip ccm-database holdtime
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MINUTES |
Mip CCM database hold time minutes, the range is 60 to 65535 minutes, the default value is 60 minutes |
1 - 65535 minutes |
Command Mode
Global Config.
Default
60 minutes.
Usage
None
Examples
The following example shows how to configure MIP CCM-database hold time:
Switch# configure terminal
Switch(config)# ethernet cfm mip ccm-database holdtime 90
Related Commands
None
13.3.33. show ethernet cfm mip ccm-database
Command Purpose
Use the command to display MIP CCM-database.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm mip ccm-database
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display MIP CCM-database:
Switch# show ethernet cfm mip ccm-database
Related Commands
None
13.3.34. clear ethernet cfm mip ccm-database
Command Purpose
Use the command to clear MIP CCM database.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
clear ethernet cfm mip ccm-database
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to clear MIP CCM database:
Switch# clear ethernet cfm mip ccm-database
Related Commands
None
13.3.35. ethernet cfm mode
Command Purpose
Use this command to configure CFM mode globally. Use the no parameter to configure CFM mode to 802.1ag.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm mode (dot1ag|y1731)
no ethernet cfm mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
dot1ag |
IEEE 802.1ag-2007 |
- |
y1731 |
ITU-T Y.1731 |
- |
Command Mode
Global Config
Default
IEEE 802.1ag-2007.
Usage
None
Examples
The following example shows how to configure CFM mode globally:
Switch# configure terminal
Switch(config)# ethernet cfm mode dot1ag
Switch(config)# no ethernet cfm mode
Related Commands
None
13.3.36. ethernet cfm raw-vlan
Command Purpose
Use this command to configure CFM raw-VLAN mode globally. Use the no parameter to configure CFM mode to non-raw-VLAN mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm raw-vlan
no ethernet cfm raw-vlan
Command Mode
Global Config.
Default
None
Usage
None
Examples
The following example shows how to configure CFM raw-VLAN mode globally:
Switch# configure terminal
Switch(config)# ethernet cfm raw-vlan
Switch(config)# no ethernet cfm raw-vlan
Related Commands
None
13.3.37. ethernet cfm lm enable dual-ended
Command Purpose
Use this command to enable dual-ended loss measurement.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm lm enable dual-ended (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) mepid MEPID (all-cos|per-cos|cos COS_VALUE) (stats-interval INTERVAL_VALUE| ) (cache-size CACHE_VALUE| )
no ethernet cfm lm enable dual-ended (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) mepid MEPID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level |
0 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
All-COS |
All packets with different COS will be counted together |
- |
Per-COS |
Packets with different COS will be counted separately |
- |
COS_VALUE |
Packets with specified COS will be counted. |
0 - 7 |
INTERVAL_VALUE |
After an interval, system will get counter values and calculate frame loss and frame loss ratio for near end and far end. After an interval, system will get counter values and calculate frame loss and frame loss ratio for near end and far end. The range is 1 to 10, unit is second, and the default value is 1. |
1 - 10 seconds |
CACHE_VALUE |
Cache entry number for lm results. Cache entry number for lm results. The default value is 128. |
1 - 512 |
Command Mode
Global Config
Default
None
Usage
None
Examples
The following example shows how to enable dual-ended loss measurement:
Switch# configure terminal
Switch(config)# ethernet cfm lm enable dual-ended domain md1 vlan 2 mepid 1 all-cos stats-interval 1 cache-count 256
Related Commands
None
13.3.38. ethernet cfm lm enable single-ended
Command Purpose
Use this command to enable single-ended loss measurement.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm lm enable single-ended (domain DOMAIN_NAME|level LEVEL ) (vlan VLAN_ID| ) mepid MEPID (all-cos|per-cos|cos COS_VALUE)
no ethernet cfm lm enable single-ended (domain DOMAIN_NAME| level LEVEL) (vlan VLAN_ID| ) mepid MEPID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level |
0 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
All-COS |
All packets with different cos will be counted together |
- |
Per-COS |
Packets with different cos will be counted separately |
- |
COS_VALUE |
Packets with specified cos will be counted. |
0 - 7 |
Command Mode
Global Config.
Default
None
Usage
None
Examples
The following example shows how to enable single-ended loss measurement:
Switch# configure terminal
Switch(config)# ethernet cfm lm enable single-ended domain md1 vlan 2 mepid 1 all-cos
Related Commands
None
13.3.39. ethernet cfm lm single-ended
Command Purpose
Use the command to issue CFM single-ended loss message messages.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm lm single-ended (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) rmepid RMEPID mepid MEPID (count COUNT| ) (interval (1|2|3|)| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
- |
LEVEL |
MD level |
0 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
RMEPID |
Remote MEP ID |
1 - 8191 |
MEPID |
Local MEP ID |
1 - 8191 |
COUNT |
Repeat count, the default value is 2 |
2 - 60 |
Interval |
LM Transmission interval, default value is 1 second. |
- |
1 |
LM Interval |
100 milliseconds |
2 |
LM Interval |
1 second |
3 |
LM Interval |
10 seconds |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following example shows how to issue CFM single-ended loss message messages:
Switch# ethernet cfm lm single-ended domain md1 vlan 2 rmepid 2 mepid 1 count 10 interval 1
Related Commands
None
13.3.40. show ethernet cfm lm
Command Purpose
Use the command to display dual-ended loss measurement results.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm lm domain DOMAIN_NAME (vlan VLAN_ID| ) mepid MEPID (cos COS_VALUE)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
COS_VALUE |
Display lm result for specified cos. Display lm result for specified COS. The default value is 0. |
0 - 7 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display dual-ended lm results:
Switch# show ethernet cfm lm domain md1 vlan 2 mepid 3
DOMAIN : md1
VLAN : 2
MEPID : 1
Start Time : 2023/07/15 9:00:09
End Time : 2023/07/15 9:00:09
Notes : 1. When the difference of Tx is less than the difference of Rx, the node is invalid, loss and loss ratio should be "-";
2. When loc is reported for mep, the loss should be "-" and loss ratio should be 100%;
3. When calculate average loss and loss ratio, invalid or loc nodes will be excluded;
Latest dual-ended loss statistics:
--------------------------------------------------------------------------------
Index Cos Local-loss Local-loss ratio Remote-loss Remote-loss ratio Time
--------------------------------------------------------------------------------
1 all 4 050.0000% 4 050.0000% 09:00:09
2 all - - - - 09:00:09
3 all 0 000.0000% 100 100.0000% 09:00:09
4 all 0 000.0000% 99 099.0000% 09:00:09
5 all 0 000.0000% 90 090.0000% 09:00:09
6 all 0 000.0000% 1 001.0000% 09:00:09
7 all 0 000.0000% 0 000.0000% 09:00:09
8 all - - - - 09:00:09
9 all 0 000.0000% 4294967039 099.9999% 09:00:09
10 all 0 000.0000% 510 099.8043% 09:00:09
11 all - 100.0000% - 100.0000% 09:00:09
12 all 0 000.0000% 0 000.0000% 09:00:09
13 all 4 050.0000% 4 050.0000% 09:00:09
14 all 4 050.0000% 4 050.0000% 09:00:09
--------------------------------------------------------------------------------
Maximum Local-loss : 4 Maximum Local-loss Ratio : 100.0000%
Minimum Local-loss : 0 Minimum Local-loss Ratio : 000.0000%
Average Local-loss : 1 Average Local-loss Ratio : 013.6363%
Maximum Remote-loss : 4294967039 Maximum Remote-loss Ratio : 100.0000%
Minimum Remote-loss : 0 Minimum Remote-loss Ratio : 000.0000%
Average Remote-loss : 390451622 Average Remote-loss Ratio : 058.1640%
Related Commands
None
13.3.41. ethernet cfm sd-reason
Command Purpose
Use the command to configure signal defect reasons. If dual-lm loss ration is greater than limit, log will be printed and trap will be reported.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm sd-reason (domain DOMAIN_NAME|level LEVEL ) (vlan VLAN_ID| ) mepid MEPID ratio RATIO_VALUE
no ethernet cfm sd-reason (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) mepid MEPID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
LEVEL |
MD level |
0 - 7 |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
RATIO_VALUE |
Dual-lm loss ratio limitation, the range is 1 to 1000, unit is one in a thousand, |
1 - 1000 |
Command Mode
Global Config.
Default
None
Usage
None
Examples
The following example shows how to enable SD-reason:
Switch# configure terminal
Switch(config)# ethernet cfm sd-reason domain md1 vlan 2 mepid 1 ratio 100
Related Commands
None
13.3.42. ethernet cfm (1dm|dmm)
Command Purpose
Use the command to issue CFM 1DM or DMM messages for remote MEPID, receive DMR from remote MEP, calculate and display frame delay.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm (1dm|dmm) rmepid RMEPID mepid MEPID count COUNT(domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) (priority PRIORITY|interval (1|2|3| )) (frame_size SIZE| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
RMEPID |
Remote MEP ID |
1 - 8191 |
MEPID |
Local MEP ID |
1 - 8191 |
COUNT |
Repeat count |
1 - 60 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
LEVEL |
MD level |
0 - 7 |
PRIORITY |
VLAN priority, the default value is 7 |
0 - 7 |
interval |
DM Transmission interval, default value is 1 second. |
- |
1 |
DM Interval, 100 milliseconds |
- |
2 |
DM Interval, 1 second |
- |
3 |
DM Interval, 10 seconds |
- |
SIZE |
The range of SIZE should be 64 bytes to 9600 bytes, the default value is 64 bytes. |
64 - 9600 bytes |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to issue CFM 1dm or dmm messages:
Switch# ethernet cfm dmm rmepid 1 mepid 2 count 5 domain md1 vlan 2 priority 3 interval 1
Related Commands
None
13.3.43. ethernet cfm (1dm|dmm) continual
Command Purpose
Use the command to issue CFM 1DM or DMM messages for remote MEPID periodically, receive DMR from remote MEP, calculate and display frame delay.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm (1dm|dmm ) continual rmepid RMEPID mepid MEPID (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ) (priority PRIORITY|interval (1|2|3|4|5| )) (frame_size SIZE| )
no ethernet cfm (1dm| dmm) continual rmepid RMEPID mepid MEPID (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
RMEPID |
Remote MEP ID |
1 - 8191 |
MEPID |
Local MEP ID |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
LEVEL |
MD level |
0 - 7 |
PRIORITY |
VLAN priority, the default value is 7 |
0 - 7 |
Interval |
DM Transmission interval, default value is 30 seconds. |
- |
1 |
DM Interval |
100 milliseconds |
2 |
DM Interval |
1 second |
3 |
DM Interval |
10 seconds |
4 |
DM Interval |
30 seconds |
5 |
DM Interval |
60 seconds |
SIZE |
The range of SIZE should be 64 bytes to 9600 bytes, the default value is 64 bytes. |
64 - 9600 bytes |
Command Mode
Interface Configuration.
Default
None
Usage
None
Examples
The following example shows how to issue CFM 1DM or DMM messages periodically:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# ethernet cfm dmm continual rmepid 1 mepid 2 domain md1 vlan 2 priority 3 interval 1
Related Commands
show ethernet cfm dmm continual mepid MEPID (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| )
13.3.44. show ethernet cfm dmm continual
Command Purpose
Use the command to display continual delaymeasurement statistics.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm dmm continual ((rmepid RMEPID mepid MEPID (domain DOMAIN_NAME|level LEVEL) (vlan VLAN_ID| ))| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
RMEPID |
Remote MEP ID |
1 - 8191 |
MEPID |
Local MEP ID |
1 - 8191 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
LEVEL |
MD level |
0 - 7 |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display continual delaymeasurement statistics:
Switch# show ethernet cfm dmm continual
Related Commands
None
13.3.45. ethernet cfm delaymeasurement cache enable
Command Purpose
Use the command to configure caching delaymeasurement information. The default value is enabled.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm delaymeasurement cache enable
no ethernet cfm delaymeasurement cache enable
Command Mode
Global Config.
Default
Enabled
Usage
None
Examples
The following example shows how to configure delaymeasurement cache enable:
Switch# configure terminal
Switch(config)# ethernet cfm delaymeasurement cache enable
Related Commands
None
13.3.46. ethernet cfm delaymeasurement cache size
Command Purpose
Use the command to configure delaymeasurement cache size.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm delaymeasurement cache size ENTRIES
no Ethernet cfm delaymeasurement cache size
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
ENTRIES |
Cache entry number, the default value is 1000 |
1 - 65535 |
Command Mode
Global Config.
Default
1000
Usage
None
Examples
The following example shows how to configure delaymeasurement cache size:
Switch# configure terminal
Switch(config)# ethernet cfm delaymeasurement cache size 100
Related Commands
None
13.3.47. show ethernet cfm delaymeasurement cache
Command Purpose
Use the command to display delaymeasurement cache entries.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm delaymeasurement cache
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display delaymeasurement cache entries:
Switch# show ethernet cfm delaymeasurement cache
Related Commands
None
13.3.48. clear ethernet cfm delaymeasurement cache
Command Purpose
Use the command to clear delaymeasurement cache entries.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
clear ethernet cfm delaymeasurement cache
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to clear delaymeasurement cache entries:
Switch# clear ethernet cfm delaymeasurement cache
Related Commands
None
13.3.49. ethernet cfm csf
Command Purpose
Use this command to configure CSF (client signal fail) relation between client MEP and server MEP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm csf client domain CLI_DOMAIN_NAME (vlan CLI_VLAN_ID| ) mepid CLI_MEPID server domain SRV_DOMAIN_NAME (vlan SRV_VLAN_ID| ) mepid SRV_MEPID (tx-interval (1|60)| )
no ethernet cfm csf client domain CLI_DOMAIN_NAME (vlan CLI_VLAN_ID| ) mepid CLI_MEPID server domain SRV_DOMAIN_NAME (vlan SRV_VLAN_ID| ) mepid SRV_MEPID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
CLI_DOMAIN_NAME |
Client maintenance domain name |
String with up to 43 characters |
CLI_VLAN_ID |
Client VLAN ID |
1 - 4094 |
CLI_MEPID |
Client local MEP ID |
1 - 8191 |
SRV_DOMAIN_NAME |
Server maintenance domain name |
String with up to 43 characters |
SRV_VLAN_ID |
Server VLAN ID |
1 - 4094 |
SRV_MEPID |
Server local MEP ID |
1 - 8191 |
Tx-interval |
Transmission interval of CSF message, the default value is 60 seconds |
1 or 60 seconds |
Command Mode
Global Config
Default
None
Usage
None
Examples
The following example shows how to configure CSF relation:
Switch# configure terminal
Switch(config)# ethernet cfm csf client domain cust vlan 30 mepid 88 server domain provid vlan 20 mepid 666 tx-interval 1
Related Commands
None
13.3.50. show ethernet cfm csf
Command Purpose
Use the command to display CSF relation and status.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm csf
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display CSF:
Switch# show ethernet cfm csf
CTR-Client Trigger reason, L(los)/F(fdi)/R(rdi)/N(null)
ECC-Enter CSF Condition, Y(Yes)/N(No)
SRR-Server Rx Reason, L(los)/F(fdi)/R(rdi)/D(dci)/N(null)
Tx-I, Transmit Interval
Rx-I, The period which is gotten from LCK packets
Client Mep Server Mep
MPID Cli-Domain VLAN CTR ECC MPID Srv-Domain VLAN SRR Tx-I Rx-I
1003 md1234567890 3001 L/F/R Y 1004 md1234567890 2001 L/F/R 1 1
Related Commands
None
13.3.51. ethernet cfm lck enable
Command Purpose
Use this command to lock data packets for MEP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm lck enable mep MEPID domain DOMAIN_NAME (vlan VLAN_ID| ) tx-level TX_LEVEL ({tx-interval (1|60)|cvlan VLAN_LIST}| )
no ethernet cfm lck enable mep MEPID domain DOMAIN_NAME ( vlan VLAN_ID| )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
TX_LEVEL |
Transmission level of LCK message |
0 - 7 |
Tx-interval |
Transmission interval of LCK message, the default value is 60 seconds |
1 or 60 seconds |
VLAN_LIST |
CVLAN ID of LCK packet |
1 - 4094 |
Command Mode
Interface Configuration
Default
None
Usage
None
Examples
The following example shows how to enable lock data packets for MEP:
Switch# configure terminal
Switch(config)# ethernet cfm lck enable domain md1 vlan 2 mepid 1 tx-level 5 tx-interval 1
Related Commands
None
13.3.52. show ethernet cfm lck
Command Purpose
Use the command to display LCK information.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm lck
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display lck information:
Switch# show ethernet cfm lck
En-LCK Enable, Y(Yes)/N(No)
Rx-LC, Receive LCK packets and enter LCK condition, Y(Yes)/N(No)
Rx-I, The period which is gotten from LCK packets
Tx-Domain, frames with ETH-LCK information are sent to this Domain
Tx-I, Transmit Interval
MPID Domain VLAN En Rx-LC Rx-I Tx-Domain Tx-I
1001 md1234567890 3001 Y N N/A md1234567891 1
Related Commands
None
13.3.53. show ethernet cfm lm brief
Command Purpose
Use the command to display all MEPs which are enabled loss measurement.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm lm brief
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to display LM brief information:
Switch# show ethernet cfm lm brief
------------------------------------------
MPID Domain VLAN LM-En
------------------------------------------
1 md1 2 dual-lm-enabled
5 md1 2 single-lm-enabled
Related Commands
None
13.3.54. ethernet cfm tst transmission enable
Command Purpose
Use this command to enable test transmission enable.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm tst transmission enable session SESSION_ID domain DOMAIN_NAME (vlan VLAN_ID| ) mep MEPID tx-mode (fixed pkt-num NUMBER|continuous) ({pattern-type (repeat VALUE|random|increment-byte|decrement-byte)|packet-size PACKET_SIZE|dest-mac(multicast|MACADDRESS)}| )
no ethernet cfm tst transmission enable session SESSION_ID domain DOMAIN_NAME (vlan VLAN_ID| ) mepid MEPID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SESSION_ID |
Session ID |
1 - 4 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
NUMBER |
Transmission packet number |
1 - 65535 |
VALUE |
The value of repeat pattern type, the range is 0 to 0xFFFFFFFF |
0 - 0xFFFFFFFF |
PACKET_SIZE |
Transmission packet size, the range is 64 bytes to 16027 bytes, default is 512 bytes |
64 - 16027 bytes |
Multicast |
The destination MAC address of TST packets should be multicastaddress, default is multicast |
- |
MACADDRESS |
The destination MAC address of TST packets should be unicast mac address |
- |
Command Mode
Global Config.
Default
None
Usage
None
Examples
The following example shows how to enable maintenance domain TST for MEP:
Switch# configure terminal
Switch(config)# ethernet cfm tst transmission enable domain md1 vlan 2 mepid 1 tx-mode continuous pattern-type random packet-size 1518
Related Commands
None
13.3.55. ethernet cfm tst start/stop
Command Purpose
Use this command to start or stop test transmission.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm tst start session SESSION_ID rate RATE time (cos COS_VALUE| ) (second SECOND|1m|15m|2h|24h) (tx_port TX_PORT| )
ethernet cfm tst stop
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
SESSION_ID |
Session ID |
1-4 |
RATE |
Transmission rate, the range is 1 to 10000, unit is Mbps |
1 - 10000 mbps |
COS_VALUE |
VLAN priority, default value is 7 |
0 - 7 |
SECOND |
Transmission time from 1 second to 60 seconds |
1 - 60 seconds |
15m |
Transmission time for every rate is 15 minutes |
- |
2h |
Transmission time for every rate is 2 hours |
- |
24h |
Transmission time for every rate is 24 hours |
- |
TX_PORT |
Transmission port, only valid for up mep |
- |
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The following example shows how to start test transmission for MEP:
Switch# configure terminal
Switch(config)# ethernet cfm tst start session 2 rate 10 time second 1
Switch# configure terminal
Switch(config)# ethernet cfm tst start time second 1
Related Commands
None
13.3.56. ethernet cfm tst reception enable
Command Purpose
Use this command to enable test packet reception.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
ethernet cfm tst reception enable session SESSION_ID domain DOMAIN_NAME (vlan VLAN_ID| ) mepid MEPID
no ethernet cfm tst reception enable session SESSION_ID domain DOMAIN_NAME (vlan VLAN_ID| ) mepid MEPID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
Session |
Session ID |
1 - 4 |
DOMAIN_NAME |
Maintenance domain name |
String with up to 43 characters |
VLAN_ID |
VLAN ID |
1 - 4094 |
MEPID |
Local MEP ID |
1 - 8191 |
Command Mode
Global Config
Default
None
Usage
Test transmission and reception must be configured on the same MEP.
Examples
The following example shows how to enable test reception for MEP:
Switch# configure terminal
Switch(config)# ethernet cfm tst reception enable session 1 domain md1 vlan 2 mep 1
Switch# configure terminal
Switch(config)# ethernet cfm tst reception enable domain md1 vlan 2 mepid 1
Related Commands
None
13.3.57. show ethernet cfm tst
Command Purpose
Use the command to display test information.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show ethernet cfm tst
Command Mode
Privileged EXEC.
Default
None
Usage
None
Examples
The sending side test information:
Switch# show ethernet cfm tst
DOMAIN : md1
VLAN : 2
MEPID : 2
Transmission : Disabled
Reception : Enabled
Status : Non-Running
Start Time : null
End Time : null
Packet Type : null
Rate : null
Packet Size : null
Tx Number : 0
Tx Bytes : 0
Rx Number : 28
Rx Bytes : 1792
Related Commands
None
13.3.58. clear ethernet cfm tst counters
Command Purpose
Use the command to clear test counters.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
clear ethernet cfm tst counters
Command Mode
Privileged EXEC.
Default
None
Usage
When test transmission is running, can’t clear ethernet cfm test counters.
Examples
The following example shows how to clear test counters:
Switch# clear ethernet cfm tst counters
Related Commands
None