Printer FriendlyEmail Article Link

Spirent TestCenter-Automation: How to use DeviceCreateCommand for 2 Vlans?

Environment/Versions
  • Spirent TestCenter
  • All Versions
Answer

Below is an example to create two vlans using deviceCreate API

stc::perform DeviceCreate -parentlist project1 -ifstack "Ipv4If VlanIf VlanIf EthIIIf" -ifcount "1 1 1 1" -port port1 -devicetype Host


Product : L2-3,Automation,API,Spirent TestCenter