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

route leaking is not taking place in nxos

prohit
Level 1
Level 1

LEAF2# show ip route vrf campus_50001
IP Route Table for VRF "campus_50001"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

9.1.0.0/30, ubest/mbest: 1/0
*via 10.31.95.51, [20/0], 00:01:06, bgp-65535, external, tag 65534
10.31.95.0/24, ubest/mbest: 1/0, attached
*via 10.31.95.41, Eth1/3.2000, [0/0], 02:51:41, direct
10.31.95.41/32, ubest/mbest: 1/0, attached
*via 10.31.95.41, Eth1/3.2000, [0/0], 02:51:41, local
10.125.1.0/24, ubest/mbest: 1/0
*via 10.31.95.51, [20/0], 00:01:06, bgp-65535, external, tag 65534

 

====

LEAF2# show ip route vrf vxlan-900001
IP Route Table for VRF "vxlan-900001"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

4.1.1.0/24, ubest/mbest: 1/0, attached
*via 4.1.1.1, Vlan1001, [0/0], 02:53:46, direct, tag 54321
4.1.1.1/32, ubest/mbest: 1/0, attached
*via 4.1.1.1, Vlan1001, [0/0], 02:53:46, local, tag 54321
4.2.2.0/24, ubest/mbest: 1/0, attached
*via 4.2.2.1, Vlan1002, [0/0], 02:53:45, direct, tag 54321
4.2.2.1/32, ubest/mbest: 1/0, attached
*via 4.2.2.1, Vlan1002, [0/0], 02:53:45, local, tag 54321
4.2.2.2/32, ubest/mbest: 1/0, attached
*via 4.2.2.2, Vlan1002, [190/0], 02:48:11, hmm

LEAF2#

 

====

LEAF2# show run vrf vxlan-900001

!Command: show running-config vrf vxlan-900001
!Running configuration last done at: Mon Oct 9 18:10:44 2023
!Time: Mon Oct 9 18:15:13 2023

version 10.2(6) Bios:version

interface Vlan101
vrf member vxlan-900001

interface Vlan1001
vrf member vxlan-900001

interface Vlan1002
vrf member vxlan-900001
vrf context vxlan-900001
vni 900001
rd 2:2
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
route-target import 1:1
route-target import 2:2
route-target import 99:99
route-target export 2:2
export map vrf_to_vrf
import map CAMPUS_PREFIXES
import vrf advertise-vpn
export vrf allow-vpn
address-family ipv6 unicast
route-target both auto
route-target both auto evpn
router bgp 65535
vrf vxlan-900001
address-family ipv4 unicast
redistribute direct route-map HOST-SVI
address-family ipv6 unicast
redistribute direct route-map HOST-SVI

===

LEAF2# show run vrf campus_50001

!Command: show running-config vrf campus_50001
!Running configuration last done at: Mon Oct 9 18:10:44 2023
!Time: Mon Oct 9 18:15:42 2023

version 10.2(6) Bios:version

interface Vlan2000
vrf member campus_50001

interface Ethernet1/3.2000
vrf member campus_50001
vrf context campus_50001
vni 50001
rd 1:1
address-family ipv4 unicast
route-target import 65535:900001
route-target import 1:1
route-target import 2:2
route-target export 1:1
export map ADD-RT
import map HOST-SVI
import vrf advertise-vpn
export vrf allow-vpn
router bgp 65535
vrf campus_50001
router-id 40.1.1.1
address-family ipv4 unicast
network 0.0.0.0/0
advertise l2vpn evpn
redistribute direct route-map extcomm
maximum-paths 2
maximum-paths ibgp 2
address-family ipv6 unicast
advertise l2vpn evpn
maximum-paths 2
maximum-paths ibgp 2
neighbor 10.31.95.51
remote-as 65534
address-family ipv4 unicast

=====

LEAF2# show run | sec route-map
route-map ADD-RT permit 10
match ip address prefix-list NETWORK
set extcommunity rt 99:99
route-map CAMPUS_PREFIXES permit 20
match tag 65534
route-map HOST-SVI permit 10
match tag 54321
route-map extcomm permit 1000
set extcommunity rt 1:1
route-map extcomm permit 1001
set extcommunity rt 2:2
redistribute direct route-map extcomm
redistribute direct route-map HOST-SVI
redistribute direct route-map HOST-SVI
LEAF

 

 

 

 

1 Reply 1

Hi friend 

Is this issue solved or not?

MHM