Packet-Capture - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
size
Specifies the MTU for the current interface in bytes. Use an integer in the range of
576 to 16128. The default is 1500.
Guidelines
The MTU is determined without regard to the length of the layer 2 encapsulation.
Examples
v Sets the MTU for the current interface to 4 kilobytes.

packet-capture

Starts or stops a packet-capture session.
Syntax
Starts a package capture
Stops a package capture
Parameters
filename
duration
kilobytes
Guidelines
Packet-capture date is saved in a pcap format. Use a utility such as tcpdump or
ethereal to interpret the packet-capture file.
Use the no packet-capture command to immediately end a packet-capture session,
regardless of the duration specified by the duration parameter.
Examples
v Initiates a packet-capture session on Ethernet 0. Packet-capture data is written to
356
Command Reference
Specifies the maximum size of an MTU.
# mtu 4096
#
packet-capture filename duration kilobytes
no packet-capture filename
Specifies the file to which packet-capture data is written.
Specifies the maximum duration of the packet-capture session in seconds.
Use a value in the range of 5 through 3600. The special value of -1
indicates that the packet capture completes when the maximum file size is
reached or until you invoke the no packet-capture.
Specifies the maximum size, in kilobytes, of the packet-capture file in
kilobytes. Use a value in the range of 10 through 50000.
the file Eth0Trace in the general storage directory. The session terminates after
30 seconds or when Eth0Trace contains 2500 kilobytes of data (whichever occurs
first).

Advertisement

Table of Contents
loading

Table of Contents