GOLF Configuration Steps
GOLF Configuration Steps
GOLF Configuration Steps
Configuration Steps
Max Ardica – Principal Engineer (INSBU)
ACI and GOLF Integration
Reference Topology
AS 3
Pod1-GOLF1 Pod1-GOLF1
(135.135.135.135) (136.136.136.136)
1/2 1/1 1/2 1/1
MP-EBGP 192.168.1.0
1/11 1/12 1/11 1/12
Pod1-Spine1 Pod1-Spine2
(192.168.1.101) (192.168.1.102)
AS 65501
2
ACI and GOLF Integration
Summary of Configuration Steps
• The following steps are required to ensure a successful ACI and GOLF
integration
1. Properly configure the GOLF devices
One time Day-0
2. Create Fabric Access Policies
configuration
3. Create the L3Out in ‘infra’ Tenant
4. Create the L3Out in ‘Overlay’ Tenant
Recurring configuration
5. ‘Overlay’ Tenant VRF Configuration
6. Verification of Config Pushed on GOLF Device
3
GOLF Device Configuration
Nexus 7000
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
1a
GOLF Device Configuration (Nexus 7000)
Basic Config
install feature-set mpls Enable # fabric facing interface Setup infra connectivity
install feature-set fabric interface e1/2.4
feature-set mpls no shutdown
feature-set fabric encapsulation dot1q 4
feature fabric forwarding ip address 192.168.1.1/31
nv overlay evpn ip ospf network point-to-point
feature bgp ip router ospf GOLF area 0.0.0.0
feature interface-vlan
feature nv overlay # Repeat for all interfaces
feature vni
feature ospf interface Loopback0
feature ipp ip address 135.135.135.135 255.255.255.255
feature mpls l3vpn ip ospf GOLF area 0
feature mpls ldp
# DCIs can learn reachability to all ACI TEP IPs via
OSPF
router ospf GOLF
system bridge-domain 100-3000
router-id 135.135.135.135
system fabric bridge-domain 2000-3000
BDs to VNIs
5
1b
GOLF Device Configuration (Nexus 7000)
Setup VXLAN, BGP
router bgp 3 BGP EVPN and VPNv4 Configuration
router-id 135.135.135.135
! Fabric side
neighbor 192.168.1.101
remote-as 65501
update-source loopback0
interface nve1 VXLAN ebgp-multihop 10
no shutdown address-family l2vpn evpn
source-interface loopback0 send-community extended
host-reachability protocol bgp import vpn unicast reoriginate
unknown-peer-forwarding enable neighbor 192.168.1.102
vni assignment downstream all remote-as 65501
! update-source loopback0
fabric forwarding switch-role dci-node border ebgp-multihop 10
vxlan udp port 48879 address-family l2vpn evpn
send-community extended
import vpn unicast reoriginate
! WAN side
neighbor 210.210.210.210
remote-as 3
description VPNv4 Peering with WAN-PE-Router
update-source loopback10
address-family vpnv4 unicast
send-community both
import l2vpn evpn reoriginate
6
1c
GOLF Device Configuration (Nexus 7000)
VRF Automation Profile
https://wiki.cisco.com/display/HMMPI/Interconnect+Policy+Provisioning+%28IPP%29
8
1e
GOLF Device Configuration (Nexus 7000)
OpFlex Peering
ipp
profile-map profile defaultNetworkMplsL3vpnDcProfile include-profile vrf-common-mpls-l3vpn-dc-edge
local-vtep nve 1
bgp-as 3
identity 135.135.135.135
fabric 1
opflex-peer 192.168.1.101 8009
opflex-peer 192.168.1.102 8009
ssl encrypted Opflex session Establishment
9
GOLF Device Configuration
ASR1000/CSR1000v
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
1a
GOLF Device Configuration (ASR1000/CSR1000v)
Basic Config
# fabric facing interface Setup infra router bgp 3 BGP EVPN Configuration
interface g1.4 connectivity bgp router-id 135.135.135.135
bgp log-neighbor-changes
no shutdown neighbor 192.168.1.101 remote-as 65501
encapsulation dot1q 4 neighbor 192.168.1.101 ebgp-multihop 10
ip address 192.168.1.1 255.255.255.252 neighbor 192.168.1.101 update-source Loopback0
ip ospf network point-to-point neighbor 192.168.1.102 remote-as 65501
neighbor 192.168.1.102 ebgp-multihop 10
neighbor 192.168.1.102 update-source Loopback0
# Repeat for all the interfaces !
address-family l2vpn evpn
interface Loopback0 import vpnv4 unicast
neighbor 192.168.1.101 activate
ip address 135.135.135.135 255.255.255.255 neighbor 192.168.1.101 send-community both
ip ospf 100 area 0 neighbor 192.168.1.102 activate
neighbor 192.168.1.102 send-community both
# DCIs can learn reachability to all ACI exit-address-family
TEP IPs via OSPF
router ospf 100
router-id 135.135.135.135
nsr
network 192.168.1.1 0.0.0.0 area 0
11
1b
GOLF Device Configuration (ASR1000/CSR1000v)
Basic Config
12
GOLF Device Configuration
ASR9000
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
1a
GOLF Device Configuration (ASR9000)
Basic Config
route-policy pass-all BGP EVPN and VPNv4 Configuration
pass
end-policy
# fabric facing interface Setup infra !
connectivity router bgp 3
interface ten1/1/0.4 bgp router-id 135.135.135.135
encapsulation dot1q 4 address-family l2vpn evpn
ipv4 address 192.168.1.1 255.255.255.252 ! Fabric side
neighbor 192.168.1.101
remote-as 65501
# Repeat for all the interfaces update-source Loopback0
ebgp-multihop 10
interface Loopback0 address-family l2vpn evpn
import stitching-rt re-originate
ip address 135.135.135.135 255.255.255.255 route-policy pass-all in
ip ospf 100 area 0 encapsulation-type vxlan
route-policy pass-all out
advertise vpnv4 unicast re-originated stitching-rt
# OSPF peering with the spines ! Configure other Spines as EVPN Neighbors
router ospf 100 ! WAN side
router-id 135.135.135.135 neighbor 210.210.210.210
remote-as 3
area 0 update-source Loopback0
interface ten1/1/0.4 address-family vpnv4 unicast
! import reoriginate stitching-rt
advertise vpnv4 unicast re-originated
<list other interfaces>
14
1b
GOLF Device Configuration (ASR9000)
Basic Config
15
ACI and GOLF Integration
Summary of Configuration Steps
• The following steps are required to ensure a successful ACI and GOLF
integration
1. Properly configure the GOLF devices
One time Day-0
2. Create Fabric Access Policies
configuration
3. Create the L3Out in ‘infra’ Tenant
4. Create the L3Out in ‘Overlay’ Tenant
Recurring configuration
5. ‘Overlay’ Tenant VRF Configuration
6. Verification of Config Pushed on GOLF Device
16
Fabric Policies
Configure D-TEP Anycast Address
17
2a
Fabric Access Policies
Create External Routed Domain
18
2b
Fabric Access Policies
Spine Profile
19
2c
Fabric Access Policies
Interface Profile
Select interfaces connecting to
IPN devices
20
ACI and GOLF Integration
Summary of Configuration Steps
• The following steps are required to ensure a successful ACI and GOLF
integration
1. Properly configure the GOLF devices
One time Day-0
2. Create Fabric Access Policies
configuration
3. Create the L3Out in ‘infra’ Tenant
4. Create the L3Out in ‘Overlay’ Tenant
Recurring configuration
5. ‘Overlay’ Tenant VRF Configuration
6. Verification of Config Pushed on GOLF Device
21
3a
L3Out in ‘infra’ Tenant
Create L3Out and Enable Control Planes
22
3b
L3Out in ‘infra’ Tenant
Create Logical Node Profiles
Spine nodes
23
3c
L3Out in ‘infra’ Tenant
Set the Provider Label
24
3d
L3Out in ‘infra’ Tenant
VLAN Encap for Logical Interface Profiles
25
3e
L3Out in ‘infra’ Tenant
Associate OSPF Interface Policy Name
26
3f
L3Out in ‘infra’ Tenant
Details of OSPF Interface Policy Name
27
3g
L3Out in ‘infra’ Tenant
Verification of Day-0 Configuration
• At the end of Day-0 configuration, the GOLF device should have successfully
established OSPF peerings with the spines (or intermediate IPN devices) and MP-
BGP EVPN peerings with the spines
Pod1-GOLF1# sh ip ospf neighbors
OSPF Process ID 100 VRF default
Total number of neighbors: 3
Neighbor ID Pri State Up Time Address Interface
192.168.1.101 1 FULL/ - 16:06:50 192.168.3.1 Eth1/2.4
192.168.1.102 1 FULL/ - 16:06:49 192.168.3.5 Eth1/1.4
• The following steps are required to ensure a successful ACI and GOLF
integration
1. Properly configure the GOLF devices
One time Day-0
2. Create Fabric Access Policies
configuration
3. Create the L3Out in ‘infra’ Tenant
4. Create the L3Out in ‘Overlay’ Tenant
Recurring configuration
5. ‘Overlay’ Tenant VRF Configuration
6. Verification of Config Pushed on GOLF Device
29
4a
L3Out in ‘Overlay’ Tenant
Match ‘infra’ Tenant Label
30
4b
L3Out in ‘Overlay’ Tenant
Define External Networks
31
4c
L3Out in ‘Overlay’ Tenant
Associate L3Out to the BD
32
ACI and GOLF Integration
Summary of Configuration Steps
• The following steps are required to ensure a successful ACI and GOLF
integration
1. Properly configure the GOLF devices
One time Day-0
2. Create Fabric Access Policies
configuration
3. Create the L3Out in ‘infra’ Tenant
4. Create the L3Out in ‘Overlay’ Tenant
Recurring configuration
5. ‘Overlay’ Tenant VRF Configuration
6. Verification of Config Pushed on GOLF Device
33
5a
‘Overlay’ Tenant VRF Configuration
Fabric BGP Route Targets, VRF on WAN Edge
34
5b
‘Overlay’ Tenant VRF Configuration
Enable OpFlex for the Tenant VRF
35
5c
‘Overlay’ Tenant VRF Configuration
Host Routes Advertisement Configuration (Optional)
APIC Configuration GOLF Router Configuration
Host route advertisement is enabled at the VRF level Spines assign the L2VNI to the Ethernet Tag ID when
Applies to all the public subnets that are advertised via the originating type-2 route for a given host route/endpoint
L3Out connection
VTEPs normally expect the Ethernet Tag ID to be zero, so by
default the GOLF router would discard those Type-2
advertisements
Additional knob has been added to change this default
behavior:
router bgp 3
router-id 111.111.111.111
address-family l2vpn evpn
allow-vni-in-ethertag
Configuration needed on
all the GOLF routers
36
ACI and GOLF Integration
Summary of Configuration Steps
• The following steps are required to ensure a successful ACI and GOLF
integration
1. Properly configure the GOLF devices
One time Day-0
2. Create Fabric Access Policies
configuration
3. Create the L3Out in ‘infra’ Tenant
4. Create the L3Out in ‘Overlay’ Tenant
Recurring configuration
5. ‘Overlay’ Tenant VRF Configuration
6. Verification of Config Pushed on GOLF Device
37
6a
OpFlex Automation
Verification of Config Pushed to GOLF Device (Nexus 7000)
Fabric 1 (Healthy)
opflex-peer 192.168.1.101:8009 (Connected and ready)
opflex-peer 192.168.1.102:8009 (Connected and ready)
ssl encrypted
Tenant Policies
1: Fabric Vrf: GOLF-Tenant1:T1-Web, Vrf: GOLF-T1
RT v4:(1:1,1:1) v6:(nil,nil)
Id 7, HostId: 7
flags 0x0
framework_p: 0xf02006bc
38
6a
OpFlex Automation
Verification of Config Pushed to GOLF Device (Nexus 7000)
N7K-N77-GOLF# sh system internal config-profile applied-config database
config attributes:
vni 1504097
bridge-domain 2000
member vni 1504097
interface Bdi2000
vrf member GOLF-T1
ip forward
no ip redirects
ipv6 forward
no ipv6 redirects
no shutdown Note: this configuration (with the
ipp tenant GOLF-T1 7
vrf context GOLF-T1 exception of the “ipp tenant” command)
vni 1504097
rd auto could be manually applied in
address-family ipv4 unicast
route-target import 1:1 evpn deployments not using OpFlex for
route-target export 1:1 evpn
route-target import 1:1 automation
route-target export 1:1
router bgp 3
vrf GOLF-T1
address-family ipv4 unicast
advertise l2vpn evpn
label-allocation-mode per-vrf
address-family ipv6 unicast
advertise l2vpn evpn
label-allocation-mode per-vrf
interface nve1
member vni 1504097 associate-vrf 39