Cisco Nexus 7000 Series Configuration Manual page 342

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

Advertisement

Configuring Rule-Based SPAN
Procedure
Step 1
Step 2
Step 3
Step 4
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
314
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
monitor session session-number
[shut]
Example:
switch(config)# monitor session
3
switch(config-monitor)#
mode extended
Example:
switch(config-monitor)# mode
extended
[no] filter[vlan-range] [bpdu [true |
false]] [cos cos-value]
[dest-macdest-mac] [eth-type
eth-value] [flow-hash flow-value]
[frame-type [eth | arp | fcoe | ipv4 |
ipv6]] [pc-lane port-number]
[src_mac mac-address] [trace-route
[true | false]]
Example:
switch(config-monitor)# filter
vlan 10,20
switch(config-monitor)# filter
frame-type
arp trace-route true
switch(config-monitor)# filter
bpdu false
Purpose
Enters global configuration mode.
Enters the monitor configuration mode. The new session
configuration is added to the existing session configuration.
By default, the session is created in the shut state, and the
session is a local SPAN session. The optional keywords are
as follows:
• rx—Specifies an ingress extended SPAN session.
• tx—Specifies an egress extended SPAN session.
• shut—Specifies a shut state for the selected session.
(Optional) Configures the SPAN session as an extended
bidirectional session.
Configures the 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:
• vlan—Specifies a filter based on a VLAN range.
• bpdu—Specifies a filter based on the bridge protocol
data unit (BPDU) class of packets.
• cos—Specifies a filter based on the class of service
(CoS) in the dotlq header.
• dest-mac—Specifies a filter based on a destination
MAC address.
• eth-type—Specifies a filter based on the Ethernet type.
• flow-hash—Specifies a filter based on the result bundle
hash (RBH) value.
• frame-type—Specifies a filter based on a frame type.
• pc-lane—Specifies a filter based on a member of the
port channel.
• src-mac—Specifies a filter based on a source MAC
address.
• trace-route—Specifies a filter based on the route bit in
the header.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents