Nortel Networks NN46110-602 User Manual

Page 123

Advertising
background image

Chapter 5 Packet capture 123

Nortel VPN Router Troubleshooting

To create and use this capture object, you run commands like the ones illustrated
in this example. These commands do the following:

1

Create a capture object called test-trigger on Fast Ethernet interface 0/1.

2

Enter Capture Configuration mode for the object.

3

Set the start trigger to permit FTP.

4

Set the stop trigger to permit Telnet.

5

Exit Capture Configuration mode.

6

Start the capture.

CES#

capture add test-trigger fastethernet 0/1

CES#

capture test-trigger

CES(capture-ethernet)#

trigger start "permit FTP"

CES(capture-ethernet)#

trigger stop "permit Telnet"

CES(capture-ethernet)#

exit

CES#

capture test-trigger start

CES#

To view the status of the running capture object, as well as its configuration, use
the

show capture

command. In this example, you can see that:

The captured frames field indicates that the capture was triggered by the
receipt of FTP traffic.

The start trigger discards field shows the number of packets discarded before
the start trigger was activated by the receipt of FTP traffic.

CES#

show capture test-trigger

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: 107

Capture buffer utilization: 0%

Capturing direction: BIDIRECTIONAL

Capture buffer wrapping: DISABLED

Capture buffer wrapped: FALSE

Start trigger applied: permit FTP

Start trigger discards: 362

Stop trigger applied: permit Telnet

CES#

Advertising