Nortel Networks NN46110-602 manual Interface capture object using triggers

Models: NN46110-602

1 230
Download 230 pages 7.59 Kb
Page 122
Image 122

122 Chapter 5 Packet capture

To view the status of the running capture object, as well as its configuration, use the show capture command. (In this example, 20 frames are captured in the buffer.)

CES#show capture test-filter-in

Capture state:

RUNNING

Capture buffer size:

1048576

Capture type:

ETHERNET

Capturing on interface:

FastEthernet 0/1

Promiscuous mode is:

DISABLED

Capturing MAX octets per frame:

4096

Captured frames:

20

Capture buffer utilization:

0%

Capturing direction:

INBOUND

Capture buffer wrapping:

DISABLED

Capture buffer wrapped:

FALSE

Capture filter applied:

permit FTP

Capturing non-ip frames:

DISABLED

Capture filter discards:

329

CES#

 

To stop the capture and save the buffer contents to a file called test3.cap, enter the following commands:

CES#capture test-filter-in stop

CES#capture test-filter-in save test3.cap

Saving capture test-filter-in to file /ide0/test3.cap please wait .

. .

20 frames written successfully CES#

Interface capture object using triggers

In the following example, you configure a capture object called test-triggeron Fast Ethernet interface 0/1. This object uses FTP traffic as the start trigger and Telnet traffic as the stop trigger.

Note: The filters used in this example are predefined VPN Router filters. If you need a filter that the VPN Router software does not provide, you must create the filter before you configure the capture object.

NN46110-602

Page 122
Image 122
Nortel Networks NN46110-602 manual Interface capture object using triggers, CES#show capture test-filter-in