ETH-CFM Commands

global
    - oam
        - eth-cfm
            - eth-test mac-address mep mep-id domain md-index association ma-index [priority priority] [data-length data-length] 
            - linktrace mac-address mep mep-id domain md-index association ma-index [ttl ttl-value]
            - loopback mac-address mep mep-id domain md-index association ma-index [send-count send-count] [size data-size] [priority priority]
            - one-way-delay-test mac-address mep mep-id domain md-index association ma-index [priority priority] 
            - single-ended-loss-test mac-address mep mep-id domain md-index association ma-index [priority priority] [interval {100ms | 1s}] [send-count send-count]
            - two-way-delay-test mac-address mep mep-id domain md-index association ma-index [priority priority] 
            - two-way-slm-test mac-address mep mep-id domain md-index association ma-index [priority priority] [send-count send-count] [size data-size] [timeout timeout] [interval interval]
config
    - eth-cfm 
        - domain md-index [format {dns | mac | none | string}] name md-name level level
        - domain md-index
        - no domain md-index
            - association ma-index [format {icc-based | integer | string | vid | vpn-id}] name ma-name
            - association ma-index
            - no association ma-index
                - [no] bridge-identifier bridge-id
                    - vlan vlan-id
                    - no vlan
                - ccm-interval {10ms | 100ms | 1 | 10 | 60 | 600}
                - no ccm-interval 
            - [no] remote-mepid mep-id
        - slm 
            - inactivity-timer timeout
            - no inactivity-timer
config
    - [no] port {port-id}
        - ethernet
            - cfm-loopback priority {low | high | dot1p} [match-vlan {vlan-range | none}]
            - no cfm-loopback 
config
    - service
        - epipe service-id [customer customer-id] [create] [vpn vpn-id]
            - sap sap-id [create]
                - eth-cfm
                    - [no] hold-mep-up-on-failure 
                    - mep mep-id domain md-index association ma-index [direction {up | down}]
                    - no mep mep-id domain md-index association ma-index
                        - [no] ais-enable
                            - client-meg-level [level [level ...]]
                            - no client-meg-level
                            - interval [1 | 60]
                            - no interval
                            - priority priority-value
                            - no priority
                        - [no] ccm-enable
                        - ccm-ltm-priority priority
                        - no ccm-ltm-priority
                        - description description-string
                        - no description
                        - [no] dual-ended-loss-test-enable
                            - alarm-clear-threshold percentage
                            - no alarm-clear-threshold
                            - alarm-threshold percentage
                            - no alarm-threshold
                        - [no] eth-test-enable
                            - bit-error-threshold bit-errors
                            - test-pattern {all-zeros | all-ones} [crc-enable]
                            - no test-pattern
                        - low-priority-defect {allDef | macRemErrXcon | remErrXcon | errXcon | xcon | noXcon}
                        - one-way-delay-threshold seconds
                        - [no] shutdown
            - spoke-sdp sdp-id:vc-id [vc-type {ether | vlan}] [create] [no-endpoint]
            - spoke-sdp sdp-id:vc-id [vc-type {ether | vlan}] [create] endpoint endpoint-name
                - eth-cfm
                    - mep mep-id domain md-index association ma-index [direction {up | down}]
                    - no mep mep-id domain md-index association ma-index
                        - [no] ccm-enable
                        - ccm-ltm-priority priority
                        - no ccm-ltm-priority
                        - description description-string
                        - no description
                        - low-priority-defect {allDef | macRemErrXcon | remErrXcon | errXcon | xcon | noXcon}
                        - [no] shutdown
config
    - service
        - vpls service-id [customer customer-id] [create]
            - sap sap-id [create]
                - eth-cfm
                    - mep mep-id domain md-index association ma-index [direction {up | down}]
                    - no mep mep-id domain md-index association ma-index
                        - [no] ais-enable
                            - client-meg-level [level [level ...]]
                            - no client-meg-level
                            - interval [1 | 60]
                            - no interval
                            - priority priority-value
                            - no priority
                        - [no] ccm-enable
                        - ccm-ltm-priority priority
                        - no ccm-ltm-priority
                        - description description-string
                        - no description
                        - [no] eth-test-enable
                            - bit-error-threshold bit-errors
                            - test-pattern {all-zeros | all-ones} [crc-enable]
                            - no test-pattern 
                        - low-priority-defect {allDef | macRemErrXcon | remErrXcon | errXcon | xcon | noXcon}
                        - mac-address mac-address
                        - no mac-address
                        - one-way-delay-threshold seconds
                        - [no] shutdown
            - mesh-sdp sdp-id[:vc-id] [vc-type {ether | vlan}] [create]
                - eth-cfm
                    - mep mep-id domain md-index association ma-index [direction {up | down}]
                    - no mep mep-id domain md-index association ma-index
                        - [no] ccm-enable
                        - ccm-ltm-priority priority
                        - no ccm-ltm-priority
                        - description description-string
                        - no description
                        - low-priority-defect {allDef | macRemErrXcon | remErrXcon | errXcon | xcon | noXcon}
                        - [no] shutdown
            - spoke-sdp sdp-id:vc-id [vc-type {ether | vlan}] [split-horizon-group group-name] [create] [no-endpoint]
            - spoke-sdp sdp-id:vc-id [vc-type {ether | vlan}] [split-horizon-group group-name] [create] endpoint endpoint-name
                - eth-cfm
                    - mep mep-id domain md-index association ma-index [direction {up | down}]
                    - no mep mep-id domain md-index association ma-index
                        - [no] ccm-enable
                        - ccm-ltm-priority priority
                        - no ccm-ltm-priority
                        - description description-string
                        - no description
                        - low-priority-defect {allDef | macRemErrXcon | remErrXcon | errXcon | xcon | noXcon}
                        - [no] shutdown
config
    - router [router-name]
        - interface ip-int-name
            - eth-cfm
                - mep mep-id domain md-index association ma-index
                - no mep mep-id domain md-index association ma-index
                    - [no] ccm-enable
                    - ccm-ltm-priority priority
                    - no ccm-ltm-priority
                    - ccm-tlv-ignore [port-status] [interface-status]
                    - no ccm-tlv-ignore 
                    - description description-string
                    - no description
                    - [no] dual-ended-loss-test-enable
                        - alarm-threshold percentage
                        - no alarm-threshold
                        - alarm-clear-threshold percentage
                        - no alarm-clear-threshold
                    - [no] eth-test-enable
                        - bit-error-threshold bit-errors
                        - [no] test-pattern {all-zeros | all-ones} [crc-enable]
                    - low-priority-defect {allDef | macRemErrXcon | remErrXcon | errXcon | xcon | noXcon}
                    - one-way-delay-threshold seconds
                    - [no] shutdown