EasyManua.ls Logo

Cisco Nexus 5600 Series - Configuration Examples for ERSPAN; Configuration Example for an ERSPAN Source Session; Configuration Example for an ERSPAN Type III Source Session; Configuration Example for an IP Address as the Source for an ERSPAN 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 Examples for ERSPAN
Configuration Example for an ERSPAN Source Session
The following example shows how to configure an ERSPAN source session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# description source1
switch(config-erspan-src)# source interface ethernet 1/1
switch(config-erspan-src)# source vlan 1
switch(config-erspan-src)# source vsan 1
switch(config-erspan-src)# destination ip 192.0.2.2
switch(config-erspan-src)# erspan-id 1
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# ip ttl 5
switch(config-erspan-src)# ip dscp 5
switch(config-erspan-src)# no shut
switch(config-erspan-src)# exit
switch(config)# copy running-config startup config
Configuration Example for an ERSPAN Type III Source Session
The following example shows how to configure an ERSPAN Type III source session:
switch# configuration terminal
switch(config)# monitor erspan switch-id 1009
switch(config)# monitor erspan granularity 1588
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# header-type 3
switch(config-erspan-src)# description source1
switch(config-erspan-src)# source interface ethernet 1/1
switch(config-erspan-src)# source vlan 1
switch(config-erspan-src)# source vsan 1
switch(config-erspan-src)# destination ip 192.0.2.2
switch(config-erspan-src)# erspan-id 5
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# filter access-group erspan_acl_filter
switch(config-erspan-src)# ip ttl 5
switch(config-erspan-src)# ip dscp 42
switch(config-erspan-src)# no shut
switch(config-erspan-src)# exit
switch(config)# exit
Configuration Example for an IP Address as the Source for an ERSPAN Session
This example shows how to configure an IP address as the source for an ERSPAN session:
switch# configure terminal
switch(config)# monitor erspan origin ip-address 192.0.2.1
switch(config)# exit
switch(config)# copy running-config startup config
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 215
Configuring ERSPAN
Configuration Examples for ERSPAN

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals