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
Section titled “Diagram”Classes
Section titled “Classes”topology (vxlan)
Section titled “topology (vxlan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| edge_connections | List | [edge_connections] | No |
edge_connections (vxlan.topology)
Section titled “edge_connections (vxlan.topology)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| dest_fabric | String | Yes | ||
| dest_device | String | Yes | ||
| dest_interface | String | No | ||
| source_device | String | Yes | ||
| source_interface | String | Yes | ||
| source_interface_enabled | Boolean | true, false | No | |
| local_ip | IP | Yes | ||
| neighbor_ip | IP | Yes | ||
| bgp_section | Class | [bgp_section] | No |
bgp_section (vxlan.topology.edge_connections)
Section titled “bgp_section (vxlan.topology.edge_connections)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| bgp_password_enable | Boolean | true, false | No | |
| bgp_password | String | No | ||
| neighbor_asn | String | Regex: ^(?:\d{1,10}|\d{1,5}\.\d{1,5})$ | Yes | |
| routing_tag | Integer | min: 0, max: 4294967295 | No | |
| description | String | No | ||
| peer_template_freeform | String | No | ||
| interface_freeform | String | No | ||
| bgp_freeform | String | No |
Examples
Section titled “Examples”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 bfdrouter 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