To enable external connectivity,
you can configure the send-community
attribute when you create or
update the BGP peer group.
efa tenant service bgp peer-group create --name <bgp-pg-name> --tenant <tenant-name> --pg-name <device-ip:pg-name> --pg-asn <device-ip,pg-name:remote-asn> --pg-bfd-enable <device-ip,pg-name:true|false> --pg-ipv4-uc-nbr-send-community <device-ip,pg-name: all|both|extended|large|standard|large-and-extended|large-and-standard> --pg-ipv6-uc-nbr-send-community <device-ip,pg-name: all|both|extended|large|standard|large-and-extended|large-and-standard>
efa tenant service bgp peer-group update --name <bgp-pg-name> --tenant <tenant-name> --operation peer-group-add --pg-name <device-ip:pg-name> --pg-asn <device-ip,pg-name:remote-asn> --pg-bfd-enable <device-ip,pg-name:true|false> --pg-ipv4-uc-nbr-send-community <device-ip,pg-name: all|both|extended|large|standard|large-and-extended|large-and-standard> --pg-ipv6-uc-nbr-send-community <device-ip,pg-name: all|both|extended|large|standard|large-and-extended|large-and-standard>
The following is an example output of configuring send-community when you create or update a BGP peer group:
efa tenant service bgp peer-group create --name ten1bgppg1 --tenant ten1 --pg-name 10.20.246.15:pg1 --pg-asn 10.20.246.15,pg1:55001 --pg-bfd-enable 10.20.246.15,pg1:true --pg-ipv4-uc-nbr-send-community 10.20.246.15,pg1:standard --pg-name 10.20.246.16:pg1 --pg-asn 10.20.246.16,pg1:55001 --pg-bfd-enable 10.20.246.16,pg1:true --pg-ipv4-uc-nbr-send-community 10.20.246.16,pg1:extended efa tenant service bgp peer-group update --name ten1bgppg1 --tenant ten1 --operation peer-group-add --pg-name 10.20.246.15:pg2 --pg-asn 10.20.246.15,pg2:55002 --pg-bfd-enable 10.20.246.15,pg2:true --pg-ipv6-uc-nbr-send-community 10.20.246.15,pg2:all --pg-name 10.20.246.16:pg2 --pg-asn 10.20.246.16,pg2:55002 --pg-bfd-enable 10.20.246.16,pg2:true --pg-ipv6-uc-nbr-send-community 10.20.246.16,pg2:both
efa tenant service bgp peer-group show --detail ============================================ Name : ten1bgppg1 Tenant : ten1 State : bgp-pg-created Description : Peer Group ---------- Device IP : 10.20.246.16 Peer Group : pg1 Remote ASN : 65002 Next Hop Self : true Update Source IP : 10.20.30.40 BFD Enabled : true BFD Interval : 100 BFD Rx : 300 BFD Multiplier : 5 MD5 Password : $9$QxCvD7N6a0P96eT3BvnQfQ== Remove Private AS : true Prefix List In : Prefix List Out : Route Map In : Route Map Out : Send Community : standard (ipv4) Dev State : provisioned App State : cfg-in-sync Device IP : 10.20.246.16 Peer Group : pg2 Remote ASN : 65002 Next Hop Self : true Update Source IP : 10.20.30.50 BFD Enabled : true BFD Interval : 100 BFD Rx : 300 BFD Multiplier : 5 MD5 Password : $9$QxCvD7N6a0P96eT3BvnQfQ== Remove Private AS : true Prefix List In : Prefix List Out : Route Map In : Route Map Out : Send Community : all (ipv6) Dev State : provisioned App State : cfg-in-sync ================================= |
===================================== Device IP : 10.20.246.15 Peer Group : pg1 Remote ASN : 65002 Next Hop Self : true Update Source IP : 10.20.30.40 BFD Enabled : true BFD Interval : 100 BFD Rx : 300 BFD Multiplier : 5 MD5 Password : $9$QxCvD7N6a0P96eT3BvnQfQ== Remove Private AS : true refix List In : Prefix List Out : Route Map In : Route Map Out : Send Community : extended (ipv4) Dev State : provisioned App State : cfg-in-sync Device IP : 10.20.246.15 Peer Group : pg2 Remote ASN : 65002 Next Hop Self : true Update Source IP : 10.20.30.50 BFD Enabled : true BFD Interval : 100 BFD Rx : 300 BFD Multiplier : 5 MD5 Password : $9$QxCvD7N6a0P96eT3BvnQfQ== Remove Private AS : true Prefix List In : Prefix List Out : Route Map In : Route Map Out : Send Community : both (ipv6) Dev State : provisioned App State : cfg-in-sync ================================= |
Rack1-Device1# show running-config router bgp router bgp local-as 4200000000 capability as4-enable fast-external-fallover neighbor pg1 peer-group neighbor pg1 remote-as 65002 neighbor pg1 update-source 10.20.30.40 neighbor pg1 next-hop-self neighbor pg1 password $9$QxCvD7N6a0P96eT3BvnQfQ== neighbor pg1 remove-private-as neighbor pg1 bfd neighbor pg1 bfd interval 100 min-rx 300 multiplier 5 neighbor pg2 peer-group neighbor pg2 remote-as 65002 neighbor pg2 update-source 10.20.30.50 neighbor pg2 next-hop-self neighbor pg2 password $9$QxCvD7N6a0P96eT3BvnQfQ== neighbor pg2 remove-private-as neighbor pg2 bfd neighbor pg2 bfd interval 100 min-rx 300 multiplier 5 neighbor 10.20.20.4 remote-as 4200000000 neighbor 10.20.20.4 next-hop-self address-family ipv4 unicast network 172.31.254.214/32 network 172.31.254.228/32 neighbor pg2 prefix-list ipPrefixList2 in neighbor pg2 prefix-list ipPrefixList2 out neighbor pg2 route-map in routeMap2 neighbor pg2 route-map out routeMap2 neighbor pg1 prefix-list ipPrefixList1 in neighbor pg1 prefix-list ipPrefixList1 out neighbor pg1 route-map in routeMap1 neighbor pg1 route-map out routeMap1 neighbor pg1 send-community standard maximum-paths 8 graceful-restart ! address-family ipv6 unicast neighbor pg2 prefix-list ipPrefixList2 in neighbor pg2 prefix-list ipPrefixList2 out neighbor pg2 route-map in routeMap2 neighbor pg2 route-map out routeMap2 neighbor pg2 send-community all neighbor pg1 prefix-list ipPrefixList1 in neighbor pg1 prefix-list ipPrefixList1 out neighbor pg1 route-map in routeMap1 neighbor pg1 route-map out routeMap1 ! address-family l2vpn evpn graceful-restart ! ! |
Rack1-Device2# show running-config router bgp router bgp local-as 4200000000 capability as4-enable fast-external-fallover neighbor pg1 peer-group neighbor pg1 remote-as 65002 neighbor pg1 update-source 10.20.30.40 neighbor pg1 next-hop-self neighbor pg1 password $9$QxCvD7N6a0P96eT3BvnQfQ== neighbor pg1 remove-private-as neighbor pg1 bfd neighbor pg1 bfd interval 100 min-rx 300 multiplier 5 neighbor pg2 peer-group neighbor pg2 remote-as 65002 neighbor pg2 update-source 10.20.30.50 neighbor pg2 next-hop-self neighbor pg2 password $9$QxCvD7N6a0P96eT3BvnQfQ== neighbor pg2 remove-private-as neighbor pg2 bfd neighbor pg2 bfd interval 100 min-rx 300 multiplier 5 neighbor 10.20.20.5 remote-as 4200000000 neighbor 10.20.20.5 next-hop-self address-family ipv4 unicast network 172.31.254.214/32 network 172.31.254.246/32 neighbor pg2 prefix-list ipPrefixList2 in neighbor pg2 prefix-list ipPrefixList2 out neighbor pg2 route-map in routeMap2 neighbor pg2 route-map out routeMap2 neighbor pg1 prefix-list ipPrefixList1 in neighbor pg1 prefix-list ipPrefixList1 out neighbor pg1 route-map in routeMap1 neighbor pg1 route-map out routeMap1 neighbor pg1 send-community extended maximum-paths 8 graceful-restart ! address-family ipv6 unicast neighbor pg2 prefix-list ipPrefixList2 in neighbor pg2 prefix-list ipPrefixList2 out neighbor pg2 route-map in routeMap2 neighbor pg2 route-map out routeMap2 neighbor pg2 send-community both neighbor pg1 prefix-list ipPrefixList1 in neighbor pg1 prefix-list ipPrefixList1 out neighbor pg1 route-map in routeMap1 neighbor pg1 route-map out routeMap1 ! address-family l2vpn evpn graceful-restart ! ! |