Printer FriendlyEmail Article Link

Spirent TestCenter-HLTAPI: Do we support pinging IPv6 address?

  • Spirent TestCenter
  • Automation-HLTAPI version t4.46 and above
  • Feature added in HLTAPI version t4.46 and above.
  • API Details:


Sends ICMP ECHO_REQUESTs from the specified test port and returns the PING results

-port_handle <portHandle>
-handle <handle>
-host {a.b.c.d|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>}
[-count <integer>]
[-interval <integer>]
[-mac_address_start <aa:bb:cc:dd:ee:ff>]

Specifies the handle of the port from which to send ICMP ECHO_REQUESTs. This argument is mandatory.
Specifies the host handle from which to send ICMP ECHO_REQUESTs. For example, the handle received from function sth::interface_config.
Note: -port_handle and -handle are mutually exclusive. It is mandatory to specify either of the two but not both.
Specifies the number of ICMP ECHO_REQUEST messages to send as a fixed number of datagrams.
Specifies the IPV4/IPv6 address or hostname of the host to ping. The value must be in IPv4 or IPv6 format. This argument is mandatory.
Specifies the interval in milliseconds between successive transmissions of ICMP ECHO_REQUEST packets.
Initial MAC address of the interfaces created for the PING configuration. This argument is only supported when -port_handle is specified.


Please note that during this API execution with more number of counts, console control will not be given back to User to execute other commands(related to DUT or Spirent)

Product : Spirent TestCenter,Automation,API,Spirent TestCenter