Nortel 15000 用户指南
Troubleshooting with Packet Capture
302768-C Rev 00
8-19
Example 6
To capture rx and tx PPP packets whose PPP control field matches 0x03, which
means it is a datagram, and whose IP protocol matches ICMP, you enter the
following commands. (Note that this example assumes that you have already
specified the type field as shown in Example 5).
means it is a datagram, and whose IP protocol matches ICMP, you enter the
following commands. (Note that this example assumes that you have already
specified the type field as shown in Example 5).
rx-filter2-type capture
rx-filter2-offset 1
rx-filter2-reference mac
rx-filter2-size 1
rx-filter2-match 0x03
tx-filter2-type capture
tx-filter2-offset 1
tx-filter2-reference mac
tx-filter2-size 1
tx-filter2-match 0x03
rx-filter2-group and
tx-filter2-group and
rx-filter2-offset 1
rx-filter2-reference mac
rx-filter2-size 1
rx-filter2-match 0x03
tx-filter2-type capture
tx-filter2-offset 1
tx-filter2-reference mac
tx-filter2-size 1
tx-filter2-match 0x03
rx-filter2-group and
tx-filter2-group and
Displaying the Current Packet Capture Configuration
You can display the current Packet Capture configuration in one of two ways. You
can enter the
can enter the
info
command at the PCAP prompt, or enter the
show pcap config
command at the BCC prompt. The subsections that follow indicate how to use
each of these options.
each of these options.
Using the info Command
When you use the
info
command to display current packet capture configuration,
” on
Example
pcap/2/2/1#
info
state enabled
capture-state stop
capture-buf-size 100
capture-packet-size 96
capture-direction both
rx-trigger notused
tx-trigger notused