Netstat -rs, Netstat -in, Netstat -rs -9 netstat -in -9 – Lucent Technologies 9077 16S User Manual

Page 85

Advertising
background image

Monitoring and Management Tools

Using the netstat command

SP Switch Router Adapter Guide - 1.4 Update 2

October 22, 1999

3-9

dependent node for this SP Switch Router Adapter will be specified in the

Gateway

column.

This is the address to which packets for the destination network will be sent when they enter
the SP Switch Router from external networks or from other SP Switch Router Adapter
networks. This is how you display the route paths that have been built for packets destined for
or sent from the SP system.

netstat -rs

Using both the -r and -s options, netstat prints routing statistics:

% netstat -rs

routing:

0 bad routing redirects

0 dynamically created routes

0 new gateways due to redirects

44 destinations found unreachable

0 uses of a wildcard route

netstat -in

Here is an example of output from netstat -in with interface information. Interface

gt020

is

the SP Switch Router Adapter card from slot 2:

# netstat -in

Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

de0 1500 <link1> 00:c0:80:0b:30:53 492665 0 8099 0 2584

de0 1500 198.174.11 198.174.11.249 492665 0 8099 0 2584

rmb0 596 <link2> 00:00:00:00:00:00 130022 0 129726 0 0

rmb0 596 <GRIT> 0:0x40:0 130022 0 129726 0 0

lo0 1536 <link3> 496 0 496 0 0

lo0 1536 <GRIT> 0:0x48:0 496 0 496 0 0

gl000* 1524 <link4> 0 0 0 0 0

gh010* 65280 <link11> 0 0 0 0 0

gt020 65520 <link5> 0 0 0 0 0

gt020 65520 206.146.162 206.146.162.67 0 0 0 0 0

gf080 4352 <link7> 00:c0:80:00:04:db 0 0 0 0 0

gf080 4352 206.146.162 206.146.162.129 0 0 0 0 0

gf081* 4352 <link8> 00:c0:80:00:04:dc 0 0 0 0 0

gf082* 4352 <link9> 00:c0:80:00:04:dd 0 0 0 0 0

gf083* 4352 <link10> 00:c0:80:00:04:de 0 0 0 0 0

gs0b0* 4352 <link6> 0 0 0 0 0

Advertising
This manual is related to the following products: