Lucent Technologies 9076 User Manual

Page of 150
3-12
 October 22, 1999   
SP Switch Router Adapter Guide - 1.4 Update 2
Monitoring and Management Tools
Obtaining layer 2 and 3 statistics - grstat
Obtaining layer 2 and 3 statistics - grstat  
   
       
  
Options
grid
, displays the combus and other messaging statistics.
ipstat
, lists IP statistics.
ipdrop
, lists IPDROP statistics.
ip
, lists IPSTAT and IPDROP statistics.
icmpin
, lists ICMPIN (input) statistics.
icmpout
, lists ICMPOUT (output) statistics.
icmperr
, lists ICMPERR (error) statistics.
icmp
, lists ICMPERR, ICMPIN, and ICMPOUT statistics.
l2
, displays the Layer 2 media I/O statistics: 
     grstat l2rx
 , displays receive side statistics. 
     grstat l2tx,
 displays transmit side statistics. 
switch
, displays the switch statistics.
Layer 3 statistics
The grstat command reports layer 3 (IP and ICMP) forwarding statistics for SP Switch Router 
Adapter and all other media card types except HIPPI. Error reporting includes the saved source 
and destination IP addresses of the packet that caused the last error of each type reported.
List of IP stats
This is a list of all IP statistics returned with grstat, the -a option returns all entries even when 
0 (they are not displayed without -a):
# grstat -a ip
all cards (17 interfaces found)
  ipstat totals
       count description
       13751 total packets received
           1 packets dropped
        2665 packets forwarded normally
           0 packets redirected out receiving interface
           0 packets fragmented
           0 fragments created
           0 packets forwarded locally to card
           0 packets handled by the card
       11085 packets forwarded to the RMS
           0 packets segmented to the RMS
        7593 multicast packets received