B.3.4
Using the netstat Command
The netstat command displays the network status.
B.3.4.1
Options
TABLE B-6
help troubleshooting.
Options for
TABLE B-6
Option
Description
Displays the interface state,
-i
including packets in/out, error
in/out, collisions, and queue.
-i
interval
Providing a trailing number
with the
netstat
interval seconds.
Displays the media table.
-p
Displays the routing table.
-r
Replaces host names with IP
-n
addresses.
The following example shows output for the netstat -p command.
# netstat -p
Net to Media Table: IPv4
Device
IP Address
------ -------------------- --------------- -------- ---------------
bge0
san-ff1-14-a
bge0
san-ff2-40-a
sppp0
224.0.0.22
bge0
san-ff2-42-a
bge0
san09-lab-r01-66
sppp0
192.168.1.1
bge0
san-ff2-9-b
bge0
bizzaro
bge0
san-ff2-9-a
bge0
racerx-b
bge0
224.0.0.0
#
B-16
SPARC Enterprise M4000/M5000 Servers Installation Guide • February 2012
describes options for the netstat command and how those options can
netstat
option repeats the
-i
command every
255.255.255.255 o
255.255.255.255 o
255.255.255.255
255.255.255.255 o
255.255.255.255 o
255.255.255.255
255.255.255.255 o
255.255.255.255 o
255.255.255.255 o
255.255.255.255 o
240.0.0.0
How It Can Help
Provides a quick overview of the network status.
Identifies intermittent or long duration network events.
By piping
netstat
can be viewed all at once.
Provides MAC address for hosts on the subnet.
Provides routing information.
Used when an address is more useful than a host name.
Mask
Flags
SM
output to a file, overnight activity
Phys Addr
00:14:4f:3a:93:61
00:14:4f:3a:93:85
00:14:4f:3a:93:af
00:e0:52:ec:1a:00
00:03:ba:dc:af:2a
00:03:ba:11:b3:c1
00:03:ba:dc:af:29
00:0b:5d:dc:08:b0
01:00:5e:00:00:00
Need help?
Do you have a question about the SPARC Enterprise M4000 and is the answer not in the manual?
Questions and answers