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