Cisco Catalyst 4500 Series Configuration Manual page 539

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

Chapter 2
monitor capture mycap match
To define an expliciti in-line core filter, use the monitor capture mycap match command. To remove
it, use the no form of this command.
Switch# [no] monitor capture mycap match {any | mac mac-match-string | ipv4
ipv4-match-string | ipv6 ipv6-match-string}
To use a filter for MAC, use the format below
Switch# [no] monitor capture mycap match mac {src-mac-addr src-mac-mask | any | host
src-mac-addr} | {dest-mac-addr dest-mac-mask | any | host dest-mac-addr}
To use a filter for IPv4/IPv6, use one of the formats below
Switch# [no] monitor capture mycap match {ipv4 | ipv6} [src-prefix/length | any | host
src-ip-addr] [dest-prefix/length | any | host dest-ip-addr]
Switch# [no] monitor capture mycap match {ipv4 | ipv6} proto {tcp | udp}
[src-prefix/length | any | host src-ip-addr] [eq | gt | lt | neq <0-65535>]
[dest-prefix/length | any | host dest-ip-addr] [eq | gt | lt | neq <0-65535>]
Syntax Description
any
mac mac-match-string
ipv4 ipv4-match-string
ipv6 ipv6-match-string
match name
src-mac-addr
src-mac-mask
host src-mac-addr
dest-mac-addr
dest-mac-mask
host dest-mac-addr
src-prefix/length
host src-ip-addr
dest-prefix/length
host dest-ip-addr
proto {tcp | udp}
{eq | gt | lt | neq} <0-65535>
Command Default
none
Command Modes
Privileged EXEC mode
Specifies "any" packet
Specifies a Layer 2 packet
Specifies an IPv4 packet
Specifies an IPv6 packet
Specifies a capture point
Specifies source MAC address
Specifies source MAC mask
Source (or destination) MAC (or IP) address
Specifies a destination MAC address
Specifies a destination MAC mask
Specifies a source (or destination) MAC (or IP) address
Specifies a source prefix / length
Specifies a host source IP address
Specifices a destination prefix / length
Specifies a source (or destination) MAC (or IP) address
Specifies the protocol to be used
Specifies Equal, Greater Than, Less than, Not Equal To
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
monitor capture mycap match
2-499

Advertisement

Table of Contents
loading

Table of Contents