Use this command to filter debug messages based upon the specified criteria.
vlan-in-list vlan-list | (Optional) Filters packet debug messages based upon an inbound VLAN ID or range of IDs. Valid values are 1 - 4094. |
vlan-out-list vlan-list | (Optional) Filters packet debug messages based upon an outbound VLAN ID or range of IDs. Valid values are 1 - 4094. |
port-in-list port-list | (Optional) Filters packet debug messages based upon an inbound port or range of ports in a media.slot.port format. |
port-out-list port-list | (Optional) Filters packet debug messages based upon an outbound port or range of ports in a media.slot.port format. |
src-mac mac-address | (Optional) Filters packet debug messages based upon a 48-bit MAC hardware source address. |
dest-mac mac-address | (Optional) Filters packet debug messages based upon a 48-bit MAC hardware destination address. |
etype value | (Optional) Filters packet debug messages based upon an IEEE Ethernet type number or keyword:
|
access-list access-list | (Optional) Filters packet debug messages based upon the contents of an IPv4 or IPv6 access list. |
arp ip-address netmask | ip-address/length | (Optional) Filters packet debug messages based upon an ARP IP network address. |
At least one option must be specified. Filtering does not take place for unspecified options.
Configuration command.
Packet debug messages only display for the specified options. At least one option must be specified.
This command overwrites any preexisting debug filter configuration.
Use the no debug packet command to reset all packet debug parameters to the default value or behavior. In the case of packet debug filtering, all packet debug messages display.
Use the show debugging packet command to display packet debug settings, including the current debug packet filter settings.
This example shows how to filter packet debug such that only packets that meet the criteria specified in access-list doctest display:
System(rw-config)->debug packet filter access-list doctest System(rw-config)->