Add_workflow_for_techpubs
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.Info | ||
---|---|---|
| ||
For an HA pair configuration, you can run CLI commands |
The enhancement is useful when you want to use the commands to test node connectivity and other network issues without leaving the application command line.
Info | ||
---|---|---|
| ||
The commands, options, and syntax available from the SBC CLI are exactly same as Linux and Unix platforms. |
Info | ||
---|---|---|
| ||
|
Code Block |
---|
> 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> |
Code Block |
---|
> 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> |
Code Block |
---|
> 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> ] |
Code Block |
---|
> traceroute6 [ -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> ] |
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
.Execute the command:
Code Block |
---|
# man <command> |
Info | ||
---|---|---|
| ||
|
Code Block |
---|
> 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 |
Code Block |
---|
> 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 |
Code Block |
---|
> 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 |
Code Block |
---|
> 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 |
Pagebreak |
---|