Chapter 5 Packet capture 113

10If you want, you can now change the VPN Router administrator password.

CES#configure terminal

Enter configuration commands, one per line. End with

Ctrl/z.

CES(config)#adminname <admin_name> password <new_password>

CES(config)#exit

CES#

After you enable packet capture, it remains enabled until you explicitly disable it with the no capture enable command or until you reboot the VPN Router. You can now configure and start packet capture objects.

Capturing packets to disk file

To configure PCAP, you must first enter CLI Capture Configuration Mode. For more information about CLI Capture Configuration Mode, see Nortel VPN Router Using the Command Line Interface.

There are five CLI commands for capturing packets to disk file. These commands are:

filepath—sets the PCAP file path

buffersize—sets the size of the RAM buffer

filesize—sets the size of a disk capture file

maxfiles—sets the maximum number of disk capture files

capture-all—sets PCAP capture mode to either loss or no loss

The following sections describe each of these commands.

Setting the PCAP file path

To set the file path to save PCAP files, from CLI Capture Configuration Mode, enter:

filepath <path>

where path is the path to save the PCAP files.

Nortel VPN Router Troubleshooting

Page 113
Image 113
Nortel Networks NN46110-602 manual Capturing packets to disk file, Setting the Pcap file path