Modifying PCAP parameters
Certain steps are required to modify PCAP parameters.
Procedure steps
1. Disable PCAP on ports:
2. Disable PCAP globally:
3. Make desired PCAP modifications.
4. Reset PCAP statistics and counters:
5. Globally enable PCAP:
6. Enable PCAP on ports:
Example of capturing all traffic with PCAP filters
Procedure steps
1. Configure PCAP to auto save the captured traffic to the PCMCIA (or external flash)
2. Change the buffer size to 128 MB:
Troubleshooting
config diag pcap reset-stat
config eth <slot/port> pcap enable false
config diag pcap ena false
config diag pcap reset-stat
config diag pcap enable true
config eth <slot/port> pcap enable true mode <value>
card on the secondary CPU. Name the file pcap_data.cap:
ERS8600-B:5# config diag pcap auto-save true file-name
pcap_data.cap device pcmcia
ERS8600-B:5# config diag pcap buffer-size 128
Be sure not to exceed the buffer size on the backup CPU. Although the following
command is used to view the CPU buffer size on the primary CPU (if both the
primary and backup CPU have the same DRAM size), this command also indicates
the DRAM used. This command cannot be used on the Secondary SF/CPU when
it is in slave mode.
PCAP configuration
July 2013
177