I have 2 routers R1 and R2 connected back to back. R1 and R2 are ebgp neighbors for address family ipv4 and address family vpnv4. I want to test the following:
--Redistribute a route from R2's global routing table into the vpnv4 address family and advertise the same to R1 under vpnv4 address family. I did below, but can't see the routes being learnt on R1 under vpnv4 address-family. Please suggest what is incorrect.
Below are my current configs: On R1:
Router#sho ip int bri Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 unassigned YES unset administratively down down GigabitEthernet0/1 22.214.171.124 YES manual up up Loopback0 126.96.36.199 YES manual up up Loopback111 unassigned YES unset up up Router#sho run | sec router bgp router bgp 1 bgp router-id 188.8.131.52 bgp log-neighbor-changes neighbor 184.108.40.206 remote-as 2 neighbor 220.127.116.11 ebgp-multihop 2 neighbor 18.104.22.168 update-source Loopback0 ! address-family vpnv4 neighbor 22.214.171.124 activate neighbor 126.96.36.199 send-community extended exit-address-family Router#
Router#sho ip int bri | i up GigabitEthernet0/1 188.8.131.52 YES manual up up Loopback0 184.108.40.206 YES manual up up Loopback22 220.127.116.11 YES manual up up Router#sho run | sec router bgp router bgp 2 bgp router-id 18.104.22.168 bgp log-neighbor-changes neighbor 22.214.171.124 remote-as 1 neighbor 126.96.36.199 ebgp-multihop 2 neighbor 188.8.131.52 update-source Loopback0 ! address-family vpnv4 neighbor 184.108.40.206 activate neighbor 220.127.116.11 send-community extended exit-address-family ! address-family ipv4 vrf TEST22 redistribute static metric 10 exit-address-family Router# Router#sho run | sec Null ip route 18.104.22.168 255.0.0.0 Null0 Router#