Cisco Nexus 7000 Series Configuration Manual page 344

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

Advertisement

Configuring Rule-Based SPAN
Step 9
Step 10
Step 11
Step 12
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
316
Command or Action
[no]filter frame-type ipv6 [[src-ip
src-ip] [dest-ip dest-ip] [tos
tos-value] [l4-protocol l4-value]]
Example:
switch(config-monitor)# filter
frame-type
ipv6 src-ip 10.0.0.1
(Optional) Repeat Steps 4 to 9 for all
filters for the session.
source {interface type | vlan
{number | range}} [rx | tx | both]
Example:
switch# configure terminal
switch(config)#
destination interface type {number
| range}
Example:
switch(config-monitor)#
destination
Purpose
• tos—Specifies a filter based on the type of service (TOS)
in the IP header.
• l4-protocol—Specifies a filter based on a Layer 4
protocol number set in the protocol field of the IP
header.
(Optional)
(Optional) Configures the IPv6 frame type filter for the SPAN
session. To remove the filter from the session, enter the no
form of the command. The optional keywords are as follows:
• src-ip—Specifies a filter based on an IPv6 source IP
address.
• dest-ip—Specifies a filter based on an IPv4 destination
IP address.
• tos—Specifies a filter based on the type of service (TOS)
in the IP header.
• l4-protocol—Specifies a filter based on a Layer 4
protocol number set in the protocol field of the IP
header.
(Optional) Configures sources and the traffic direction in
which to copy packets. You can enter a range of Ethernet
ports, a port channel, an inband interface, a range of VLANs,
a Cisco Nexus 2000 Series Fabric Extender interface, or a
fabric port channel connected to a Cisco Nexus 2000 Series
Fabric Extender can configure one or more sources, as either
a series of comma-separated entries or a range of numbers.
You can specify up to 128 interfaces. The VLAN range is
from 1 to 3967. The VLAN range of 4048 to 4093 is also
supported for Cisco NX-OS releases prior to 6.1.
You can specify the traffic direction to copy as ingress (rx),
egress (tx), or both. By default, the direction is both.
For a unidirectional session, the direction of the source must
match the direction specified in the session.
Configures destinations for copied source packets. You can
configure one or more destinations as either a series of
comma-separated entries or a range of numbers. You can
specify up to 128 interfaces.
Note
SPAN destination ports must be either access or trunk
ports.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents