Cisco Catalyst 4500 Series Command Reference Manual page 532

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

monitor capture mycap match
Command History
Release
IOS XE 3.3.0SG/
15.1(1)SG
Usage Guidelines
You can specify the core filter as a class map, access list, or an explicit in-line filter. If the filter has
already been specified when you enter this command, it replaces the older one.
The explicit, in-line filter is intended as a simple way to specify a core filter. In certain situations, you
must go through the approval process to change a configuration, which could be time-consuming.
Although explicit filters simplify this process, be aware that support is more extensive for access list and
class maps.
You can capture IPv4, IPv6, MAC, or "any" traffic by specifying the appropriate keywords. Depending
on the traffic type, the usage varies. For a MAC, you can specify an address or prefix. For IPv4 or IPv6,
you can match on several fields. For source or destination ports, several operators are supported.
Examples
The following example usages show how to set or remove an explicit filter:
Switch# monitor capture mycap match any
Switch# monitor capture mycap match mac any any
Switch# monitor capture mycap match mac host 0000.0a01.0102 host 0000.0a01.0103
Switch# monitor capture mycap match ipv4 any any
Switch# monitor capture mycap match ipv4 host 10.1.1.2 host 20.1.1.2
Switch# monitor capture mycap match ipv4 proto udp 10.1.1.0/24 eq 20001 20.1.1.0/24 eq
20002
Switch# monitor capture mycap match ipv4 proto udp 10.1.1.2/24 eq 20001 any
Switch# no monitor capture mycap match
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-474
Chapter 2
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents