Working with IP Traffic
Displaying IP route cache information
Stinger®
Administration Guide
9-9
To filter the type of protocol statistics displayed by the
netstat -s
command, add one
of the following values to the
netstat -s
command:
udp
,
tcp
,
icmp
,
ip
,
igmp
, or
mcast
.
Displaying IP route cache information
The
ipcache
command displays information about IP route caches. A route cache
enables a module to route IP packets to another slot, reducing the route-processing
overhead on the control module. The control module is still responsible for managing
routing protocols and the route caches themselves, but each module can check a
small IP cache and route packets to a destination slot. When a module receives an IP
packet for which it has no cache entry, it forwards that packet to the control module.
The control module routes it to the proper slot and writes a cache entry. The cache
entry is downloaded to the route cache of all modules via the control bus.
The command uses the following syntax:
ipcache
[
-r
vroutername
]
cache
|
debug
|
disable
|
enable
The following example shows command output on the control module:
admin>
ipcache cache
Hsh Address Gateway Ifname Sh/Sl/T MTU
20 50.0.0.20 10.168.26.74 wan392 1/14/D 1524
40 20.0.0.40 20.0.0.40 ie1-3-1 1/3 /S 1500
Cache Limit 0 Cache Count 2 Cache over limit 0 No.packets 9
Mem Usage: Allocated 1k bytes
Free block count 22
The following sample commands display output on a module:
admin>
open 1 3
ether2-1/3>
ipcache cache
Hsh Address Gateway Sh/Sl/T Switched MTU MPath
0 99.1.1.1 10.168.21.30 1/14/D 0 1524 Y/0.0.0.0/0
20 50.0.0.20 10.168.28.170 1/15/D 85068 1524 Y/0.0.0.0/0
40 20.0.0.40 20.0.0.40 1/3 /S 0 1500 N
Cache Limit 0 Cache Count 2 Cache over limit 0 No.packets 9
Mem Usage: Allocated 1k bytes
Free block count 22
The shelf number is always
1
. The
T
(Type) column following the shelf and slot
numbers can specify
D
for dynamic cache entries or
S
for static cache entries. The
MPath
column indicates whether the cache entry is derived from multipath routes. If
it represents a multipath route, the column indicates
Y
and the destination address. If
it is not a multipath route, the column indicates
N
.
Verifying name service settings
You can retrieve a host address by using the
nslookup
command, provided that the
Stinger unit has been configured with the address of a name server. If a host has
several IP interfaces, the command returns several addresses.
Summary of Contents for Stinger
Page 1: ...Stinger Administration Guide Part Number 7820 0712 008 For software version 9 7 0 August 2004 ...
Page 4: ......
Page 16: ......
Page 18: ......
Page 62: ......
Page 82: ......
Page 96: ......
Page 182: ......
Page 218: ......
Page 236: ......
Page 252: ......
Page 288: ......
Page 350: ......
Page 362: ......
Page 374: ......