cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
232
Views
0
Helpful
1
Replies

Nexus 5K L2 mode only ERSPAN session

Hi ,

I have 2 5K's in L2 mode only using eVPC and  2 Fex extenders per 5K connected redundant.  To be able to capture trafic from a server connected to these fexes i would like to setup an ERSPAN session.

By default the 5k has a management vrf with contains a default route.  I can ping the from this VRF to my capture station userd as ERSPAN destination.  I cannot use the managment vrf for ERSPAN session not allowed.

Since my default VRF doesn't have any routes the ERSPAN session indicates no route to destination.

It is operating in L2 mode only so how do i create a default route inside the default vrf?  Or use an additional vrf.

I tried creating a new SVI and adding a static route but the route doesn't show up in default vrf routing table.

The following featers have been enabled:

dhcp                  1         enabled
fex                   1         enabled
interface-vlan        1         enabled
lacp                  1         enabled
lldp                  1         enabled
sshServer             1         enabled
tacacs                1         enabled
udld                  1         enabled
vpc                   1         enabled

interfaces:

Interface               VRF-Name                        VRF-ID  Site-of-Origin
Vlan1                   default                              1  --
mgmt0                   management                           2  --

The VPC uplink port towards upstream switch has been configured as trunk.

interface Port-channel3
 description swi Nexus Server vPC100
 switchport
 switchport trunk allowed vlan 62,166,170-172,220,221,314,325,900,901,906,907
 switchport trunk allowed vlan add 912-914,920,923,933
 switchport mode trunk
end

I tried creating an SVI for vlan 220 assing an available ip to it and add static route in seperate vrf but it doesn't show the route and i am still unable to ping from the newly created vrf.

Any help on approaching this would be nice.

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Create an svi for vlan 220, assign an IP address to it and than create default route towards the upstream switch/router where the gateway of  all your vlans are located.

inter vlan220

ip address <ip address>

no sh

ip route 0.0.0.0 0.0.0.0 <ip address of the upstream switch/router>

test by pinging the gateway.

HTH

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card