Configuring a capture object – Nortel Networks NN46110-602 User Manual
Page 116

116 Chapter 5 Packet capture
NN46110-602
For example, enter the following command:
CES#
capture add test1 ?
atm
ATM interface capture
bri Bri interface capture
dial Dial interface capture
FastEthernet Fast Ethernet interface capture
GigabitEthernet Gigabit Ethernet interface capture
global Global RAW IP capture
serial Serial interface capture
tunnel Tunnel capture
2
Create a capture object by specifying an object name and type.
In the following example, you create a capture object called test_ethernet1
that captures traffic on Ethernet interface 1/2.
CES#
capture add test_ethernet1 FastEthernet 1/2
CES#
In the following example, you create a capture object called test_tunnel that
captures tunnel traffic.
CES#
capture add test_tunnel tunnel
CES#
Configuring a capture object
After you create a capture object, you can configure it to capture a subset of the
traffic that travels over the physical interface, tunnel, or the VPN Router as a
whole. You can configure a capture object to do the following:
•
capture inbound or outbound traffic or both
•
capture a non-default number of octets from each packet
•
apply an interface filter to the object
•
configure start and stop triggers for the object
•
specify whether the capture stops when the buffer is full or whether new data
overwrites the existing data