qacafe - ip test solutions
Knowledge Base > ATM > How can I tell if CDRouter is receiving any ATM packets?

How can I tell if CDRouter is receiving any ATM packets?

When CDRouter is configured with an ATM interface, it will display all packets that it is receiving using the -pt or -decode options. Only AAL5 packets on the configured PVC are displayed.

You can also check the driver stats to find out if the ATM connection is receiving any cells. In the /proc/net/atm directory of your Linux host, use 'cat' to display your driver statistics. The name of the driver will vary depending on the ATM card you are using.

Example

[root@server lab]# cd /proc/net/atm/
[root@server atm]# ls
arp  devices  lec  pca200e:0  pvc  svc  vc
[root@server atm]# cat pca200e\:0 

 device:
   internal name:		PCA-200E-0
   PCI bus/slot/function:	2/7/0
   interrupt line:		11
   physical base address:	0xfe000000
   virtual base address:	0xe0955000
   factory address (ESI):	00:20:48:40:2c:e0
   board serial number:		11488

   supplied small bufs (1):	32
   supplied large bufs (1):	32
   supplied small bufs (2):	50
   supplied large bufs (2):	61


 cell processor:
   heartbeat state:		0x7312fc0c
   firmware release:		4.1.12
   monitor release:		12.0
   media type:			multimode optical fiber SC
   OC-3 revision:		0x30
   OC-3 mode:			normal operation

 monitor:
   version number:		12
   boot status word:		0xce11feed

 device statistics:
  4b5b:
     crc_header_errors:		         0
     framing_errors:		         0

  OC-3:
     section_bip8_errors:	         0
     path_bip8_errors:		         0
     line_bip24_errors:		         0
     line_febe_errors:		         0
     path_febe_errors:		         0
     corr_hcs_errors:		         0
     ucorr_hcs_errors:		         0

   ATM:				     cells
     TX:			         0
     RX:			         0
     vpi out of range:		         0
     vpi no conn:		         0
     vci out of range:		         4
     vci no conn:		      5472

   AAL0:			     cells
     TX:			         0
     RX:			         0
     dropped:			         0

   AAL3/4:
     SAR sublayer:		     cells
       TX:			         0
       RX:			         0
       dropped:			         0
       CRC errors:		         0
       protocol errors:		         0

     CS  sublayer:		      PDUs
       TX:			         0
       RX:			         0
       dropped:			         0
       protocol errors:		         0

   AAL5:
     SAR sublayer:		     cells
       TX:			      1423
       RX:			      2146
       dropped:			         0
       congestions:		         0

     CS  sublayer:		      PDUs
       TX:			       799
       RX:			       910
       dropped:			         0
       CRC errors:		         0
       protocol errors:		         0
   AUX:		       allocation failures
     small b1:			         0
     large b1:			         0
     small b2:			         0
     large b2:			         0
     RX PDUs:			         0

 receive carrier:			ON

 VCCs:
  address	VPI.VCI:AAL	(min/max tx PDU size) (min/max rx PDU size)
  dfa81800	0.32:5		(30/67)	(70/108)