Manual page for hpnpstat(1C)
hpnpstat - list network information of a remote SNMP node
SYNOPSIS
hpnpstat
[
-aAdeiIlnNrSu
] [
-c
community
]
node
DESCRIPTION
hpnpstat
symbolically lists the contents of various, network-related data
structures on the network peripheral
node.
The information appears in various formats, depending on
the options specified.
By default, the TCP connection table appears; this table includes the local
and remote address and port number, and the TCP state.
Address formats have the form host.port.
When known, the host and network addresses symbolically appear according to the
databases
hosts.5
and
networks.5
If a symbolic name for an address is unknown, or if
the
-n
option is specified, the address is printed in the Internet dot format (see
inet.3n
Unspecified and wild-card addresses and ports appear as an asterisk ( * ).
Options
- -a
-
Show all TCP and UDP table entries; generally, sockets used by server
processes are not shown.
- -A
-
Show the ARP cache entries; these entries include the IP address to
physical (link level) address mappings.
- -d
-
Display the SNMP packets exchanged.
- -e
-
Show ethernet (physical or link level) statistics, including interface name,
number of frames received and transmitted, number of input CRC errors,
output collisions, deferred packets, and framing errors. If the
-l
option is specified, the output is in a listing format that includes additional
interface specific information similar to
landiag.1m
- -i
-
Show the network interfaces and their associated attributes and statistics;
includes interface name, input packets, input errors, output packets, and
output errors.
- -I
-
Show the IP address table. Includes interface name, IP address, network
mask, network address, and physical address.
- -l
-
Format the output as a long list, rather than the default table format.
When the
-l
option is specified, more information is provided if available. Applies
only to the
-e
option.
- -n
-
Show network addresses as numbers, rather than listing them symbolically.
- -N
-
Do not truncate names. By default, names are truncated to align the output
columns.
- -r
-
Show the IP routing table; includes the destination address,
the next node in the route, the type of routing entry, and the name of the
interface used for the route. The type of the route is either
direct or remote. A direct connection
implies that no remote gateway is explicitly used to reach the destination.
A remote connection implies a route through a non-local gateway.
- -S
-
Show the services table. This table is the opposite of the default
TCP connection table, and shows
the TCP and UDP table entries that match services. For each
entry the protocol (TCP or UDP), port number, and service name appears.
- -u
-
List the UDP table (local address and port information).
- -c community
-
Use
community
for the SNMP community name; overrides the community name in
/usr/lib/hpnp/hpnpsnmp. See
hpnpsnmp.5
AUTHOR
Hewlett-Packard Company.
FILES
- /usr/lib/hpnp/hpnpsnmp
-
SNMP community names
SEE ALSO
hpnpadmin(1c), netstat(1), hpnpsnmp(5).
Created by unroff & hp-tools.
© somebody (See intro for details). All Rights Reserved.
Last modified 11/5/97