Cisco Cisco IOS Software Release 12.4(11)T

ページ / 26
 
Router IP Traffic Export Packet Capture Enhancements
  traffic-export
24
Cisco IOS Release 12.4(11)T
The following example illustrates the use of the traffic-export command to copy the contents of the 
packet capture buffer to an external memory device. The example of the interactive dialog identifies the 
external memory device and the remote host in which it resides.
Router# traffic-export interface fastethernet0/0 copy tftp: 
Address or name of remote host []? 172.18.207.15 
Capture buffer filename []? atmcapture 
Copying capture buffer to tftp://172.18.207.15/atmcapture !!
router#
The following example illustrates the use of the traffic-export command to clear the packet capture 
buffer that is in local memory.
Router# traffic-export interface fastethernet 0/0 clear
%RITE-5-CAPTURE_CLEAR: Cleared IP traffic capture buffer for interface FastEthernet0/0
router#
Related Commands
Command
Description
ip traffic-export apply 
profile 
Applies an IP traffic export or IP traffic capture profile to a specific interface.
ip traffic-export 
profile
Creates an IP traffic export or IP traffic capture profile on an ingress 
interface.