cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1008
Views
0
Helpful
3
Replies

ERSPAN (SVI member not retrieved error) on the Nexus 7k

williamn0312
Level 1
Level 1

Hello,

 

I am trying to set up an ERspan session, but am encountering issues when doing so. After configuring the loopback interface, and after setting the ERspan global IP to that of the loopback interface, the source monitoring session is down. It gives me an "SVI member not retrieved error." Has anyone ever encountered this and knows a fix for it? Any help will be greatly appreciated.

 

Here's the running config: https://docs.google.com/document/d/1rmYr1o4j61VbmtpSZZBpOftn9ZWQA_cF3OqzG7rg2W8/edit?usp=sharing

 

If someone has ever encountered this, please feel free to chime in. Many thanks!

3 Replies 3

Hi,

 

 link is not available. Can you share the config here?

https://docs.google.com/document/d/1rmYr1o4j61VbmtpSZZBpOftn9ZWQA_cF3OqzG7rg2W8/edit?usp=sharing

ERSPAN 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

Please see it again, thanks!

Review Cisco Networking for a $25 gift card