packet-capture filter

Configures packet capture filters on the network device.
Syntax
packet-capture filter [list_rule ] [ clean ] [ vlan vlan ] [src_mac mac] [dst_mac mac] [ src_ip ip ] [dst_port port ] [ L2_proto proto] [L3_proto proto ]
Command Default

Packet capture filter is not configured.

Parameters
list_rule
Lists the existing packet capture filters.
clean
Clears all existing packet capture filters
vlan vlan
Specifies the VLAN ID to match.
src_mac mac
Specifies the source MAC address to match.
src_ip ip
Specifies the source MAC address to match. The MAC address must be specified in the MAC format: AA:BB:CC:DD:EE:FF format.
dst_port port
Specifies the destination MAC address to match. The MAC address must be specified in the MAC format: AA:BB:CC:DD:EE:FF format.
L2_proto proto
Specifies the Layer 2 protocol Address Resolution Protocol (ARP) to match.
L3_proto proto
Specifies the Layer 3 protocols such as ICMP, IGMP, TCP , or UDP to match.
Modes

Network configuration mode

Usage Guidelines

This command is supported only on the RUCKUS Edge device.

Examples
The following example configures the packet-capture filter.
Edge# network
Network# packet-capture filter src_ip 1.1.1.1 dst_ip 2.2.2.2
Packet capture filter rule applies success
Network# packet-capture filter vlan 100
Packet capture filter rule applies success
History
Release version Command history
1.0.0 This command was introduced.