Smarter by Design.Simpler for Business
TR7Enterprise Application Delivery & Security Platform
Docssys-cmd netstat shows the network state of the route table selected in WEB-CLI: the open connections and the listening ports, the routing table, the incoming and outgoing packet, error and dropped packet counts per interface, and the protocol counters. It is used especially to see the routes of the route table and the interface statistics with a single command.
Everything written after the word netstat is passed to the tool as it is. There is no mandatory field.
| Subject | Behavior |
|---|---|
| Context | It shows the connections, the routes and the interfaces of the selected v-device and route table. |
| Duration | It writes the list and closes immediately. |
| Pipe | The output can be filtered with | or written to a file with to-file. |
| Recording | Every run is written to the user logs. |
| Parameter | What it does | What is written after it |
|---|---|---|
-t · -u | Shows only the TCP or the UDP connections | — |
-l | Shows only the listening ports | — |
-a | Shows all the connections including the listening ones | — |
-n | Writes the addresses and the ports without resolving them to names | — |
-r | Shows the routing table | — |
-i | Shows the packet, error and dropped packet counts per interface | — |
-s | Shows the total counters per protocol | — |
The parameters can be written combined (-tuln). The table summarizes the frequently used parameters; the full list depends on the version of the tool on the device.
-p mostly remains as - in this command; to see which process holds a port, ss -tlnp is used.-rn output does not show the default route (0.0.0.0), the selected route table does not have a defined path out; the routes are managed with the network route command or from the Route Tables page.-i output increases between measurements, the problem may be the cable, the switch port or an MTU mismatch.
Reach us for your questions and support requests.
This document is digitally signed and timestamped.