AX Debug Commands

The AX debug subsystem enables you to trace packets on the ACOS device. To access the AX debug subsystem, enter the following command at the Privileged EXEC level of the CLI:

ACOS# axdebug

 

The CLI prompt changes as follows:

ACOS(axdebug)#

 

This chapter describes the debug-related commands in the AX debug subsystem.

To perform ACOS debugging using this subsystem:

1.     Use the filter command to configure packet filters to match on the types of packets to capture.

2.     (Optional) Use the count command to change the maximum number of packets to capture.

3.     (Optional) Use the timeout command to change the maximum number of minutes during which to capture packets.

4.     (Optional) Use the incoming | outgoing command to limit the interfaces on which to capture traffic.

5.     Use the capture command to start capturing packets. The ACOS device begins capturing packets that match the filter, and saves the packets to a file or displays them, depending on the capture options you specify.

6.     To display capture files, use the show axdebug file command.

7.     To export capture files, use the export command at the Privileged EXEC or global configuration level of the CLI.

The AXdebug utility creates a debug file in packet capture (PCAP) format. The PCAP format can be read by third-party diag­nostic applications such as Wireshark, Ethereal (the older name for Wireshark) and tcpdump. To simplify export of the PCAP file, the ACOS device compresses it into a zip file in tar format. To use a PCAP file, you must untar it first.

The following commands are available:

     apply-config

     capture

     count

     delete

     filter

     incoming | outgoing

     length

     maxfile

     outgoing

     save-config

     timeout

 

Table of Contents

Index

Glossary

-Search-

Back