Cisco Nexus 7000 Series Configuration Manual page 378

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

Advertisement

Configuring Rule-Based ERSPAN
Step 13
Step 14
Step 15
Step 16
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
350
Command or Action
switch(config-erspan-src)# [no]
filter frame-type ipv4 [[src-ip
src-ip] [dest-ip dest-ip] [tos
tos-value] [l4-protocol l4-value]]
switch(config-erspan-src)# [no]
filter frame-type ipv6 [[src-ip
src-ip ] [dest-ip dest-ip] [tos
tos-value] [l4-protocol l4-value]]
Repeat Steps 9 to 14 for all filters
for the session.
switch(config-erspan-src)# source
{[interface [type slot/port [-port]
[,type slot/port[-port]]]
[port-channel channel-number]]
| [vlan {number | range}]} [rx |
tx | both]
Purpose
• r-ctl—Specifies a filter based on the routing control flags
(R CTL) value.
• sof—Specifies a filter based on the start of frame (SOF)
packets.
• cmd-code—Specifies a filter based on a command code.
(Optional)
Configures the IPv4 frame type filter for the ERSPAN 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 IPv4 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 the IPv6 frame type filter for the ERSPAN 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 IPv6 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.
You can configure one or more sources, as either a series of
comma-separated entries or a range of numbers. You can specify
Configuring ERSPAN

Advertisement

Table of Contents
loading

Table of Contents