EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 306

Cisco Nexus 7000 Series
746 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
M Commands
monitor session
278
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
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 Description
show monitor session Displays the specified SPAN or ERSPAN session configuration.
description Adds a comment or a description of up to 32 characters to a SPAN session.
destination Adds a SPAN destination where source packets are copied.
source Configures the source and the traffic direction in which to copy packets for
a SPAN and ERSPAN session.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals