How to configure the PIX / ASA packet capture feature

Cisco, Firewall Add comments
1,692

The PIX/ASA can be configured in order to capture packet information like a sniffer that can be later viewed. There are two ways to do this.

In order to capture the packets and later download them to view in ethereal (pcap format), complete these steps:

  1. Create an access-list in order to match the traffic.

  2. Apply the capture command.

  3. Browse to https://device_ip_address /capture/capture_name/pcap.

  4. Save the file.
  5. Open file with Ethereal.

Refer to this configuration example:

pixfirewall(config)#access-list 501 extended permit tcp host 192.168.32.24 any

pixfirewall(config)#capture traffic access-list 501 packet-length 1500 interface outside

Open web browser go to https://device_ip_address /capture/traffic/pcap and save the file in order to view it in Ethereal.

In order to capture the packets and then view them in command line with the use of putty, complete these steps:

  1. Create an access-list to match the traffic.

  2. Apply the capture command.

  3. Use show capture command in order to view the capture.

Refer to this configuration example:

pixfirewall(config)#access-list 501 extended permit tcp host 192.168.32.24 any

pixfirewall(config)#capture traffic access-list 501 packet-length 1500 interface outside

pixfirewall(config)#show capture traffic


Tags:, , , , , , , , , , ,

Liked this article? To continue getting our latest free Howtos and Tutorials,
you can also grab the RSS feed or Subscribe to Techgurulive by Email

Not Getting



Comments are closed.



This Howtos posted under" Cisco, Firewall

How to configure the PIX / ASA packet capture feature


Find Free Howtos and tutorials on apache, Linux, windows, php, Networking, MySQL, Cisco, open source, Nas, Virtualization, voip, vpn, email,send mail, lamp, security, SEO, squid, Anti virus, Backup, Database and many more