Professional Documents
Culture Documents
DCI Series-4
danma@cisco.com
2017.10.30
This slide is targeted for L2GOLF customer production deployment with N9K
VxLAN Spines/ToRs
MPLS SR
Core
DCI GW DCI GW
VTEP VTEP
eBGP eBGP
DC Spine DC Spine
VXLAN VXLAN
Overlay Overlay
iBGP RR RR RR RR
iBGP
VTEP VTEP
DC Leaf DC Leaf
SVI same SVI same
IP/MAC IP/MAC
L2GOLF Design Considerations-1
Normally DCI has two separated IGP process running for MPLS side and VxLAN
side, and they have different loopback interfaces in two IGP processes.
RFC 7432 requires Type-3 route use a common loopback address as Originating
Router's IP Address field value for all the EVIs on the PE. XR uses BGP router ID as
common ip address for all EVIs Type-3 Originating ip address field value. So we
recommend to use core-facing loopback as BGP router ID since it is routable and
has LSP in WAN MPLS side.
L2GOLF Design Considerations-2
Without Spine, ToRs can’t receive EVPN prefixes each other via DCI, the reason is
that ASR9K DCI will not reoriginate then advertise EVPN prefixes from one ToR to
another ToR, so:
(1) ToRs can establish full-mesh iBGP sessions to exchange EVPN prefixes
(2) or setup a RR for ToRs exchanging EVPN prefixes within DC
Two Multi-homing Deployment Models
Anycast VTEP Multi-homing vs. ESI-Based Multi-homing
anycast
source IP
vPC L2 overlay
MPLS underlay
multi-homing
nodes share
VTEP
ToR PE
IPV4 Forwarding MPLS Forwarding IPV4 Forwarding
different source IPs for unicast and Int lo 2 VTEP: 5.5.5.5 VTEP: 6.6.6.6
multicast VXLAN encapsulations for
Ipv4 add 2.2.2.2/32
Any-cast VTEP 2.2.2.2
interface nve1
source-interface loopback1
anycast source-interface
loopback2
Anycast VTEP Multi-homing VXLAN L2 GW model
How DCI interwork with ToR with two different VTEP sources
towards ToRs so that ToRs know to use Int lo 2 VTEP: 5.5.5.5 VTEP: 6.6.6.6
that address as Dest. VTEP for VXLAN
Ipv4 add 2.2.2.2/32
Any-cast VTEP 2.2.2.2
Po13 Po23 Po14 Po24 VxLAN VxLAN Po13 Po23 Po14 Po24
Overlay Overlay
Spine2-1 Spine2-2 Spine5-1 Spine5-2
RR RR RR RR
iBGP iBGP
VTEP/ VTEP/
VXLAN Gateway VXLAN Gateway
PIM
Anycast RP
DC Aggregation(Spine)
VXLAN
Overlay
RR RR
ip pim rp-address 100.100.5.10 group-list 229.1.1.0/24 ip pim rp-address 100.100.5.10 group-list 229.1.1.0/24
ip pim ssm range 232.0.0.0/8 ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 100.100.5.10 100.100.5.3 ip pim anycast-rp 100.100.5.10 100.100.5.3
ip pim anycast-rp 100.100.5.10 100.100.5.4 ip pim anycast-rp 100.100.5.10 100.100.5.4
hardware access-list tcam region vacl 0 <<<< adjust TCAM hardware access-list tcam region vacl 0 <<<< adjust TCAM
hardware access-list tcam region arp-ether 256 hardware access-list tcam region arp-ether 256
ip pim rp-address 100.100.5.10 group-list 229.1.1.0/24 ip pim rp-address 100.100.5.10 group-list 229.1.1.0/24
ip pim ssm range 232.0.0.0/8 ip pim ssm range 232.0.0.0/8
track 1 interface Ethernet2/1 line-protocol track 1 interface Ethernet2/1 line-protocol <<<<< track Core uplink
track 2 interface Ethernet2/2 line-protocol track 2 interface Ethernet2/2 line-protocol <<<<< track Core uplink
track 3 interface port-channel10 line-protocol track 3 interface port-channel10 line-protocol
<<<<< track vPC peer-link port-channel
track 40 list boolean or track 40 list boolean or
object 1 object 1
object 2 object 2
object 3 object 3
DC5 N9K ToR (page-3): vPC config
DC5 N9K ToR1: DC5 N9K ToR2:
vpc domain 10 <<<<< vPC domain vpc domain 10 <<<<< vPC domain
peer-switch peer-switch
role priority 1 role priority 1
peer-keepalive destination 1.5.18.56 source 1.5.18.55 peer-keepalive destination 1.5.18.55 source 1.5.18.56
peer-gateway peer-gateway
track 40 track 40
fast-convergence <<<<< 7.0(3)I7(1) CLI fast-convergence <<<<< 7.0(3)I7(1) CLI
ipv6 nd synchronize ipv6 nd synchronize
ip arp synchronize ip arp synchronize
interface port-channel10 <<<<< vPC peer link interface port-channel10 <<<<< vPC peer link
switchport mode trunk switchport mode trunk
spanning-tree port type network spanning-tree port type network
vpc peer-link vpc peer-link
interface Vlan3900 <<<<< L3 Backup over vPC Peer Link interface Vlan3900 <<<<< L3 Backup over vPC Peer Link
mtu 9216 mtu 9216
ip address 100.56.1.1/30 ip address 100.56.1.2/30
ip ospf network point-to-point ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0 ip router ospf 1 area 0.0.0.0
ip pim sparse-mode ip pim sparse-mode
interface port-channel40 <<<<< connected to CE switch interface port-channel40 <<<<< connected to CE switch
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 2-3,101-104,1000-2999 switchport trunk allowed vlan 2-3,101-104,1000-2999
lacp vpc-convergence <<<<< 7.0(3)I7(1) CLI lacp vpc-convergence <<<<< 7.0(3)I7(1) CLI
vpc 40 <<<<< vPC port-channel ID vpc 40 <<<<< vPC port-channel ID
DC5 N9K ToR (page-4): vPC status
DC5-Leaf-1# show vpc DC5-Leaf-2# show vpc
Legend: Legend:
(*) - local vPC is down, forwarding via vPC peer-link (*) - local vPC is down, forwarding via vPC peer-link
evpn evpn
vni 6001 l2 vni 6001 l2
rd 100.100.5.5:6001 <<<<< or RD auto rd 100.100.5.6:6001 <<<<< or RD auto
route-target import auto <<<<< AS_Number:VNI route-target import auto <<<<< AS_Number:VNI
route-target export auto route-target export auto
vlan 11 vlan 11
vn-segment 5011 <<<<< L3VNI vn-segment 5011 <<<<< L3VNI
• No anycast VTEP on ASR9K DCI need to be used, two ASR9K work as two
standalone DCI VTEPs instead.
• VXLAN facing, DCI need to support EVPN RT-1, RT-2, RT-4 and EVPN based split-
horizon, DF, and load balancing based on aliasing and BGP multi-path.
• All-active ESI need to be manually configured on two DCIs to represent the EVI.
Po13 Po23 Po14 Po24 VxLAN VxLAN Po13 Po23 Po14 Po24
Overlay Overlay
Spine2-1 Spine2-2 Spine5-1 Spine5-2
RR RR RR RR
iBGP iBGP
ip pim rp-address 100.100.4.10 group-list 229.1.1.0/24 ip pim rp-address 100.100.4.10 group-list 229.1.1.0/24
ip pim ssm range 232.0.0.0/8 ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 100.100.4.10 100.100.4.3 ip pim anycast-rp 100.100.4.10 100.100.4.3
ip pim anycast-rp 100.100.4.10 100.100.4.4 ip pim anycast-rp 100.100.4.10 100.100.4.4
ip pim rp-address 100.100.4.10 group-list 229.1.1.0/24 ip pim rp-address 100.100.4.10 group-list 229.1.1.0/24
ip pim ssm range 232.0.0.0/8 ip pim ssm range 232.0.0.0/8
hardware access-list tcam region vacl 0 <<<< adjust TCAM hardware access-list tcam region vacl 0 <<<< adjust TCAM
hardware access-list tcam region arp-ether 256 hardware access-list tcam region arp-ether 256
hardware access-list tcam region vpc-convergence 256 hardware access-list tcam region vpc-convergence 256
interface Ethernet2/1 <<<<< connected to spine interface Ethernet2/1 <<<<< connected to spine
evpn multihoming core-tracking evpn multihoming core-tracking
mtu 9216 mtu 9216
ip address 102.35.1.1/31 ip address 102.36.1.1/31
isis network point-to-point isis network point-to-point
ip router isis 1 ip router isis 1
ip pim sparse-mode ip pim sparse-mode
interface Ethernet2/2 <<<<< connected to spine interface Ethernet2/2 <<<<< connected to spine
evpn multihoming core-tracking evpn multihoming core-tracking
mtu 9216 mtu 9216
ip address 102.45.1.1/31 ip address 102.46.1.1/31
isis network point-to-point isis network point-to-point
ip router isis 1 ip router isis 1
ip pim sparse-mode ip pim sparse-mode
interface port-channel40 <<<<< connected to CE switch interface port-channel40 <<<<< connected to CE switch
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 2,101-104,1000-2999 switchport trunk allowed vlan 2,101-104,1000-2999
ethernet-segment 1 ethernet-segment 1
system-mac 0025.0025.0025 <<<<< same to form ESI system-mac 0025.0025.0025 <<<<< same to form ESI
DC2 N9K ToR (page-3): ESI-Based Multi-homing status
DC2-Leaf-1# show nve ethernet-segment DC2-Leaf-2# show nve ethernet-segment
evpn evpn
vni 6001 l2 vni 6001 l2
rd 100.100.2.5:6001 <<<<< or RD auto rd 100.100.2.6:6001 <<<<< or RD auto
route-target import auto <<<<< AS_Number:VNI route-target import auto <<<<< AS_Number:VNI
route-target export auto route-target export auto
vlan 11 vlan 11
vn-segment 5011 <<<<< L3VNI vn-segment 5011 <<<<< L3VNI
If you don’t have N9K Spine/ToR, you also can use ASR9K
routers as EVPN-VxLAN ToR
If two DC sites have same AS, we can use any one of the following
method:
DCI ASR9Ks do as-override towards Spines, or
Spines and ToRs use allowas-in, or
DCI ASR9Ks use route-policy to manipulate AS_Path, or
Spines use route-map to manipulate AS_Path