Printer FriendlyEmail Article Link

Spirent TestCenter: How to very ping Connectivity by using API?

Environment/Versions
  • Spirent TestCenter
  • API
Answer

Use command:PingVerifyConnectivity


For example:
% stc::perform PingVerifyConnectivityCommand  -DeviceList emulateddevice1 -FramCount 5 -PingAddress 192.85.1.2 -TimeInterval 1
-parent system1 -Name {Learning: Verify Ping Status 1} -DeviceList emulateddevic
e1 -TimeInterval 1 -FrameCount 5 -PingAddress 192.85.1.2 -PassFailState PASSED -
ErrorOnFailure false -State COMPLETED -Status {} -StartTime 1380161519.44855 -En
dTime 1380161525.47999 -ElapsedTime 6031 -ProgressDisplayCounter true -ProgressS
tepsCount 1 -ProgressCurrentStep 1 -ProgressCurrentStepName {} -ProgressMaxValue
0 -ProgressCurrentValue 0 -ProgressCancelled false -Active true
 


Product : Automation,API,Spirent TestCenter