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