Sending Extended communities in IOS XR
When we create a vpnv4 peering between 2 ebgp peers in IOS, we use the following command
neighor *.*.*.* send-community exended
However, i am not certain how we do that in IOS XR. I realise that by default IOS XR does NOT send extended communities to ebgp peers so how do we do it? The only way i can see it if we enable the peer under the ipv4 family where the following command is present and then simply enable the peer under vpnv4 address family.
Is the config below correct if i wish to send extended communities to an ebgp peer? Is there another way of doing it?
router bgp 1
address-family ipv4 unicast
address-family vpnv4 unicast