Configuring capture buffer, Specify packet size to capture, Specify filter(s) – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 374
358
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Using the debug filter command
B
Configuring Capture Buffer
You have to specify the size of the capture buffer in kilobytes. To set the buffer size do the following:
Virtual ADX(debug-filter)# buffer-size 1024
Syntax: buffer-size kilobytes
To display the buffer size do the following:
Virtual ADX(debug-filter)# buffer-size 1024
Syntax: buffer-size kilobytes
Virtual ADX(debug-filter)# show buffer-size
Capture buffer size: 1048567 bytes
Specify packet size to capture
You can specify the number of bytes from a captured packet that are getting stored in the capture
buffer. It is also possible to store the entire packet.
To set the amount of bytes to store do the following:
Virtual ADX(debug-filter)# packet-size 128
Syntax: packet-size bytes | whole
The whole variable specifies that the entire packet needs to be stored in the capture buffer.
To show the currently configured packet size:
Virtual ADX(debug-filter)# show packet-size
Max bytes stored from a filtered pkt: 128
Specify filter(s)
You specify the packets to store in the capture buffer by configuring one or more filter IDs. A filter ID
consists of a set of filters that specify the attributes of packets to be stored in the capture buffer.
You can configure up to 16 filter IDs.
Within a filter ID, you can specify filters for Layer 2 - 4 information in a packet. In addition, you can
set up filters to capture packets that contain a specified pattern within the packet.
By default, a filter ID is configured to match any packet. Within a filter ID, all the filters must match
a received packet in order for the packet to be captured. The filters not explicitly configured have
"don't care" values, which are ignored during the matching process.
To specify the filter with ID 1:
Virtual ADX(debug-filter)#specify 1
Virtual ADX(debug-filter-spec-1)#
Syntax: specify filter-id
You are able to specify filter settings at the filter ID configuration level. It is possible as well to
display the current settings.