Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide 47
53-1001931-01
Common commands
2
pktcap on
[bridge|interface|router|
vpn]
[count|filter|verbose|
write]
Packet capturing
• on – Defines the packet capture location
• bridge [count|hex|snap|verbose|write|filter] – Captures
packet at the bridge
• count <1-1000000> – Limits the captured packet
count
• filter
[<LINE>|arp|capwap|dst|ether|host|icmp|igmp|
ip|ip6|l2|l3|l4|net|not|port|src|tcp|udp|vlan|wlan]
– Filters packets based on specified criteria.
• <LINE> – Defines user defined packet capture
filter
• arp – Match arp packets
• capwap – Match Capwap packets
• dst – Match IP destination
• ether – Ethernet
• host – Match IP address
• icmp – Match icmp packets
• igmp – Match igmp packets
• ip – Match IPV4 packets
• ip6 – Match IPV6 packets
• l2 – Match L2 header
• l3 – Match L3 header
• l4 – Match L4 header
• net – Match IP in subnet
• not – Logical not
• port – Match TCP or UDP port
• src – Match IP source
• tcp – Match TCP packets
• udp – Match UDP packets
• vlan – Match vlan
• wlan – Match wlan