F Commands
filter (SPAN)
184
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
filter (SPAN)
To configure the filters for an Ethernet Switched Port Analyzer (SPAN) session, use the filter command.
To remove the filters, use the no form of this command.
filter [vlan vlan-range] [bpdu [true | false]] [cos cos-value] [dest-mac dest-mac] [eth-type
eth-value] [flow-hash flow-value] [pc-lane port-number] [src_mac mac-address] [trace-route
[true | false]]
no filter [vlan vlan-range] [bpdu [true | false]] [cos cos-value] [dest-mac dest-mac] [eth-type
eth-value] [flow-hash flow-value] [pc-lane port-number] [src_mac mac-address] [trace-route
[true | false]]
Syntax Description
Defaults None
Command Modes Config-monitor configuration mode (config-monitor)
Supported User Roles network-admin
VDC-admin
Command History
vlan vlan-range (Optional) Specifies a filter based on a VLAN range.
bpdu (Optional) Specifies a filter based on the bridge protocol data unit (BPDU) class
of packets.
true (Optional) Specifies that a filter based on the bridge protocol data unit (BPDU)
class of packets is used.
false (Optional) Specifies a filter based on non-BPDU class of packets.
cos cos-value (Optional) Specifies a filter based on the class of service (CoS) in the dotlq
header.
dest-mac dest-mac (Optional) Specifies a filter based on a destination MAC address.
eth-type eth-value (Optional) Specifies a filter based on the Ethernet type.
flow-hash
flow-value
(Optional) Specifies a filter based on the result bundle hash (RBH) value.
pc-lane port-number (Optional) Specifies a filter based on a member of the port channel.
src_mac
mac-address
(Optional) Specifies a filter based on a source MAC address.
trace-route (Optional) Specifies a filter based on trace-route packets.
true (Optional) Specifies a that a filter based on trace-route packets is used.
false (Optional) Specifies a filter based on non trace-route packets.
Release Modification
6.2(2) This command was introduced.