Reference Guide

Table Of Contents
Dell PowerConnect ArubaOS 6.0 Command Line Interface | Reference Guide packet-capture-defaults | 351
packet-capture-defaults
packet-capture-defaults [other {disable | enable}]
[sysmsg {all | disable | <opcodes>] [tcp {all | disable | <ports>}]
[udp {all | disable | <ports>]
]
Description
Use this command to enable or disable packet capturing and define a set of default packet capturing options on
the control path for debugging purposes.
Syntax
Usage Guidelines
This command applies to control path packets; not datapath packets. Packets can be retrieved through the tar log
command; look for the filter.pcap file. This command activates packet capture options on the current switch.
They are not saved and applied across switches.
Example
The following command sets the default packet capture values to debug a wireless WEP station doing VPN. Once
these default settings are defined, you can use the packet-capture command to enable packet capturing with
these values. This example uses the following parameters and values:
z Station up/down: sysmsg opcode 30
z WEP key plumbing: sysmsg opcode 29
z DHCP: sysmsg opcode 90
z IKE: UDP port 500 and 4500
z Layer 2 Tunneling Protocol (L2TP): UDP port 1701
packet-capture-defaults sysmsg 30,29,90 udp 500,4500,1701,1812,1645
Parameter Description Default
other Enable or disable all other types of packets. Specify up to ten comma-
separated opcodes to capture; use all to sniff all opcodes; use
disable to bypass the all setting. All CLI ports are always skipped.
Enabled
sysmsg Enable or disable internal messaging packets. Disabled
tcp ports Enable or disable TCP packet capturing. Specify up to ten comma-
separated ports to capture; use all to sniff all TCP ports; use disable
to bypass the all setting. All CLI ports are always skipped.
Disabled
udp ports Enable or disable UDP packet capturing. Specify up to ten comma-
separated ports to capture; use all to sniff all UDP ports; use disable
to bypass the all setting. All CLI ports are always skipped.
Disabled