Printer FriendlyEmail Article Link

Spirent iTest: What are the Spirent TestCenter native API commands to modify mac_dst when using load_xml API?

Environment/Versions
  • Spirent iTest.
  • Spirent TestCenter.
  • HLTAPI.
Answer
  • Below are the STC native API commands to modify mac_dst when using load_xml API:
    % set streamid [stc::get port1 -children-streamblock]
    streamblock1
    % set eth [stc::get $streamid -children-ethernet:EthernetII]
    ethernet:ethernetii1
    % stc::config $eth -dstMac 11:11:11:12:12:12

Product : API,iTest Enterprise