C9400-LC-24S ZPCBST Pass Uut Spirent Log
C9400-LC-24S ZPCBST Pass Uut Spirent Log
C9400-LC-24S ZPCBST Pass Uut Spirent Log
-----------------------------------------------------------------------------------
-------------
SNTtc Module - TC
Full Name: Spirent TestCenter
Version: 4.29.0
Build Date: September 13, 2017
-----------------------------------------------------------------------------------
-------------
Spirent TestCenter Automation Version 4.77.1796.0000
-----------------------------------------------------------------------------------
-------------
SNT>
SNT> config C9400-LC-24S_l2_1g.snt
SNT> config t
apply -breakportlocks true
SNT(config)> port create Ethernet 2
clear counter
SNT(config-prt-1)> port 1
SNT(config-prt-1)> reserve 10.79.155.202:3:3
SNT(config-prt-1)> port 2
show ports
SNT(config-prt-2)> reserve 10.79.155.202:3:4
SNT(config-prt-2)> end
SNT> apply -breakportlocks true
SNT> conf t
SNT(config)> port 1
SNT(config-prt-1)> stream create 5 eth-ip
SNT(config-prt-1-str-1-5)> stream 1
SNT(config-prt-1-str-1)> set FixedFrameLength 64
SNT(config-prt-1-str-1)> set load 12.00
SNT(config-prt-1-str-1)> stream 2
SNT(config-prt-1-str-2)> set FixedFrameLength 299
SNT(config-prt-1-str-2)> set load 20.00
SNT(config-prt-1-str-2)> stream 3
SNT(config-prt-1-str-3)> set FixedFrameLength 512
SNT(config-prt-1-str-3)> set load 20.00
SNT(config-prt-1-str-3)> stream 4
SNT(config-prt-1-str-4)> set FixedFrameLength 1518
SNT(config-prt-1-str-4)> set load 20.00
SNT(config-prt-1-str-4)> stream 5
SNT(config-prt-1-str-5)> set framelengthmode random
SNT(config-prt-1-str-5)> set maxframelength 1518
SNT(config-prt-1-str-5)> set minframelength 64
SNT(config-prt-1-str-5)> set load 20.00
SNT(config-prt-1-str-5)> stream all
SNT(config-prt-1-str-all)> set filltype prbs
SNT(config-prt-1-str-all)> set loadunit PERCENT_LINE_RATE
SNT(config-prt-1-str-all)> set ipv4.sourceAddr 11.11.11.11
SNT(config-prt-1-str-all)> set ipv4.destAddr 1.1.1.1
SNT(config-prt-1-str-all)> set eth.srcmac 00:00:00:00:00:01
SNT(config-prt-1-str-all)> set eth.dstmac 00:0D:0D:0D:0D:0D
SNT(config-prt-1-str-all)> mod add step ipv4.sourceAddr 5000 0.0.0.1
SNT(config-prt-1-str-all)> mod add step eth.srcMac 5000 1
SNT(config-prt-1-str-all)> exit
SNT(config-prt-1)> port 2
SNT(config-prt-2)> stream create 5 eth-ip
SNT(config-prt-2-str-1-5)> stream 1
SNT(config-prt-2-str-1)> set FixedFrameLength 64
SNT(config-prt-2-str-1)> set load 12.00
SNT(config-prt-2-str-1)> stream 2
SNT(config-prt-2-str-2)> set FixedFrameLength 299
SNT(config-prt-2-str-2)> set load 20.00
SNT(config-prt-2-str-2)> stream 3
SNT(config-prt-2-str-3)> set FixedFrameLength 512
SNT(config-prt-2-str-3)> set load 20.00
SNT(config-prt-2-str-3)> stream 4
SNT(config-prt-2-str-4)> set FixedFrameLength 1518
SNT(config-prt-2-str-4)> set load 20.00
SNT(config-prt-2-str-4)> stream 5
SNT(config-prt-2-str-5)> set framelengthmode random
SNT(config-prt-2-str-5)> set maxframelength 1518
SNT(config-prt-2-str-5)> set minframelength 64
SNT(config-prt-2-str-5)> set load 20.00
SNT(config-prt-2-str-5)> stream all
SNT(config-prt-2-str-all)> set filltype prbs
SNT(config-prt-2-str-all)> set loadunit PERCENT_LINE_RATE
SNT(config-prt-2-str-all)> set ipv4.sourceAddr 11.11.11.11
SNT(config-prt-2-str-all)> set ipv4.destAddr 1.1.1.1
SNT(config-prt-2-str-all)> set eth.srcmac 00:0E:00:00:00:01
SNT(config-prt-2-str-all)> set eth.dstmac 00:0D:0D:0D:0D:0D
SNT(config-prt-2-str-all)> mod add step ipv4.sourceAddr 5000 0.0.0.1
SNT(config-prt-2-str-all)> mod add step eth.srcMac 5000 1
SNT(config-prt-2-str-all)> exit
SNT(config-prt-2)> exit
SNT(config)> cond add p1top2s1 ${Stream:1:1:1:RxFrameCount} >= $
{Stream:1:1:1:TxFrameCount} * 0.99997
SNT(config)> cond add p1top2s2 ${Stream:1:2:1:RxFrameCount} >= $
{Stream:1:2:1:TxFrameCount} * 0.99997
SNT(config)> cond add p1top2s3 ${Stream:1:3:1:RxFrameCount} >= $
{Stream:1:3:1:TxFrameCount} * 0.99997
SNT(config)> cond add p1top2s4 ${Stream:1:4:1:RxFrameCount} >= $
{Stream:1:4:1:TxFrameCount} * 0.99997
SNT(config)> cond add p1top2s5 ${Stream:1:5:1:RxFrameCount} >= $
{Stream:1:5:1:TxFrameCount} * 0.99997
SNT(config)> cond add p1Tx ${Port:1:TxTotalFrameCount} >= 10000
SNT(config)> cond add p2top1s1 ${Stream:2:1:1:RxFrameCount} >= $
{Stream:2:1:1:TxFrameCount} * 0.99997
SNT(config)> cond add p2top1s2 ${Stream:2:2:1:RxFrameCount} >= $
{Stream:2:2:1:TxFrameCount} * 0.99997
SNT(config)> cond add p2top1s3 ${Stream:2:3:1:RxFrameCount} >= $
{Stream:2:3:1:TxFrameCount} * 0.99997
SNT(config)> cond add p2top1s4 ${Stream:2:4:1:RxFrameCount} >= $
{Stream:2:4:1:TxFrameCount} * 0.99997
SNT(config)> cond add p2top1s5 ${Stream:2:5:1:RxFrameCount} >= $
{Stream:2:5:1:TxFrameCount} * 0.99997
SNT(config)> cond add p2Tx ${Port:2:TxTotalFrameCount} >= 100000
SNT(config)> end
SNT> end
SNT> apply -breakportlocks true
SNT> SNT> SNT> Port Name Chassis:S:P Tech Media Speed Lnk Streams Load
LoadUnit
1+ Port:1 10.79.155.202:3:3 ETH FIBER 1000 UP 5 10.00 %LR
2+ Port:2 10.79.155.202:3:4 ETH FIBER 1000 UP 5 10.00 %LR
SNT>
SNT> clear counter
SNT> traffic start
Starting traffic...
SNT>
SNT> traffic stop
Stopping traffic...
SNT> traffic status
Traffic STOPPED
SNT>
SNT> show result detail p1top2s1
-----------------------------------------------------------------------------------
----------------
p1top2s1: ${Stream:1:1:1:RxFrameCount} >= ${Stream:1:1:1:TxFrameCount} * 0.99997 ->
PASSED
Stream:1:1:1:RxFrameCount = 6871560
Stream:1:1:1:TxFrameCount = 6871560
SNT>
SNT> clear config
SNT> show ports
No valid ports
SNT>
SNT> quit
Cleaning up the Spirent TestCenter module...
log4cplus:ERROR No appenders could be found for logger (user.scripting).
log4cplus:ERROR Please initialize the log4cplus system properly.
[gen-apollo@jpeapp27 snttc_linux4.77]$