Printer FriendlyEmail Article Link

Spirent TestCenter HLTAPI : How do we create ethernet 802.3 frames?

Environment/Versions
  • Spirent TestCenter
  • Automation
  • HLTAPI
  • 802.3 Ethernet
Answer
  • Ethernet 802.3 frame template is supported from HLTAPI version t4.22
  • In traffic_config function call, set l2_encap with ethernet_8023_raw.

        Example:
        sth::traffic_config  -mode  create\
                -port_handle      port1 \
                -l2_encap        ethernet_8023_raw \
                -l4_protocol      isis\
                -mac_src         11:11:11:11:11:11 \
                -mac_dst         11:11:21:11:11:11 \
                -transmit_mode   continuous \
                -rate_pps        10


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