Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

tools ss

tools ss—Display socket statistics for a Viptela device. This command is effectively the standard Linux ss command. The output of the tools ss command is similar to the output of the tools netstat command, but more state and TCP information is displayed.

Command Syntax

tools ss [options options] [vpn vpn-id]
tools ss help

Options

Command Help
help
Display all the command options.
Command Options
options options
See the Example Output below for a list of all the tool netstat command options.
Specific VPN
vpn vpn-id
Run the command in a specific VPN.
Default: VPN 0

Output Fields

The output is self explanatory.

Example Output

Viptela# tools ss help
USAGE:
 Options:
   help                     Show usage
   vpn                      VPN or namespace
   options                  ss options

Netstat --help in VPN 0
usage: netstat [-vWeenNcCF] [<Af>] -r         netstat {-V|--version|-h|--help}
       netstat [-vWnNcaeol] [<Socket> ...]
       netstat { [-vWeenNac] -i | [-cWnNe] -M | -s }

        -r, --route              display routing table
        -i, --interfaces         display interface table
        -g, --groups             display multicast group memberships
        -s, --statistics         display networking statistics (like SNMP)
        -M, --masquerade         display masqueraded connections

        -v, --verbose            be verbose
        -W, --wide               don't truncate IP addresses
        -n, --numeric            don't resolve names
        --numeric-hosts          don't resolve host names
        --numeric-ports          don't resolve port names
        --numeric-users          don't resolve user names
        -N, --symbolic           resolve hardware names
        -e, --extend             display other/more information
        -p, --programs           display PID/Program name for sockets
        -c, --continuous         continuous listing

        -l, --listening          display listening server sockets
        -a, --all, --listening   display all sockets (default: connected)
        -o, --timers             display timers
        -F, --fib                display Forwarding Information Base (default)
        -C, --cache              display routing cache instead of FIB

  <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
  <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
  List of possible address families (which support routing):
    inet (DARPA Internet) inet6 (IPv6) netrom (AMPR NET/ROM)
vEdge# tools ss vpn 512
ss  in VPN 512
Netid  State      Recv-Q Send-Q   Local Address:Port       Peer Address:Port   
u_dgr  ESTAB      0      0                    * 25172                 * 0      
u_dgr  ESTAB      0      0                    * 33267                 * 0      
u_dgr  ESTAB      0      0                    * 38346                 * 0      
u_dgr  ESTAB      0      0                    * 44878                 * 0      
u_dgr  ESTAB      0      0                    * 45056                 * 0      
u_dgr  ESTAB      0      0                    * 443913                * 0      
u_dgr  ESTAB      0      0                    * 443914                * 0      
u_dgr  ESTAB      0      0                    * 444218                * 0      
u_str  ESTAB      0      0                    * 25494                 * 0      
u_str  ESTAB      0      0      /var/run/quagga/zebra_protobuf_monitor.api.512 25495                 * 0      
u_str  ESTAB      0      0                    * 25831                 * 0      
u_str  ESTAB      0      0      /var/run/quagga/zebra_protobuf_notify.api.512 26426                 * 0      
u_str  ESTAB      0      0                    * 27306                 * 0      
u_str  ESTAB      0      0      /var/run/.ftmd.512 27310                 * 0      
u_str  ESTAB      0      0                    * 33268                 * 0      
u_str  ESTAB      0      0                    * 33269                 * 0      
u_str  ESTAB      0      0                    * 38347                 * 0      
u_str  ESTAB      0      0                    * 38348                 * 0      
u_str  ESTAB      0      0                    * 44879                 * 0      
u_str  ESTAB      0      0                    * 44880                 * 0      
u_str  ESTAB      0      0                    * 45057                 * 0      
u_str  ESTAB      0      0                    * 45058                 * 0      
u_str  ESTAB      0      0                    * 443915                * 0      
u_str  ESTAB      0      0                    * 443916                * 0      
u_str  ESTAB      0      0                    * 443917                * 0      
u_str  ESTAB      0      0                    * 443918                * 0      
u_str  ESTAB      0      0                    * 444219                * 0      
u_str  ESTAB      0      0                    * 444220                * 0      
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:40694   
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:53044   
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:40287   
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:39953   
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:53051   
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:53042   
tcp    ESTAB      0      0           10.0.99.15:ssh           10.0.99.1:40707   

Release Information

Command introduced in Viptela Software Release 16.2.

Additional Information

Linux ss man page
tools netstat

  • Was this article helpful?