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 Configuration Manual

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

Advertisement

Configuring ERSPAN

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)#
switch(config)# copy running-config startup config
OL-31641-01
exit
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Configuration Examples for ERSPAN
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents