debug packet-capture filter
Enables the filter option for the raw packets.
Parameters
Modes
Privileged EXEC mode
Usage Guidelines
There are 36 filter options that can be configured within a single filter.
- all—Matches all packets
- arp—Matches an ARP request or response
- broadcast-mac—Matches the destination broadcast MAC address (0000.00FF.FFFF)
- cdp—Matches with the CDP
- clear—Clears the filter entry
- clear-counter—Clears the counter
- cpu-code—Matches the CPU code
- da—Matches the destination MAC address
- dhcp—Matches with the DHCP
- dot1x—Matches the dot1x protocol
- dpa—Matches the destination IP address
- dport—Matches the destination protocol port
- ether-type—Matches the Ethernet type packets
- fdp—Matches with the FDP
- in-port—Matches the input port
- l2-802.1w—Matches the 802.1w BPDU
- l2-lacp—Matches the LACP PDU
- l2-mstp—Matches the MSTP BPD
- l2-stp—Matches the spanning tree BPDU
- l3-bgp—Matches with the BGP
- l3-ospf—Matches the OSPF protocol
- l3-vrrp—Matches the VRRP
- l3-vrrpe—Matches the VRRP-E
- lldp—Matches the LLDP
- mrp—Matches the MRP
- out-port—Matches the output port
- priority—Matches the priority
- protocol—Matches the IP
- pvst—Matches the PVST protocol
- sa—Matches the source MAC address
- snmp—Matches the SNMP
- spa—Matches the source IP address
- sport—Matches the source protocol port
- udld—Matches the UDLD protocol
- vlan-id—Matches the VLAN ID
- vsrp—Matches the VSRP