The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes how to configure and deploy a two-node service graph within the Cisco Application Centric Infrastructure (ACI) platform. The two devices that are used in the service graph are a physical Cisco Adaptive Security Appliance (ASA) that runs in Transparent mode, and a Citrix NetScaler 1000V Virtual Appliance.
Cisco recommends that you have knowledge of these topics before you attempt the configuration that is described in this document:
The information in this document is based on these hardware and software versions:
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
This section describes how to configure the various components that are involved in this deployment.
This section describes how to complete the configuration on the ASA.
In order to create multiple contexts on the ASA, you must enable the feature. Log in to the ASA and enter this command in Configuration mode:
ciscoasa(config)#
mode multiple[an error occurred while processing this directive]
You are then prompted to reload. Once the device reloads, you can continue to create the User context.
Note: An Admin context must be created before the User contexts. This document does not describe how to create the Admin context, but rather the User context. For more information about how to create the Admin context, refer to the Configuring Multiple Contexts section of the Cisco ASA Series CLI Configuration Guide, 9.0.
In order to create the User context on the ASA, enter these command from the System context:
ciscoasa/admin# changeto context sys
ciscoasa(config)# context
jristain <--- This is the name of the desired context
Creating context 'jristain'... Done. (5)
ciscoasa(config-ctx)# allocate-interface Management0/1
ciscoasa(config-ctx)# config-url disk0:/
jristain
.cfg
<--- "context-name.cfg"
[an error occurred while processing this directive]
WARNING: Could not fetch the URL disk0:/jristain.cfg
INFO: Creating context with default config
This configuration creates the context, allocates the management interface for use in this context, and specifies a location for the configuration file. You must now enter this context in order to configure the minimal bootstrap that is required so that the APIC can connect.
Once the User context is created, you can change to that context and configure the management IP address on the interface that is allocated. Enter these commands:
ciscoasa(config-ctx)# changeto context jristain <----
Drops into the user context
[an error occurred while processing this directive]
ciscoasa/jristain(config)# interface Management0/1
ciscoasa/jristain(config-if)# ip address 192.168.20.10 255.255.255.128
ciscoasa/jristain(config-if)# nameif management
INFO: Security level for "management" set to 0 by default.
ciscoasa/jristain(config-if)# security-level 100
ciscoasa/jristain(config-if)# exit
ciscoasa/jristain(config)# route management 0.0.0.0 0.0.0.0 192.168.20.1
ciscoasa/jristain(config)# exit
ciscoasa/jristain# copy running-config startup-config
Note: The nameif entry must be management because this is the expectation of the device package. If the nameif entry contains any additional characters, you will see faults in the deployment of the L4-L7 device in the APIC.
In order to connect the APIC to the ASA, some minimal configuration is required. This includes the HTTP server and a user account for the APIC. Use this configuration in the User context:
ciscoasa/jristain(config)#username
<username>
password
<password>
[an error occurred while processing this directive]
ciscoasa/jristain(config)#http server enable
ciscoasa/jristain(config)#http 0.0.0.0 0.0.0.0 management
Note: Enter your desired username and password into the <username> and <password> areas.
This section describes how to complete the configuration on the APIC.
There are three Bridge Domains (BDs) that are required in order to deploy a two-node service graph.
Use this information in order to configure the BD for the external ASA interface (consumer):
Use this information in order to configure the BD that is used in order to connect the two devices:
The service graph requires that two Endpoint Groups (EPGs) be configured: one consumer and one provider. The consumer EPG should use the BD that connects to the external ASA interface. The provider EPG should use a BD that connects to the end-servers.
You must add the ASA Admin and User contexts to the APIC. In order to complete this, navigate to Tenant > L4-L7 Services > L4-L7 Devices, right-click and select Create an L4-L7 Device, and then complete these steps:
Note: You can finish you use of the wizard at this time. You do not need to configure any of the failover information.
After the device is registered with the fabric, the APIC can push the configuration via the device parameters. After registration, you must first configure the port-channel that connects the ASA to the leaf switches in a Virtual Port Channel (vPC).
In order to configure the port-channel, navigate to the device that you created and click the Parameters tab in the upper corner of the work pane. Click the pencil icon in order to modify the parameters:
The Edit Cluster Parameters window appears. Click PortChannel in order to limit the scope of the option. Expand the Port Channel Member folder and complete the Configuration Options. Here is an explanation of each option:
Repeat this process for each interface that you wish to assign:
Once complete, you should see a port-channel creation on the ASA in the System context. In order to verify this, access the System context and enter the show port-channel summary command:
ciscoasa#
show port-channel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
U - in use N - not in use, no aggregation/nameif
M - not in use, no aggregation due to minimum links not met
w - waiting to be aggregated
Number of channel-groups in use: 2
Group Port-channel Protocol Span-cluster Ports
------+-------------+---------+------------+-----------------------
27 Po27(N) LACP No Gi0/4(P) Gi0/5(P)[an error occurred while processing this directive]
You must register the User context as an L4-L7 device in the fabric. Navigate to Tenant > L4-L7 Services > L4-L7 Devices, right-click and select Create an L4-L7 Device, and then complete these steps:
Note: You can finish you use of the wizard at this time. You do not need to configure any of the failover information.
The second node in this configuration example is a NetScaler 1000V. The NetScaler provides load balancing functionality to the connected servers. You must register this device with the APIC as well. Navigate to Tenant > L4-L7 Services > L4-L7 Devices, right-click and select Create an L4-L7 Device, and then complete these steps:
Note: Network Adapter 1 is used for management purposes, so do not use it.
Now that the devices are registered, you can create a Service Graph Template. Navigate to Tenant > L4-L7 Services > L4-L7 Service Graph Templates > Create L4-L7 Service Graph Template, and complete these steps:
After the template is created, you can deploy it to the devices. Navigate to Tenant > L4-L7 Services > L4-L7 Service Graph Templates > Service Graph Template > Apply Service Graph Template.
On the Contract tab, complete these steps:
On the Graph tab, complete these steps:
On the ASA Parameters tab, enter the desired parameters. None of the parameters on this tab are required.
On the NetScaler Parameters tab, enter the NetScaler configuration via the wizard:
There is currently no verification procedure available for this configuration.
This section provides information that you can use in order to troubleshoot your configuration.
Here are two known faults that are related to the configurations that are described in this document: