Y.1564 Diagnostics

global
    - oam
        - testhead test-name [owner test-owner] testhead-profile profile-id [frame-payload frame-payload-id] sap sap-id [acceptance-criteria acceptance-criteria-id] [color-aware {enable | disable}] [performance-monitoring {enable | disable}]
        - testhead test-name owner test-owner stop
config
    - test-oam
        - testhead-marker-packet-src-mac mac-address
        - testhead-profile profile-id [create]
            - acceptance-criteria acceptance-criteria-id [create]
            - no acceptance-criteria acceptance-criteria-id 
                - cir-threshold cir-threshold
                - no cir-threshold 
                - jitter-rising-threshold threshold
                - no jitter-rising-threshold 
                - jitter-rising-threshold-in in-profile-threshold
                - no jitter-rising-threshold-in 
                - jitter-rising-threshold-out out-profile-threshold
                - no jitter-rising-threshold-out 
                - latency-rising-threshold threshold
                - no latency-rising-threshold 
                - latency-rising-threshold-in in-profile-threshold
                - no latency-rising-threshold-in 
                - latency-rising-threshold-out out-profile-threshold
                - no latency-rising-threshold-out 
                - loss-rising-threshold threshold
                - no loss-rising-threshold 
                - loss-rising-threshold-in in-profile-threshold
                - no loss-rising-threshold-in 
                - loss-rising-threshold-out out-profile-threshold
                - no loss-rising-threshold-out 
                - pir-threshold pir-threshold
                - no pir-threshold 
            - description description-string
            - no description 
            - frame-payload payload-id [payload-type [l2 | tcp-ipv4 | udp-ipv4 | ipv4]] [create]
            - no frame-payload payload-id
                - data-pattern hex-string
                - no data-pattern 
                - description description-string
                - no description 
                - [no] dscp dscp-name
                - dst-ip ipv4 ipv4-address
                - no dst-ip ipv4 
                - dst-mac ieee-address
                - no dst-mac
                - dst-port dst-port-number
                - no dst-port 
                - ethertype 0x0600..0xffff
                - no ethertype 
                - frame-size frame-size
                - no frame-size 
                - ip-proto ip-protocol-number
                - no ip-proto 
                - ip-tos type-of-service
                - no ip-tos 
                - ip-ttl ttl-value
                - no ip-ttl 
                - rate rate-in-kbs
                - no rate 
                - src-ip ipv4 ipv4-address
                - no src-ip 
                - src-mac ieee-address
                - no src-mac
                - src-port src-port-number
                - no src-port 
                - vlan-tag-1 vlan-id vlan-id [tpid tpid] [dot1p dot1p-value]
                - no vlan-tag-1
                - vlan-tag-2 vlan-id vlan-id [tpid tpid] [dot1p dot1p-value]
                - no vlan-tag-2
            - rate cir cir-rate-in-kbs [pir pir-rate-in-kbs]
            - no rate
            - [no] test-completion-trap-enable
            - test-duration {[hours hours] [minutes minutes] [seconds seconds]}
            - no test-duration
    - config
        - service
            - [no] epipe service-id [customer customer-id] [vpn vpn-id] [vc-switching]
                - sap sap-id [no-endpoint]
                    - loopback {line | internal} {timer seconds | persistent} [swap-src-dst-mac]
                    - no loopback