https://docs.google.com/document/d/1rmYr1o4j61VbmtpSZZBpOftn9ZWQA_cF3OqzG7rg2W8/edit?usp=sharingERSPAN SOURCE:
Switch_1#configure terminal
!--- Configure the IP address for loopback interface, which is used !--- as source of the ERSPAN traffic.
switch_1(config)#interface loopback1
switch_1(config-if)#ip address 10.254.254.21/32
switch_1(config-if)#exit
!--- Configures an ERSPAN source session.
switch_1(config)#monitor session 60 type erspan-source
!--- Configure the sources and traffic direction.
switch_1(config-erspan-src)#source vlan 10 both
!--- Configure the destination IP address in the ERSPAN session.
switch_1(config-erspan-src)#destination ip 10.11.11.3
!--- Configure the ERSPAN ID.
switch_1(config-erspan-src)#erspan-id 902
!--- Configure the VRF.
switch_1(config-erspan-src)#vrf default
!--- Enable the ERSPAN source session (by default the session is !--- in shutdown state).
switch_1(config-erspan-src)#no shut
switch_1(config-erspan-src)#exit
!--- Configure the ERSPAN global origin IP address.
switch_1(config)#monitor erspan origin ip-address 10.254.254.21 global
ERSPAN DESTINATION:
switch_2#configure terminal
!--- Configures the vlan interface for the ERSPAN destination.
switch_2(config)#feature interface-vlan
switch_2(config)#interface Vlan 11
switch_2(config-if)#ip address 10.11.11.3/29
switch_2(config-if)#no ip redirects
switch_2(config-if)#no shutdown
switch_2(config-if)#exit
!--- Configures an ERSPAN destination session.
switch_2(config)#monitor session 60 type erspan-destination
!--- Configures the source IP address.
switch_2(config-erspan-src)#source ip 10.11.11.3
!--- Configures a destination for copied source packets.
switch_2(config-erspan-dst)#destination interface Ethernet2/34
!--- Configure the ERSPAN ID.
switch_2(config-erspan-dst)#erspan-id 902
!--- Configure the VRF.
switch_2(config-erspan-dst)#vrf default
!--- Enable the ERSPAN destination session (by default the session is !--- in shutdown state).
switch_2(config-erspan-dst)#no shut
switch_2(config-erspan-dst)#exit
The error appears in switch 1:
switch_1# show monitor session 60
session 60
---------------
type : erspan-source
state : down (SVI member not retrieved)
erspan-id : 902
vrf-name : default
acl-name : acl-name not specified
ip-ttl : 255
ip-dscp : 0
destination-ip : 10.11.11.3
origin-ip : 10.254.254.21 (global)
source intf :
rx : Eth2/10
tx : Eth2/10
both : Eth2/10
source VLANs :
rx :
tx :
both :
filter VLANs : filter not specified