Technical data

netstat
Timers (optional with
-t
)
Routing table display
A route consists of a destination host or network and a gateway to use when
forwarding packets. Direct routes are created automatically for each interface
attached to the local host when you issue the
ifconfig
command. Routes can be
modified automatically in response to the prevailing condition of the network.
The routing-table display format indicates available routes and the status of each
in the following fields:
Flags
Displays the state of the route as one or more of the following:
U Up, or available.
G This route is to a gateway.
H This route is to a host.
D This route was dynamically created by a redirect.
M This route was modified by a redirect.
S This is a static route that was created by the
route
command.
R This is a reject route that was created by the
route
command.
refcnt
Gives the current number of active uses for the route. Connection-oriented
protocols hold on to a single route for the duration of a connection; connectionless
protocols obtain routes in the process of sending to a destination.
use
Provides a count of the number of packets sent using the route.
interface
Indicates the network interface used for the route.
When the
-v
flag is specified, the routing table display includes the route metrics.
An asterisk (*) indicates the metric is locked.
Flags
-a
Displays the state of sockets related to the Internet protocol. Includes sockets
for processes such as servers that are currently listening at a socket but are
otherwise inactive.
-b
Displays the contents of the Mobile IPv6 binding cache. When used with the -s
option, it displays binding cache statistics.
For more information about using
netstat
with IPv6, refer to the HP TCP/IP
Services for OpenVMS Guide to IPv6.
-d
Displays the number of dropped packets; for use with the
-I
interface or
-i
flags.
You can also specify an interval argument (in seconds).
Troubleshooting Utilities Reference A–19