Monitor Capture Mycap Match - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

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>
Defaults
none
Command Modes
Privileged EXEC mode
OL-25342 -01
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
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
monitor capture mycap match
2-451

Advertisement

Table of Contents
loading

Table of Contents