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 18.104.22.168 YES manual up up Loopback0 22.214.171.124 YES manual up up Loopback111 unassigned YES unset up up Router#sho run | sec router bgp router bgp 1 bgp router-id 126.96.36.199 bgp log-neighbor-changes neighbor 188.8.131.52 remote-as 2 neighbor 184.108.40.206 ebgp-multihop 2 neighbor 220.127.116.11 update-source Loopback0 ! address-family vpnv4 neighbor 18.104.22.168 activate neighbor 22.214.171.124 send-community extended exit-address-family Router#
Router#sho ip int bri | i up GigabitEthernet0/1 126.96.36.199 YES manual up up Loopback0 188.8.131.52 YES manual up up Loopback22 184.108.40.206 YES manual up up Router#sho run | sec router bgp router bgp 2 bgp router-id 220.127.116.11 bgp log-neighbor-changes neighbor 18.104.22.168 remote-as 1 neighbor 22.214.171.124 ebgp-multihop 2 neighbor 126.96.36.199 update-source Loopback0 ! address-family vpnv4 neighbor 188.8.131.52 activate neighbor 184.108.40.206 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 220.127.116.11 255.0.0.0 Null0 Router#