Cisco Nexus 7000 Series Reference Manual page 306

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

monitor session
This example show how to create an ERSPAN destination:
switch# configure terminal
switch(config)# monitor session 1 type erspan-destination
switch(config-monitor-erspan-dst)# destination interface eth1/5
switch(config-monitor-erspan-dst)# vrf foo
switch(config-monitor-erspan-dst)# erspan-id 12
switch(config-monitor-erspan-dst)# source ip 10.1.1.1
switch(config-monitor-erspan-dst)# no shut
This example show how to create an access control list (ACL) filter and associate it with the ERSPAN
source, IP time-to-leave (TTL), and differentiated services code point (DSCP) value:
switch# configure terminal
switch(config)# monitor session 3 type erspan-source
switch(config-monitor)# description erspan_src_session_3
switch(config-monitor-erspan-src)# source interface port-channel 2
switch(config-monitor-erspan-src)# filter vlan 3-5, 7
switch(config-monitor-erspan-src)# filter access-group ACL1
switch(config-monitor-erspan-src)# destination ip-address 10.1.1.1
switch(config-monitor-erspan-src)# erspan-id 5
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# ip ttl 25
switch(config-erspan-src)# ip dscp 42
switch(config-monitor-erspan-src)# exit
Related Commands
Command
show monitor session
description
destination
source
Cisco Nexus 7000 Series NX-OS System Management Command Reference
278
Description
Displays the specified SPAN or ERSPAN session configuration.
Adds a comment or a description of up to 32 characters to a SPAN session.
Adds a SPAN destination where source packets are copied.
Configures the source and the traffic direction in which to copy packets for
a SPAN and ERSPAN session.
M Commands
OL-25806-03

Advertisement

Table of Contents
loading

Table of Contents