Creating Filter-Lists; Associating A Filter List To A Monitor Session - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Complex Rule-based SPAN

Creating Filter-Lists

BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Procedure
Step 1
Step 2
Step 3

Associating a Filter List to a Monitor Session

BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
310
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
monitor filter-listfilter-list-name
Example:
switch(config)# monitor filter-list
sample-filter-list
switch(config-monitor-filter-list)#
permit filter filter-names deny
filterfilter-names
Example:
switch(config-monitor-filter-list)#
permit filter test-filter deny filter
test-filter1
switch(config-monitor-filter-list)#
switch(config-monitor-filter-list)#
permit filter test-filter2
switch(config-monitor-filter-list)#
switch(config-monitor-filter-list)#
deny filter test-filter3
switch(config-monitor-filter-list)#
Purpose
Enters global configuration mode.
Enters the monitor filter configuration mode.
The length of the string should not exceed 32
Note
characters.
Use this command to permit and/or deny filters within
the filter-list.
• When the command permit filter
Note
filter-names deny filterfilter-names is
specified in the same line, the rule
matches all permit and deny criteria,
where packets matching filter x and
filter y in permit filter X and deny filter
Y are SPAN-ed—this is an AND
condition.
• When the command permit filter
filter-names deny filterfilter-names is
specified in separate lines, the rule
matches either permit or deny criteria,
where packets match filter x OR filter
y in permit filter X and deny filter Y are
SPAN-ed—it is an OR condition.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents