[j-nsp] Re: ATM PIC and congestion

John Kristoff jtk@aharp.is-net.depaul.edu
Wed, 6 Nov 2002 09:51:08 -0600


As a follow up to this issue, it is not possible to check the buffer
usage per PVC, but you can check buffer usage per PIC.  According to a
Juniper tech, the following is unsupported and will not be publicly
documented.

To check PIC buffer usage, go into the FPC CPU itself and run
some commands from there.  For example, if you have an ATM PIC in
position at-0/0/0, here is how to check (some lines may wrap):

1. start shell
2. su
3. vty fpc0
4. show atm-pic 0 txrx

<-- sample output

FPC0(vty)# show atm-pic 0 txrx    

PIC 0 K chip information:

 SDH support is disabled, Sonet support is enabled
 Monitoring is disabled
 Line: Dual OC3
 IFD count is 2, interrupt_count is 0
 error interrupt count is 0

  TXRX Section Registers:
   (0x850c0080)                               TX FREE RING BASE : 0x0002
   (0x850c0082)                                    TX FREE TAIL : 0x0250
   (0x850c0084)                                    TX FREE HEAD : 0x0268
   (0x850c0090)                                TX REQ RING BASE : 0x0002
   (0x850c0092)                                TX REQ RING TAIL : 0x04b0
   (0x850c009c)                                     TX BUF0 END : 0x01e4
   (0x850c009e)                                     TX BUFN END : 0x01e4
   (0x850c00a0)                                RX IND RING BASE : 0x0003
   (0x850c00a2)                                     RX IND TAIL : 0x004c
   (0x850c00a4)                                     RX IND HEAD : 0x004c
   (0x850c00a6)                                     RX IND DONE : 0x004c
   (0x850c00bc)                                     RX BUF0 END : 0x01e4
   (0x850c00be)                                     RX BUFN END : 0x01e4

  TX FREE BUF TAIL/HEAD : 0x0250 / 0x0268  (16372 bufs) << Look at this
                                           ^^^^^^^^^^^^
  RX IND Q TAIL/HEAD/DONE : 0x004c / 0x004c / 0x004c  (0 queued)

sample output -->

John