
B-16
SPARC Enterprise M4000/M5000 Servers Installation Guide • February 2012
B.3.4
Using the
netstat
Command
The
netstat
command displays the network status.
B.3.4.1
Options
TABLE B-6
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
#
Содержание SPARC Enterprise M4000
Страница 4: ......
Страница 8: ...viii SPARC Enterprise M4000 M5000 Servers Installation Guide February 2012 ...
Страница 14: ...xiv SPARC Enterprise M4000 M5000 Servers Installation Guide February 2012 ...
Страница 26: ...2 10 SPARC Enterprise M4000 M5000 Servers Installation Guide February 2012 ...
Страница 58: ...A 14 SPARC Enterprise M4000 M5000 Servers Installation Guide February 2012 ...