This feature is only supported on the 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C.
*A:Dut-B# configure test-oam frame-mix 1 create
*A:Dut-B>config>test-oam>frame-mix# info detail
----------------------------------------------
no size-a
no size-b
no size-c
no size-d
no size-e
no size-f
no size-g
no size-h
no size-u
----------------------------------------------
*A:Dut-B>config>test-oam>frame-mix#
In the following example, fixed-sized frames are used. The device provides an option to configure a stream with frames of different frame sizes using the frame-mix option shown in the preceding example.
*A:Dut-B>config>test-oam>fr-payld# info detail
----------------------------------------------
description "Frame_Payload_1"
no data-pattern
no dscp
no dst-ip
dst-mac 00:00:00:00:00:02
src-mac 00:00:00:00:00:01
no dst-port
no src-port
no ethertype
no ip-proto
no ip-tos
no ip-ttl
no src-ip
no vlan-tag-1
no vlan-tag-2
----------------------------------------------
*A:Dut-B>config>test-oam>fr-payld#
*A:Dut-B# configure test-oam acceptance-criteria 1
*A:Dut-B>config>test-oam>acc-criteria# info detail
----------------------------------------------
description "Acceptance_Criteria_1"
jitter-rising-threshold 0
no jitter-rising-threshold-in
no jitter-rising-threshold-out
latency-rising-threshold 45
no latency-rising-threshold-in
no latency-rising-threshold-out
loss-rising-threshold 0
no loss-rising-threshold-in
no loss-rising-threshold-out
cir-threshold 199990
pir-threshold 249750
use-m-factor 1000
----------------------------------------------
*A:Dut-B>config>test-oam>acc-criteria#
*A:Dut-B>config>test-oam># service-test 1
*A:Dut-B>config>test-oam>serv-test# info detail
----------------------------------------------
description "Service_Test_1"
stream-run-type ordered
no test-completion-trap-enable
no collect-stats
no accounting-policy
test-duration cir minutes 1
test-duration cir-pir minutes 3
service-stream 1 create
description "Stream_1"
no fc
frame-payload 1
acceptance-criteria 1
sap 1/1/2
no wait-timeout
frame-size fixed-size 512
rate cir 200000 cir-adaptation-rule min pir 250000 pir-adaptation-
rule closest
no dot1p
test-type cir
no shutdown
exit
service-stream 2 create
description "Stream_2"
no fc
frame-payload 1
acceptance-criteria 1
sap 1/1/2
no wait-timeout
frame-size fixed-size 512
rate cir 200000 cir-adaptation-rule min pir 250000 pir-adaptation-
rule closest
no dot1p
test-type cir
shutdown
exit
service-stream 3 create
description "Stream_3"
no fc
frame-payload 1
acceptance-criteria 1
sap 1/1/2
no wait-timeout
frame-size fixed-size 512
rate cir 200000 cir-adaptation-rule min pir 250000 pir-adaptation-
rule closest
no dot1p
test-type cir
shutdown
exit
service-stream 4 create
description "Stream_4"
no fc
frame-payload 1
acceptance-criteria 1
sap 1/1/2
no wait-timeout
frame-size fixed-size 512
rate cir 200000 cir-adaptation-rule min pir 250000 pir-adaptation-
rule closest
no dot1p
test-type cir
shutdown
exit
no shutdown
----------------------------------------------
*A:Dut-B>config>test-oam>serv-test#
*A:Dut-B# oam service-test 1 start
INFO: CLI service test 1 started. instance is 3.
*A:Dut-B# show test-oam service-test 1 results
===============================================================================
Y.1564 service test 1 instance 3 results
===============================================================================
Service test id : 1 Run instance : 3
Status : finished Stopped : no
Start Time : 06/17/2018 04:16:01 End Time : 06/17/2018 04:19:06
Test result : pass Total time ta*: 0d 00:03:05
===============================================================================
* indicates that the corresponding row element may have been truncated.
===============================================================================
Y.1564 service test 1 stream 1
===============================================================================
Stream Id : 1 Desc : Stream_1
SAP : 1/1/2 FC : be
Accept. Crit. : 2 Frame Payload : 1
Frame size : 512
Cir : 200000 adaptation : min
Pir : 250000 adaptation : closest
Tests : cir
===============================================================================
===============================================================================
Y.1564 service test 1 stream 1 instance 3 test-type cir results
===============================================================================
Start Time : 06/17/2018 04:16:01 End Time : 06/17/2018 04:19:06
Time taken : 0d 00:03:05 Stopped : no
-------------------------------------------------------------------------------
Packet Count And Roundtrip Latency Results
-------------------------------------------------------------------------------
Total Pkts Injected: 8788729
Total Pkts Received: 8788729
Min Latency(us): 34
Max Latency(us): 53
Average Latency(us): 34
M-Factor(kbps): 1000
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Test Compliance Report
-------------------------------------------------------------------------------
Criteria : thruput(kbps) FLR(10000th%) latency(us) jitter(us)
acceptable : 199990 0 45 0
configured : 200000 0 45 0
measured : 199992 0 34 0
result : Pass Pass Pass Pass
-------------------------------------------------------------------------------
The following output is an example of an overview of all the service test results using results-summary.
A:Dut-B# show test-oam service-test 1 results-summary
-------------------------------------------------------------------------------
Y.1564 service test 1 results
-------------------------------------------------------------------------------
Run Inst. |Svc | | | | | | | | |
/SAP |Str |Test |Start time |End time |S|R|B|F|L|J
-------------------------------------------------------------------------------
2 - - 06/17/2018 04:14:57 06/17/2018 04:15:54 |Y|P|P|P|P|P
1/1/2 1 cir 06/17/2018 04:14:57 NA |Y|P|P|P|P|P
-------------------------------------------------------------------------------
3 - - 06/17/2018 04:16:01 06/17/2018 04:19:06 |N|P|P|P|P|P
1/1/2 1 cir 06/17/2018 04:16:01 NA |N|P|P|P|P|P
-------------------------------------------------------------------------------
S - test stopped - Yes/No;
R - Result for all tests - Pass/Fail/NA;
B - Bandwidth/Throughput measured - Pass/Fail/NA;
F - Frame Loss Ratio(FLR) measured - Pass/Fail/NA;
L - Latency measured - Pass/Fail/NA;
J - Jitter measured - Pass/Fail/NA;
-------------------------------------------------------------------------------