F Commands
filter frame-type ipv4
194
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
filter frame-type ipv4
To configure the IPv4 frame type filter for the Ethernet Switched Port Analyzer (SPAN) or Encapsulated
Remote Switched Port Analyzer (ERSPAN) session, use the filter frame-type ipv4 command. To
remove the Ethernet frame type filter, use the no form of this command.
filter frame-type ipv4 [[src-ip src-ip] [dest-ip dest-ip] [tos tos-value] [l4-protocol l4-value]]
no filter frame-type ipv4 [[src-ip src-ip] [dest-ip dest-ip] [tos tos-value] [l4-protocol l4-value]]
Syntax Description
Defaults None
Command Modes config-monitor mode (for a SPAN session)
config-erspan-src mode (for an ERSPAN session)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure the IPv4 frame type filter for a SPAN session:
switch(config)# monitor session 1
switch(config-monitor)# filter frame-type ipv4 l4-protocol 3
This example shows how to configure the IPv4 frame type filter for an ERSPAN session:
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# filter frame-type ipv4 l4-protocol 3
src-ip src-ip (Optional) Specifies a filter based on an IPv4 source IP address.
dest-ip dest-ip (Optional) Specifies a filter based on an IPv4 destination IP address.
tos tos-value (Optional) Specifies a filter based on the type of service (ToS) in the IP header.
l4-protocol
l4-value
(Optional) Specifies a filter based on a Layer 4 protocol number set in the protocol
field of the IP header.
Release Modification
6.2(2) This command was introduced.