In this section:
The SBC includes the native Linux commands ping
and traceroute
(and their IPv6 variants) from the SBC command line interface. To use the commands at the SBC application level, log on to the SBC as an application administrator.
These commands are useful to use the commands to test node connectivity and other network issues without leaving the application command line.
For an HA pair configuration, you can run CLI commands ping
and traceroute
(and their IPv6 versions) from the active CE; a switchover is required to run the CLI commands from the standby CE.
The commands, options, and syntax available from the SBC CLI are exactly same as Linux and Unix platforms.
ping6
and traceroute6
.configure private
mode of the SBC.> ping [-LRUbdfnqrvVaAD] [-c <count>] [-i <interval>] [-w <deadline>] [-p <pattern>] [-s <packetsize>] [-t <ttl>] [-I <interface>] [-M <pmtudisc-hint>] [-m <mark>] [-S <sndbuf>] [-T <tstamp-options>] [-Q <tos>] [hop1 ...] <destination_IPv4_address>
> ping6 [-LRUbdfnqrvVaAD] [-c <count>] [-i <interval>] [-w <deadline>] [-p <pattern>] [-s <packetsize>] [-t <ttl>] [-I <interface>] [-M <pmtudisc-hint>] [-m <mark>] [-S <sndbuf>] [-T <tstamp-options>] [-Q <tos>] [hop1 ...] <destination_IPv6_address>
> traceroute [ -46dFITnreAUV ] [ -f <first_ttl> ] [ -g gate,... ] [ -i <device> ] [ -m <max_ttl> ] [ -N <squeries> ] [ -p <port> ] [ -t <tos> ] [ -l <flow_label> ] [ -w <waittime> ] [ -q <nqueries> ] [ -s <src_addr> ] [ -z <sendwait> ] [ --fwmark=<num> ] host [ <packetlen> ]
The traceroute6 command is not supported in SBC release versions 9.2.x to 11.0.x. It is supported from SBC version 11.1.x onwards.
> traceroute6 [ -46dFITnreAUV ] [ -d ] ---Use SO_DEBUG socket option [ -f <first_ttl> ] [ -g gate,... ] [ -i <device> ] ---Bind to <device> [ -m <hops> ] ---Use maximum <hops> [ -n ] ---No dns name resolution [ -p <port> ] ---Use destination <port> [ -t <tos> ] [ -l <flow_label> ] [ -w <waittime> ] [ -q <nprobes> ] ---Number of probes [ -r ] ---Use SO_DONTROUTE socket option [ -s <address> ] ---Use source <address> [ -v ] ---Verbose output [ -w <timeout> ] ---Time to wait for response [ -z <sendwait> ] [ --fwmark=<num> ] host [ <packetlen> ]
For parameter descriptions and other information on the ping
and traceroute
commands and their IPv6 variants, refer to the Linux manual pages on the internet. Alternatively, you may refer to the manual pages installed as part of the Linux platform on the SBC. To access the manual pages installed on the SBC:
root
.Issue the command:
# man <command>
ping6
and traceroute6
.configure private
mode of the SBC.> ping -c 3 10.31.200.50 PING 10.31.200.50 (10.31.200.50) 56(84) bytes of data. 64 bytes from 10.31.200.50: icmp_req=1 ttl=255 time=5.28 ms 64 bytes from 10.31.200.50: icmp_req=2 ttl=255 time=5.69 ms 64 bytes from 10.31.200.50: icmp_req=3 ttl=255 time=4.34 ms--- 10.31.200.50 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 4.340/5.106/5.693/0.566 ms
> ping6 -c 2 0000:0000:0000:0000:0000:0000:0000:0001 PING 0000:0000:0000:0000:0000:0000:0000:0001(::1) 56 data bytes 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.031 ms 64 bytes from ::1: icmp_seq=2 ttl=64 time=0.060 ms--- 0000:0000:0000:0000:0000:0000:0000:0001 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.031/0.045/0.060/0.016 ms
> traceroute 10.31.200.50 traceroute to 10.31.200.50 (10.31.200.50), 30 hops max, 60 byte packets 1 10.31.200.50 (10.31.200.50) 9.487 ms 9.493 ms 9.491 ms
The traceroute6 command is not supported in SBC release versions 9.2.x to 11.0.x. It is supported from SBC version 11.1.x onwards.
> traceroute6 0::0.0.0.0 traceroute to 0::0.0.0.0 (::), 30 hops max, 80 byte packets 1 localhost (::1) 0.033 ms 0.009 ms 0.008 ms