Skip to content

Edge Connection

Edge Connection Between Border and External Devices

NDFC enables seamless interconnection between two fabrics using edge connections based on BGP. This approach leverages two built-in NDFC policies: bgp_peer_template_dci_underlay_jython and ebgp_underlay_dci_template. These policies automate the creation of BGP peer templates by specifying neighbor information, adding the appropriate neighbor statements under the fabric ASN, and configuring source interfaces—including IP addresses and related parameters.

Diagram
NameTypeConstraintMandatoryDefault Value
edge_connectionsList[edge_connections]No

NameTypeConstraintMandatoryDefault Value
dest_fabricStringYes
dest_deviceStringYes
dest_interfaceStringNo
source_deviceStringYes
source_interfaceStringYes
source_interface_enabledBooleantrue, falseNo
local_ipIPYes
neighbor_ipIPYes
bgp_sectionClass[bgp_section]No

bgp_section (vxlan.topology.edge_connections)

Section titled “bgp_section (vxlan.topology.edge_connections)”
NameTypeConstraintMandatoryDefault Value
bgp_password_enableBooleantrue, falseNo
bgp_passwordStringNo
neighbor_asnStringRegex: ^(?:\d{1,10}|\d{1,5}\.\d{1,5})$Yes
routing_tagIntegermin: 0, max: 4294967295No
descriptionStringNo
peer_template_freeformStringNo
interface_freeformStringNo
bgp_freeformStringNo

vxlan:
topology:
edge_connections:
- dest_fabric: external
source_device: dc1-border1
dest_device: NCS-5500-1
source_interface: eth1/10
dest_interface: FortyGigE0/0/0/1
local_ip: 12.32.0.16/31
neighbor_ip: 12.32.0.17
bgp_section:
bgp_password: 70617373776f7264313233
neighbor_asn: "69999"
description: "test1"
interface_freeform: " no ip redirects"
bgp_freeform: |2-
description dc1-border1
peer_template_freeform: |2-
soft-reconfiguration inbound always
route-map underlay-in in
route-map underlay-outbound out
bfd
- dest_fabric: external
source_device: dc1-border1
dest_device: NCS-5500-2
source_interface: eth1/11
dest_interface: FortyGigE0/0/0/1
local_ip: 12.32.0.18/31
neighbor_ip: 12.32.0.19
bgp_section:
bgp_password: 70617373776f7264313233
neighbor_asn: "69999"
interface_freeform: " no ip redirects"
bgp_freeform: |2-
description dc1-border1
peer_template_freeform: |2-
soft-reconfiguration inbound always
route-map underlay-in in
route-map underlay-outbound out
bfd
Terminal window
router bgp 69998
neighbor 12.32.0.17
inherit peer dc1-border1-NCS-5500-1-IPV4-EBGP
description dc1-border1
template peer dc1-border1-NCS-5500-1-IPV4-EBGP
remote-as 69999
password 3 70617373776f7264313233
address-family ipv4 unicast
send-community both
next-hop-self
soft-reconfiguration inbound always
route-map underlay-in in
route-map underlay-outbound out
bfd
interface Ethernet1/10
no switchport
ip address 12.32.0.16/31
evpn multisite dci-tracking
mtu 9216
no shutdown
no ip redirects
description test1
router bgp 69998
neighbor 12.32.0.19
inherit peer dc1-border1-NCS-5500-2-IPV4-EBGP
description dc1-border1
template peer dc1-border1-NCS-5500-2-IPV4-EBGP
remote-as 69999
password 3 70617373776f7264313233
address-family ipv4 unicast
send-community both
next-hop-self
soft-reconfiguration inbound always
route-map underlay-in in
route-map underlay-outbound out
bfd
interface Ethernet1/11
no switchport
ip address 12.32.0.18/31
evpn multisite dci-tracking
mtu 9216
no shutdown
no ip redirects
description Device dc1-border1 to Device NCS-5500-2