ACI F5 Integration
ACI F5 Integration
ACI F5 Integration
2
F5 BigIP Integration
Step 1: Deploy F5 BigIP Appliance
The internal and external interfaces on the BIG-
IP system are connected to leaf nodes in the ACI
architecture. Items such as web servers,
database engines, and application tiers are also
connected to leaf nodes. Spine nodes handle the
routing between the BIG-IP system and the
various other end points necessary to deliver an
application service.
The management port of the BIG-IP system is
connected out-of-band to a switch outside of the
ACI architecture (not shown in the diagram) to
provide management access.
This diagram is not meant to illustrate all possible
architectures but rather communicate a typical
architecture showing where the BIG-IP system
fits into the Cisco ACI architecture.
Cisco Confidential 5
© 2014 Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 2: F5 BigIP Appliance Basic Setup
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Prepare the Environment for L4-L7
• F5 BIG-IP LTM can be deployed only in Go-to mode in Cisco APIC, where F5 BIG-IP serves as
a default gateway to all traffic in both one-arm and two-arm modes. In two-arm mode, either two
interfaces are used for the input and output flow of traffic, or single interface can be used with
separate VLANs indicating the input and output flow
• The target topology and the logical ACI Topology are as below:
Outside
Client 10.122.231.111
ICMP_Contract EPGin
10.122.231.90 10.100.1.90
External Internal ASEAN_Tenant
10.122.231.91 10.100.1.100
F5 BigIP in Two-arm
This document is belong to yunan haris . VM Servers (10.100.1.50- 7
tes. All rights reserved. Mode
52)
VIP: 10.122.231.100
F5 BigIP Application view
ASEAN_Tenant
ANP_L47
EPGin
ICMP_Contract
EPG_OUT
ASEAN_Tenant Customer/Tenant
Ext_VRF VRF
Application
EPGin EPGout Network
Profiles
10.100.1.90
10.122.231.90
Inside
Outside
F5 BigIP
VIP: 10.122.231.100 9
This document is belong to yunan haris .
F5 BigIP Integration
Step 3: Device Package Upload
To download the F5 BIG-IP Device Package for Cisco APIC
1. Go to http://bock-bock.cisco.com/wiki/AS_ACI:l4l7 to download or from F5 as below
2. Open a web browser and go to https://downloads.f5.com.
3. Use your credentials to login. If you do not have an account, click Register for an
Account to create one.
4. After successfully logging in, click Find a Download.
5. In the Third-Party-Integrations row, click Cisco APIC.
6. From the Product Version list, select a version. Remember this must be 11.4.1 or
later.
7. Read and accept the End User License Agreement.
8. Click the README file to familiarize yourself with the files available.
9. Click F5-BIG-IP-Device-Package-for-Cisco-APIC.zip to download the F5 BIG-IP
Device Package for Cisco APIC file. Save the file to a location accessible from the
Cisco APIC user interface. We recommend you also download and read the
associated documentation. 10
This document is belong to yunan haris .
F5 BigIP Integration
Step 3: Device Package Upload
11
This document is belong to yunan haris .
F5 BigIP Integration
Step 3: Device Package Upload
After a successful import, you should see the following screen which indicate the
device package has imported into the APIC
12
Right click to
add Network
(VRF) Name: Ext_VRF
EPGin EPGout
10.100.1.90
10.122.231.90
Inside
Outside
F5 BigIP
VIP: 10.122.231.100
This document is belong to yunan haris . 15
F5 BigIP Integration
Step 4: Application Network Profile Creation - TBD
Name: BD1_L47
Cisco Confidential 16
© 2014 Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 4: Application Network Profile Creation
Repeat to create BD2
Name: BD2_L47
Cisco Confidential 17
© 2014 Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 4: Application Network Profile Creation
ASEAN_Tenant
Next, we will create 2 EPGs as below:
1. EPG_IN:
• Name: EPG_IN Ext_VRF
• Bridge Domain: BD1_L47
• Domain: VMM vCenter Domain BD 2 – L47
BD 1 – L47
2. EPG_OUT:
• Name: EPG_OUT 10.100.1.1/24 10.122.231.1/24
• Bridge Domain: BD2_L47
• Domain: VMM vCenter Domain
EPGin EPGout
10.100.1.90
10.122.231.90
Inside
Outside
F5 BigIP
VIP: 10.122.231.100
18
This document is belong to yunan haris .
F5 BigIP Integration
Step 4: Application Network Profile Creation - TBD
Right-Click to create
another ANP inside Name: L47_App
ASEAN_Tenant
Name: EPGin
Bridge Domain:
BD1_L47
Domains: VMM
20
Name: EPGout
Bridge Domain:
BD2_L47
Domains: VMM
21
22
This document is belong to yunan haris .
F5 BigIP Integration
Step 4: Application Network Profile Creation
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
F5 BigIP Integration
Step 4: Application Network Profile Creation
The next step is to create the contract. We have two EPGs. They are bound
by a contract which consists of a simple subject and a common/icmp filter. We
can use the previous created ICMP contract.
Right-Click to
“Add Provided
Contract”
Cisco Confidential 26
© 2014 Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 4: Application Network Profile Creation
TENANTS > Select ASEAN_Tenant > Application Profiles
> L47_App > Application EPGs > EPGout
Right-Click to
“Add Consumed
Contract”
28
© 2014 Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 5: Device Cluster Creation
• We can create the device cluster next (although, the order in which the service graphs and device clusters are created doesn’t matter).
• For L4-L7 automation, a device cluster should be created. The device cluster configuration is required for even a single device. As there is a single device, we
configure the Cluster with the same configuration as the single device.
• To create a device cluster: TENANTS > Select ASEAN_Tenant > L4L7 Services > L4-L7 Devices. We assume that the appliance is configured for
management access through HTTPS, and the Virtual IP Address is the F5 management IP address. The password is the one configured earlier on the F5
(“C1sco12345”).
• Select the device package to be used and provide the necessary information in the dialog box.
• Create two logical interfaces (internal and external) and map them to the corresponding internal and external interfaces that the device package makes
30
• Click Next and exit the concrete device wizard, leaving the
Parameters fields untouched. These fields are required
when we have more than one device in the device cluster.
Name: F5_LB
Type: Single Node – ADC in Two-
Arm Mode
Device Function: depends on
device package
© 2014 Cisco and/or its affiliates. All rights reserved.
Profile: create Function Profile Cisco Confidential 32
F5 BigIP Integration
Step 6: Service Graph Creation
Unchecked to configure
new profile Parameters
Cisco Confidential 34
© 2014 Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 6: Service Graph Creation
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
F5 BigIP Integration
Step 6: Service Graph Creation
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
F5 BigIP Integration
Step 7: Function Parameters
configuration
We will create a normal service graph to load balancing from VIP to 3 VM servers.
Configuration Parameters:
Function Type: GoTo
To configure the table of values, expand the Folders, and to set the values, double click the row. Be sure to
update after each entry. Please note the values in bold match the names in bold.
Note: there must have any “-” between the Name of Function/Param. If there is, the firewall still allow
to pass the parameter through, but don’t apply, and the deployment will be failed.
37
This document is belong to yunan haris .
F5 BigIP Integration
Step 7: Function Parameters configuration
TENANTS > ASEAN_Tenant > L4-L7 Services > Function Profile > F5_Func_Prof/F5_LB_Func
Please note that for each parameter being configured, all the parent folders need to be configured with a
name. In addition, if a folder has been configured, then all the mandatory parameters in that folder are
required to be configured.
39
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 40
F5 BigIP Integration
Step 7: Function Parameters configuration
Cisco Confidential 42
F5 BigIP Integration
Step 7: Apply Service Graph into Contract
• The only thing left now to do is to attach the service graph created to the contract subject. Expand security policies under the
tenant and browse to the subject under the contract for which service insertion is required. Select the appropriate service graph
and click submit.
• This will deploy the service graph as well as configure the device with the parameters provided during service graph creation.
43
ts affiliates. All rights reserved.
F5 BigIP Integration
Step 8: Verification
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 44
F5 BigIP Integration
Step 8: Verification
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 45
F5 BigIP Integration
Step 8: Verification
46
F5 BigIP Integration
Step 8: Verification
• Verify that the endpoints show up as Client end-points in the UI.
• Also, click deployed device clusters and select the device cluster deployed. Check the encapsulation VLANs
47
Cisco and/or its affiliates. All rights reserved.
F5 BigIP Integration
Step 8: Verification
• Verifying configuration on F5:
• Check if a partition is created
• Switch to the partition corresponding
to the Service Graph (a partition is
assigned to a Tenant with a Service
graph on F5)
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 48
F5 BigIP Integration
Step 8: Verification
• Verifying configuration on F5:
• Check the route domain list if the new one is created
49
© 2014 Cisco and/or its affiliates. All rights reserved.