Router packet capture

ip access-list extended CP-FILTER
permit ip host 192.168.0.1 any
permit ip any host 192.168.0.1


monitor capture buffer BUFF 
monitor capture buffer 
BUFF filter access-list CAP-FILTER
monitor capture point ip cef CP gi0/0/0 both
monitor capture point associate CP BUFF

monitor capture point start CP

monitor capture point stop CP

show monitor capture buffer all parameter

show monitor capture buffer BUFF

monitor capture buffer BUFF export tftp://192.168.0.10/capture.pcap

no monitor capture point ip cef CP gi0/0/0 both
no monitor capture buffer BUFF

Comments