Nortel Networks NN46110-602 Network Router User Manual


 
Chapter 5 Packet capture 119
Nortel VPN Router Troubleshooting
Global IP parameters
The configurable parameters for the global IP capture object are the same as the
parameters available for physical interface objects. The following example creates
a global capture object called rawip, navigates to Capture Configuration mode,
and displays the commands for the global capture object. For more information
about global IP capture objects, see “Global IP captures” on page 107.
CES#capture add rawip global
CES#capture rawip
CES(capture-global)#?
Packet capture mode
direction Captures in one direction
exit Exits capture mode
filter Applies interface traffic filter to
capture only matching traffic
length Specifies how many octets to capture for
every packet
no Disables features and settings
trigger Enables triggers
wrapping Continues capturing
when buffer gets full
CES(capture-global)#
Starting, stopping, and saving capture objects
The following example shows how to start a capture object called test_ether1, stop
it, save the buffer to a file (called test_ether1.cap), and finally, clear the capture
buffer. You must run all commands at Privileged EXEC mode.
CES#capture test_ether1 start
CES#capture test_ether1 stop
CES#capture test_ether1 save test_ether1.cap
Saving capture test_ether1 to file /ide0/test_ether1.cap please
wait . . .
220 frames written successfully
CES#
clear capture test_ether1
CES#
Using the show capture command to display capture status
Use the show capture command to display a list of capture objects and to display
the configuration and status of a specific capture object.