EasyManua.ls Logo

Cisco Nexus 5600 Series - Configuration Example for Truncated ERSPAN; Configuration Example for an ERSPAN Destination Session; Configuration Example for an ERSPAN ACL; Configuration Example for an ERSPAN SPAN-On-Drop Session

Cisco Nexus 5600 Series
378 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...
Configuration Example for Truncated ERSPAN
This example shows how to configure truncated ERSPAN:
switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# mtu 64
switch(config-mon-erspan-src)# exit
switch(config)# copy running-config startup config
Configuration Example for an ERSPAN Destination Session
The following example shows how to configure an ERSPAN destination session:
switch# config t
switch(config)# interface e14/29
switch(config-if)# no shut
switch(config-if)# switchport
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 2 type erspan-destination
switch(config-erspan-dst)# source ip 9.1.1.2
switch(config-erspan-dst)# destination interface e14/29
switch(config-erspan-dst)# erspan-id 1
switch(config-erspan-dst)# vrf default
switch(config-erspan-dst)# no shut
switch(config-erspan-dst)# exit
switch(config)# show monitor session 2
Configuration Example for an ERSPAN ACL
This example shows how to configure an ERSPAN ACL:
switch# configure terminal
switch(config)# ip access-list match_11_pkts
switch(config-acl)# permit ip 11.0.0.0 0.255.255.255 any
switch(config-acl)# exit
switch(config)# ip access-list match_12_pkts
switch(config-acl)# permit ip 12.0.0.0 0.255.255.255 any
switch(config-acl)# exit
switch(config)# vlan access-map erspan_filter 5
switch(config-access-map)# match ip address match_11_pkts
switch(config-access-map)# action forward
switch(config-access-map)# exit
switch(config)# vlan access-map erspan_filter 10
switch(config-access-map)# match ip address match_12_pkts
switch(config-access-map)# action forward
switch(config-access-map)# exit
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# filter access_group erspan_filter
Configuration Example for an ERSPAN SPAN-on-Drop Session
This example shows how to configure an ERSPAN SPAN-on-Drop session:
switch# configure terminal
switch(config) # monitor session 47 type span-on-drop-erspan
switch(config-span-on-drop-erspan) # description span-on-drop-erspan-session_47
switch(config-span-on-drop-erspan) # source interface ethernet 1/3
switch(config-span-on-drop-erspan) # destination ip 10.1.1.1
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
216 OL-31641-01
Configuring ERSPAN
Configuration Example for Truncated ERSPAN

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals