Configuring testhead tool parameters

Example

The following is a sample port loopback MAC swap configuration output using the service and SAP.

configure> system> loopback-no-svc-port testhead <port-id>
*A:7210SAS>config>system# info 
----------------------------------------------
.............
resource-profile
            ingress-internal-tcam
                qos-sap-ingress-resource 5
                exit
                acl-sap-ingress 5
                exit
            exit
            egress-internal-tcam
            exit
        exit                          
        loopback-no-svc-port mac-swap 1/1/8 testhead 1/1/11
..............

Example

The following is a sample port loopback with MAC swap configuration output on the remote end.

*A:7210SAS# configure system loopback-no-svc-port mac-swap 1/1/8
*A:7210SAS# configure system 
*A:7210SAS>config>system# info 
----------------------------------------------
        alarm-contact-input 1
            shutdown
        exit
        alarm-contact-input 2
            shutdown
        exit
        alarm-contact-input 3
            shutdown
        exit
        alarm-contact-input 4
            shutdown
        exit
        resource-profile
            ingress-internal-tcam
                qos-sap-ingress-resource 5
                exit
                acl-sap-ingress 5
                exit
            exit
            egress-internal-tcam
            exit
        exit                          
        loopback-no-svc-port mac-swap 1/1/8 testhead 1/1/11
.................

Example

The following is a sample testhead profile configuration output.


*A:7210SAS# configure test-oam testhead-profile 1
*A:7210SAS>config>test-oam>testhd-prof# info
----------------------------------------------
description "Testhead_Profile_1"
            frame-size 512
            rate cir 100 adaptation-rule max pir 200
            dot1p in-profile 2 out-profile 4
            frame-payload 1 payload-type tcp-ipv4 create
                description "Frame_Payload_1"
                dscp "af11"
                dst-ip ipv4 10.2.2.2
                dst-mac 00:00:00:00:00:02
                src-mac 00:00:00:00:00:01
                dst-port 50
                src-port 40
                ip-proto 6
                ip-tos 8
                ip-ttl 64
                src-ip ipv4 10.1.1.1
            exit
acceptance-criteria 1 create
                jitter-rising-threshold 100
                jitter-rising-threshold-in 100
                jitter-rising-threshold-out 100
                latency-rising-threshold 100
                latency-rising-threshold-in 100
                latency-rising-threshold-out 100
                loss-rising-threshold 100
                loss-rising-threshold-in 100
                loss-rising-threshold-out 100
                cir-threshold 1000
                pir-threshold 2000
            exit

----------------------------------------------
*A:7210SAS>config>test-oam>testhd-prof# 

The following command is used to execute the testhead profile.

*A:7210SAS# oam testhead testhead-profile 1 frame-payload 1 sap 1/1/2 test-
me owner ownerme color-aware enable