Reference Guide
OuterVlanId
Offset: 8 Width: 12
DATA=0x00000ffc
MASK=0x00000fff
action={act=CosQNew, param0=8(0x8), param1=0(0),
param2=0(0), param3=0(0)}
action={act=RedirectPort, param0=7(0x7), param1=0(0),
param2=0(0), param3=0(0)}
policer=
statistics={stat id 61 slice = 0 idx=18 entries=1}{Packets}
tcpdump
Enable a TCP dump for CPU-bound traffic on the Control and Router Processors..
C9000 Series
Syntax
tcpdump {cp | rp} [capture-duration time | filter expression |
max-file-count value | packet-count value | snap-length value |
write-to path]
To disable the TCP dump, use the no tcpdump command.
Parameters
cp Enter the keyword cp to perform a dump on traffic
processed by the Control Processor CPU.
rp Enter the keyword rp to perform a dump on traffic
processed by the Route Processor CPU.
capture-duration Enter the time for packet capturing. The timer begins as
soon as the command is enabled. The range is 20 to 9000
seconds.
filter Specify the packet that will be dumped. If no filter is
entered, all packets are dumped. Filter expressions usually
consist of an id (name or num ber) preceded by one or
more qualifiers. There are three different kinds of qualifier:
type, direction, or protocol.
Enclose the filter option with double quotes: “port 20.” The
range is 1 to 100 characters.
max-file-count Enter the maximum number of 1MB files. The maximum file
size for a TCP dump capture is 1MB. When a file reaches
1MB, a new file is created, up to the specified number. The
range is 1 to 20.
packet-count Enter the number of packets to capture. The counter begins
as soon as the command is enabled. The range is 10 to
150000.
snap-length Enter the number of bytes per packet to capture. Use this
option to reduce the size of the captured packets, to
capture only the needed headers and avoid rest of the data
portion of the packet. The range is 0 to 1200.
Debugging and Diagnostics
751