Verifying The Erspan Configuration; Configuration Examples For Erspan; Configuration Example For An Erspan Source Session; Configuration Example For An Erspan Destination Session - Cisco Nexus 3548 Configuration Manual

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

Advertisement

Verifying the ERSPAN Configuration

Verifying the ERSPAN Configuration
Use the following command to verify the ERSPAN configuration information:
Command
show monitor session {all | session-number | range
session-range}
show running-config monitor
show startup-config monitor

Configuration Examples for ERSPAN

Configuration Example for an ERSPAN Source Session

The following example shows how to configure an ERSPAN source session:
switch# config t
switch(config)# interface e14/30
switch(config-if)# no shut
switch(config-if)# exit
switch(config)# monitor erspan origin ip-address 3.3.3.3 global
switch(config)# monitor erspan granularity 100_ns
switch(config-erspan-src)# header-type 3
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# source interface e14/30
switch(config-erspan-src)# erspan-id 1
switch(config-erspan-src)# ip ttl 16
switch(config-erspan-src)# ip dscp 5
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 9.1.1.2
switch(config-erspan-src)# no shut
switch(config-erspan-src)# exit
switch(config)# show monitor session 1

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
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
176
Purpose
Displays the ERSPAN session configuration.
Displays the running ERSPAN configuration.
Displays the ERSPAN startup configuration.
Configuring ERSPAN

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents