Capture Filters; Permitted Capture Filters - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 49
Troubleshooting Your Fabric
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .

Capture Filters

You can limit what frames are captured by using the capture filters feature in a remote capture. This
feature limits the frames that are captured and sent from the remote switch to the host. For example, you
can capture only class F frames. Capture filters are useful in restricting the amount of bandwidth
consumed by the remote capture.
Unlike display filters, capture filters restrict a capture to the specified frames. No other frames are visible
until you specify a completely new capture.
The syntax for capture filter is different from the syntax for display filters. Capture filters use the
Berkeley Packet Filter (BPF) library that is used in conjunction with the libpcap freeware. The list of all
valid Fibre Channel capture filter fields are provided later in this section.
Procedures to configure capture filters are already documented in the Ethereal website
(http://www.ethereal.com). Some examples of how you can use this feature as follows:
This feature is part of libpcap and you can obtain more information from http://www.tcpdump.org.
Note

Permitted Capture Filters

This section lists the permitted capture filters.
o vsan
o src_port_idx
o dst_port_idx
o sof
o r_ctl
o d_id
o s_id
o type
o seq_id
o seq_cnt
o ox_id
o rx_id
o els
o swils
o fcp_cmd
o fcp_data (FCP data frames only)
o fcp_rsp
o class_f
OL-6973-03, Cisco MDS SAN-OS Release 2.x
To capture frames only on a specified VSAN, use this expression:
vsan = 1
To capture only class F frames, use this expression:
class_f
To capture only class Fibre Channel ELS frames, use this expression:
els
To capture only name server frames, use this expression:
dns
To capture only SCSI command frames, use this expression:
fcp_cmd
(FCP Command frames only)
(FCP response frames only)
Configuring a Fabric Analyzer
Cisco MDS 9000 Family Configuration Guide
49-13

Advertisement

Table of Contents
loading

Table of Contents