You can configure the route map attribute to enable external connectivity.
Note
For information about commands and supported parameters to configure route map attribute, see ExtremeCloud Orchestrator Command Reference, 3.3.1 .efa tenant service bgp peer create --name <bgp-peer-name> --tenant <tenant-name> --ipv4-uc-nbr <device-ip,vrf-name:neighbor-ip,remote-asn> --ipv4-uc-nbr-bfd <switch-ip,vrf-name:ipv4-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfdmult> --ipv4-uc-nbr-route-map <device-ip,vrf-name:neighbor-ip,route-mapname,direction(in/out)>
efa tenant service bgp peer update --name <bgp-peer-name> --tenant <tenant-name> --operation peer-add --ipv4-uc-nbr <device-ip,vrf-name:neighbor-ip,remote-asn> --ipv4-uc-nbr-bfd <switch-ip,vrf-name:ipv4-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfdmult> --ipv4-uc-nbr-route-map <device-ip,vrf-name:neighbor-ip,route-mapname,direction(in/out)>
The following example configures route map attributes: efa tenant service bgp peer update --name ten1bgppeer1 --tenant ten1 --operation peer-add --ipv4-uc-nbr 10.20.246.15,ten1vrf1:10.20.30.50,50000 --ipv4-uc-nbr-bfd 10.20.246.15,ten1vrf1:10.20.30.50,true --ipv4-uc-nbr-route-map 10.20.246.15,ten1vrf1:10.20.30.50,rmap2,in --ipv4-uc-nbr 10.20.246.16,ten1vrf1:10.20.30.50,50000 --ipv4-uc-nbr-bfd 10.20.246.16,ten1vrf1:10.20.30.50,true --ipv4-uc-nbr-route-map 10.20.246.16,ten1vrf1:10.20.30.50,rmap2,out
|
Rack1-Device1# show running-config router bgp router bgp local-as 4200000000 capability as4-enable fast-external-fallover neighbor 10.20.20.4 remote-as 4200000000 neighbor 10.20.20.4 next-hop-self address-family ipv4 unicast network 172.31.254.46/32 network 172.31.254.123/32 maximum-paths 8 graceful-restart ! address-family ipv4 unicast vrf ten1vrf1 redistribute connected neighbor 10.20.30.40 remote-as 50000 neighbor 10.20.30.40 route-map in rmap1 neighbor 10.20.30.40 bfd neighbor 10.20.30.50 remote-as 50000 neighbor 10.20.30.50 route-map in rmap2 neighbor 10.20.30.50 bfd maximum-paths 8 ! address-family ipv4 unicast ! address-family ipv4 unicast vrf ten1vrf1 redistribute connected maximum-paths 8 ! 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 10.20.20.5 remote-as 4200000000 neighbor 10.20.20.5 next-hop-self address-family ipv4 unicast network 172.31.254.46/32 network 172.31.254.176/32 maximum-paths 8 graceful-restart ! address-family ipv4 unicast vrf ten1vrf1 redistribute connected neighbor 10.20.30.40 remote-as 50000 neighbor 10.20.30.40 route-map out rmap1 neighbor 10.20.30.40 bfd neighbor 10.20.30.50 remote-as 50000 neighbor 10.20.30.50 route-map out rmap2 neighbor 10.20.30.50 bfd maximum-paths 8 ! address-family ipv4 unicast ! address-family ipv4 unicast vrf ten1vrf1 redistribute connected maximum-paths 8 ! address-family l2vpn evpn graceful-restart ! ! |