Monday, April 14, 2014

Packet Captures on VG204/VG202/VG224

The VGs don't support packet capture using this traffic-export commands, but do have a different way of getting all-traffic captures on its Ethernet interface.  Here are the commands:

Step 1 - Set up Packet Capture

monitor capture buffer vg max-size 9500
monitor capture point ip cef cef fastEthernet 0/0 both
monitor capture point ip process-switched switch both
monitor capture point associate cef vg
monitor capture point associate switch vg


Step 2 - Start Packet Capture

monitor capture point start  all


Step 3 - Stop Packet Capture

monitor capture point stop  all


Step 4 - Collect Packet Capture

monitor capture buffer vg export tftp:///vg.pcap