Cisco Catalyst 4500 Series Configuration Manual page 540

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
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 XE 3.9.xE and 15.2(5)Ex
2-500
Modification
This command was introduced on the Catalyst 4500 series switch.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents