BGP configuration example

The MVPN AD next-hop-self policies and the vpn-ipv4 policy must be imported under BGP on ABR routers.

In addition, for unicast vpn-ipv4 connectivity, the enable-inter-as-vpn command must be configured under BGP.

A:Dut-B>config>router>bgp# info 
----------------------------------------------
            family ipv4 ipv6 vpn-ipv4 vpn-ipv6 mvpn-ipv4 mcast-vpn-ipv4 mvpn-ipv6 mcast-vpn-ipv6
            vpn-apply-import
            vpn-apply-export
            connect-retry 10
            keepalive 10
            hold-time 30
            enable-inter-as-vpn
            rapid-update vpn-ipv4 vpn-ipv6 mvpn-ipv4 mcast-vpn-ipv4 mvpn-ipv6 mcast-vpn-ipv6
            group "ibgp_A"
                next-hop-self
                cluster 10.20.1.2
                export "mod_nh_10.20.1.2" "mod_nh_spmsi_10.20.1.2" "mod_nh_vpn_10.20.1.2"
                neighbor 10.20.1.1
                    local-address 10.20.1.2
                    med-out 100
                    peer-as 100
                exit
            exit
            group "ibgp_D"
                next-hop-self
                cluster 10.180.4.2
                export "mod_nh_10.20.1.2" "mod_nh_spmsi_10.20.1.2" "mod_nh_vpn_10.20.1.2"