Cisco-APIC-Getting-Started-Guide-421
Cisco-APIC-Getting-Started-Guide-421
2(x)
First Published: 2019-09-08
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of
the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
All printed copies and duplicate soft copies of this document are considered uncontrolled. See the current online version for the latest version.
Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com
go trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any
other company. (1721R)
© 2019 Cisco Systems, Inc. All rights reserved.
CONTENTS
Audience
This guide is intended primarily for data center administrators with responsibilities and expertise in one or
more of the following:
• Virtual machine installation and administration
• Server administration
• Switch and network administration
• Cloud administration
Document Conventions
Command descriptions use the following conventions:
Convention Description
bold Bold text indicates the commands and keywords that you enter literally
as shown.
Italic Italic text indicates arguments for which the user supplies the values.
Convention Description
{x | y} Braces enclosing keywords or arguments separated by a vertical bar
indicate a required choice.
variable Indicates a variable for which you supply values, in context where italics
cannot be used.
string A nonquoted set of characters. Do not use quotation marks around the
string or the string will include the quotation marks.
Convention Description
screen font Terminal sessions and information the switch displays are in screen font.
boldface screen font Information you must enter is in boldface screen font.
italic screen font Arguments for which you supply values are in italic screen font.
Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual.
Caution Means reader be careful. In this situation, you might do something that could result in equipment damage or
loss of data.
Related Documentation
Cisco Cloud APIC Documentation
The Cisco Cloud APIC documentation is available at the following URL: https://www.cisco.com/c/en/us/
support/cloud-systems-management/cloud-application-policy-infrastructure-controller/
tsd-products-support-series-home.html
Documentation Feedback
To provide technical feedback on this document, or to report an error or omission, please send your comments
to [email protected]. We appreciate your feedback.
Table 1: New Features and Changed Information for Cisco APIC Release 4.2(1)
Document
Step 1 During the BIOS boot process, when the screen displays Press <F2> Setup, press F2.
The Entering Setup message displays as it accesses the setup menu.
Step 2 At the Enter Password dialog box, enter the current password.
Note The default is 'password'.
Step 3 In the Setup Utility, choose the Security tab, and choose Set Administrator Password.
Step 4 In the Enter Current Password dialog box, enter the current password.
Step 5 In the Create New Password dialog box, enter the new password.
Step 6 In the Confirm New Password dialog box, re-enter the new password.
Step 7 Choose the Save & Exit tab.
Step 8 In the Save & Exit Setup dialog box, choose Yes.
Step 9 Wait for the reboot process to complete.
The updated BIOS password is effective.
application requirements and policies. It is the central control engine for the broader cloud network; it simplifies
management and allows flexibility in how application networks are defined and automated. It also provides
northbound Representational State Transfer (REST) APIs. The APIC is a distributed system that is implemented
as a cluster of many controller instances.
• If you are using a Cisco Integrated Management Controller (CIMC) for your setup, use only the port-side
utility console port with the breakout cable. Setup the CIMC first, and then access the Cisco APIC through
the CIMC KVM or continue to access the Cisco APIC locally through the port-side utility console port.
Do not use the RJ-45 console port, unless access to the port side is restricted. If you choose the CIMC
KVM access, you will have remote access available later which is required during operations.
• If you are using RJ-45 console port, connect to CIMC using SSH and enable the Serial over LAN port
using the following parameters:
• Scope SOL sol
• Set Enabled to Yes
• Commit
• Exit
After enabling, enter the command connect host to access the console. If the serial port is connected,
either disconnect the serial port or ensure that the connected device has the proper configuration.
• It is recommended not to modify any parameters using CIMC. If there are any issues, ensure that the
default setting for CIMC management node is Dedicated Mode and not Shared. If Dedicated Mode is
not used, it can prevent the discovery of fabric nodes.
• Do not upgrade software or firmware using the CIMC user interface, XML, or SSH interfaces unless the
modified property and software or firmware version are supported with your specific Cisco APIC version.
• Set the NIC mode to Dedicated, when setting up the CIMC, in the CIMC Configuration Utility. After
the CIMC is configured, in the CIMC GUI, verify that you have the following parameters set.
Parameters Settings
• Starting with Cisco APIC release 1.2(2x), during the initial setup the system will prompt you to select
IPv4, or IPv6, or dual stack configuration. Choosing dual stack will enable accessing the Cisco APIC
and Cisco Application Centric Infrastructure (Cisco ACI) fabric out-of-band management interfaces with
either IPv4 or IPv6 addresses. While the examples in the table below use IPv4 addresses, you can use
whatever IP address configuration options you chose to enable during the initial setup.
• A minimum subnet mask of /19 is recommended.
• Connecting the Cisco APIC to the Cisco ACI fabric requires a 10G interface on the ACI-mode leaf
switch. You cannot connect the Cisco APIC directly to the Cisco Nexus 9332PQ, Cisco Nexus 93180LC,
or Cisco Nexus 9336C-FX2 ACI-mode leaf switches unless you use a 40G to 10G converter (part number
CVR-QSFP-SFP10G), in which case the port on the leaf switches will auto-negotiate to 10G without
requiring any manual configuration.
Note Starting with Cisco APIC release 2.2(1n), the Cisco Nexus 93180LC leaf switch
is supported.
• The fabric ID is set during the Cisco APIC setup and it cannot be changed unless you perform a clean
reload of the fabric. To change the fabric ID, export the Cisco APIC configuration, change the sam.config
file, and perform a clean reload of the Cisco APIC and leaf switches. Remove the "fvFabricExtConnP"
setting from the exported configuration before importing the configuration into the Cisco APIC after the
Cisco APIC comes up. All Cisco APICs in a cluster must have the same fabric ID.
• All logging is enabled by default.
An admin user must initiate the switch over to replace an active Cisco APIC with a standby Cisco APIC. See
the Cisco APIC Management, Installation, Upgrade, and Downgrade Guide for more information.
Fabric ID Fabric ID 1
POD ID POD ID 1
Fabric ID Fabric ID 1
Example
The following is a sample of the initial setup dialog as displayed on the console:
Warning: TEP address pool, Infra VLAN ID and Multicast address pool
cannot be changed later, these are permanent until the
fabric is wiped.
Note A known issue exists with the Safari browser and unsigned certificates. Read the information presented here
before accepting an unsigned certificate for use with WebSockets. When you access the HTTPS site, the
following message appears:
“Safari can’t verify the identity of the website APIC. The certificate for this website is invalid. You might be
connecting to a website that is pretending to be an APIC, which could put your confidential information at risk.
Would you like to connect to the website anyway?”
To ensure that WebSockets can connect, you must do the following:
Click Show Certificate.
Choose Always Trust in the three drop-down lists that appear.
If you do not follow these steps, WebSockets will not be able to connect.
Step 3 When the login screen appears, enter the administrator name and password that you configured during the initial setup.
Step 4 In the Domain field, from the drop-down list, choose the appropriate domain that is defined.
If multiple login domains are defined, the Domain field is displayed. If the user does not choose a domain, the DefaultAuth
login domain is used for authentication by default. This may result in login failure if the username is not in the DefaultAuth
login domain.
What to do next
To learn about the features and operation of the Application Centric Infrastructure fabric and the Application
Policy Infrastructure Controller, see the available white papers and the Cisco Application Centric Infrastructure
Fundamentals Guide.
Note • Only https is enabled by default. By default, http and http-to-https redirection are disabled.
• You must send an authentication message to initiate an API session. Use the administrator login name and
password that you configured during the initial setup.
Step 1 From a secure shell (SSH) client, open an SSH connection to APIC at username @ ip-address .
Use the administrator login name and the out-of-band management IP address that you configured during the initial setup.
For example, [email protected].
What to do next
When you enter the NX-OS style CLI, the initial command level is the EXEC level. You can stay in EXEC
mode or you can type configure to enter global configuration mode. In any mode, type ? to see the available
commands.
For information about using the NX-OS style CLI commands, see the Cisco APIC NX-OS Style Command-Line
Interface Configuration Guide and the Cisco APIC NX-OS Style CLI Command Reference.
What to do next
When you enter the NX-OS style CLI, the initial command level is the EXEC level. You can stay in EXEC
mode or you can type configure to enter global configuration mode. In any mode, type ? to see the available
commands.
For information about using the NX-OS style CLI commands, see the Cisco APIC NX-OS Style Command-Line
Interface Configuration Guide and the Cisco APIC NX-OS Style CLI Command Reference.
Note In releases earlier than Cisco APIC Release 1.2, the default CLI was a Bash shell with commands to directly
operate on managed objects (MOs) and properties of the Management Information Model. Beginning with
Cisco APIC Release 1.2, the default CLI is a NX-OS style CLI. The object model CLI is available by typing
the bash command at the initial CLI prompt.
Step 1 From a secure shell (SSH) client, open an SSH connection to username @ ip-address .
Use the administrator login name and the out-of-band management IP address that you configured during the initial setup.
For example, ssh [email protected].
Step 2 When prompted, enter the administrator password that you configured during the initial setup.
You are now in the NX-OS style CLI for APIC.
$ ssh [email protected]
Application Policy Infrastructure Controller
[email protected]'s password: cisco123
apic# <---- NX-OS style CLI prompt
apic# bash
admin@apic1:~> <---- object model CLI prompt
admin@apic1:~> exit
apic#
What to do next
Every user must use the shared directory called /home. This directory gives permissions for a user to create
directories and files; files created within /home inherit the default umask permissions and are accessible by
the user and by root. We recommend that users create a /home/userid directory to store files, such as
/home/jsmith, when logging in for the first time.
For more information about accessing switches using the ACI CLI using modes of operation such as BASH
or VSH, see the Cisco APIC Command Line Interface User Guide and the Cisco ACI Switch Command
Reference.
For detailed information about configuring the APIC CLI, see the Cisco APIC Object Model Command Line
Interface User Guide.
As you operate the GUI to make configuration changes and retrieve information, the GUI communicates with
the underlying operating system by exchanging REST API messages. You can observe these API messages
using the API Inspector tool described in Viewing an API Interchange in the GUI, on page 27.
Tip In the APIC GUI configuration instructions, you will see notation such as Fabric > Fabric Policies. In this
example, you are asked to click the Fabric tab in the menu bar followed by the Fabric Policies tab in the
submenu bar.
At the far right side of the menu bar are the following menu bar tools:
Search, on page 20
Alerts, on page 20
The individual menu bar tabs and tools are described in the following sections.
Tenants Tab
Use the Tenants tab in the menu bar to perform tenant management. The submenu bar provides a list of all
tenants, an Add Tenant link, and links to three built-in tenants plus up to two of the most recently used tenants.
• A tenant contains policies that enable qualified users domain-based access control. Qualified users can
access privileges such as tenant administration and networking administration.
• A user requires read/write privileges for accessing and configuring policies in a domain. A tenant user
can have specific privileges into one or more domains.
• In a multitenancy environment, a tenant provides group user access privileges so that resources are
isolated from one another (such as for endpoint groups and networking). These privileges also enable
different users to manage different tenants.
Note For Layer 2 configuration of ports, you can type into the node and path fields to filter ports.
Fabric Tab
The Fabric tab contains the following tabs in the submenu bar:
• Inventory tab—Displays the individual components of the fabric.
• Fabric Policies tab—Displays the monitoring and troubleshooting policies and fabric protocol settings
or fabric maximum transmission unit (MTU) settings.
• Access Policies tab—Displays the access policies that apply to the edge ports of the system. These ports
are on the leaf switches that communicate externally.
registered with the controller. The Packages submenu tab allows you to import L4-L7 device packages, which
are used to define, configure, and monitor a network service device.
Admin Tab
Use the Admin tab to perform administrative functions such as authentication, authorization, and accounting
functions, scheduling policies, retaining and purging records, upgrading firmware, and controlling features
such as syslog, Call Home, and SNMP.
Operations Tab
The Operations tab provides the following built-in tools for planning and monitoring fabric resources.
• Visibility & Troubleshooting—Shows the location of specified end points in the fabric and displays
the traffic path, including any L4-L7 devices.
• Capacity Dashboard—Displays the available capacity of configurable resources such as end points,
bridge domains, tenants, and contexts.
• EP Tracker—Enables you to view virtual and bare metal endpoint connections and disconnections to
leaf switches and FEXes.
• Visualization—Provides visualization of traffic maps.
Apps Tab
The Apps tab displays all the applications installed or uploaded to APIC. The tab allows an APIC administrator
to upload, enable, upgrade, install, or uninstall a packaged application in APIC.
Integrations Tab
Use the Integrations tab to view all third-party integrations.
Alerts
Click the alert menu bar icon to view a list of active alerts. When system alerts are available, a numeric badge
will appear on the alert icon indicating the number of active alerts. When critical system notifications are
available, the alert icon will blink red. To view the alerts, click the following icon.
Figure 3: Alerts
To disable blinking of the alert icon, remove all critical alerts from the alert list. A disabled Close button on
a critical alert indicates that you must first resolve the underlying issue before the alert can be cleared.
Menus that display the Favorites icon ( ) can be bookmarked by clicking the icon.
• Change My Password—Change the password of the currently logged in local user.
• Change My SSH Keys—Change the user's public SSH key used for certificate-based login.
• Change My X509 Certificate—Change the user's X.509-format certificate for login.
• View My Permissions—Display the user's role-based read and write privileges for domains and accessible
objects.
• Settings—Change general GUI settings.
• Remember Tree Selection—Enable the GUI to keep the navigation tree expanded when returning
to a window. For example, if you enable this property and expand the navigation tree in the Tenants
tab, click on the Fabric tab, then return to the Tenants tab, the tree will remain expanded.
• Preserve Tree Divider Position—Enable the GUI to keep the position of the tree divider after
dragging the tree divider to the desired location.
• Disable Notification on Success—Suppress the success dialog box notification.
• Disable Deployment Warning at Login—Disable the Deployment Warning dialog box when
logging in. See Deployment Warning and Policy Usage Information, on page 25.
• Default Page Size for Tables—Set the GUI table size.
• Show All UI Sections—Display hidden UI configuration options.
• Show What's New at Login—Display splash screen at login, showing recent features.
• Enable Single-Browser Session (SBS)—Allows logging in to the APIC GUI and then opening
additional browser tabs or windows to the same APIC without being required to log in from each
new tab or window. See Single-Browser Session Management, on page 25.
• Change Deployment Settings—Enable and set the scope of the deployment notification. See Deployment
Warning and Policy Usage Information, on page 25.
• Logout—Exit the APIC configuration GUI.
System Tools
To access the system tools, click the following menu bar icon and select an item from the drop-down list.
Figure 5: System Tools
Note Global system settings are configured in System > System Settings.
Navigation Pane
Use the Navigation pane, which is on the left side of the APIC GUI below the submenu bar, to navigate to
all elements of the submenu category.
For each submenu category, the Navigation pane is organized as a hierarchical tree of objects, logical and
physical, related to that category. These objects typically represent ports, policies, or groupings of other
objects. When you select an object in the Navigation pane, details of the object display in the Work pane.
When you right-click an object in the Navigation pane, you might be presented with a menu of possible
actions related to the object, such as one or more of the following actions:
• Delete—Delete the object.
Note If any container in the Navigation pane, for example Application Profiles under a Tenant, contains more
than 40 profiles, you cannot click on a profile and expand it in the Navigation pane. You must select the
desired profile from the Work pane and expand it.
Work Pane
Use the Work pane, which is on the right side of the APIC GUI, to display details about the component that
you selected in the Navigation pane.
The Work pane includes the following elements:
• A content area that displays tabs. These tabs enable you to access information that is related to the
component that you chose in the Navigation pane. The tabs displayed in the content area depend upon
the selected component.
• A link to context-sensitive online help that is represented by a question mark icon in the upper right
corner.
• For some components, a link to conceptual information related to the component, represented by a list
Dashboard Pages
Dashboard pages provide at-a-glance summaries of the status of the ACI system and major system components,
including health score trends, components with below-threshold health scores, and fault counts. You can
configure health score thresholds to determine when components will appear in the dashboard. The system
dashboard page at System > Dashboard summarizes the health of the overall ACI system, while switch
dashboard pages at Fabric > Inventory > Pod n > component > Dashboard summarize the health and faults
of each spine and leaf switch.
Summary Pages
Many top-level folders in the Navigation pane display tile-based Summary pages in the Work pane that link
to subfolders. Some Summary pages, such as those in Fabric > Inventory > Pod n, contain tiles summarizing
major components along with brief health and fault information for each component. Other Summary pages,
such as those in Fabric > Fabric Policies > Policies, contain tiles that describe the configuration areas served
by the contained folders.
Step 1 On the APIC menu bar, choose System > System Settings.
Step 2 In the Navigation pane, click APIC Identification Preferences.
Step 3 In the work pane, type the desired APIC name in the GUI Alias box.
Step 4 Click Submit.
The APIC name appears in parentheses at the top left of the GUI.
Step 1 On the APIC menu bar, choose System > System Settings.
Step 2 In the Navigation pane, click APIC Identification Preferences.
Step 3 In the work pane, complete the following fields as desired:
a) To configure an APIC CLI banner, type the banner text into the Controller CLI Banner textbox.
b) To configure a switch CLI banner, type the banner text into the Switch CLI Banner textbox.
c) To configure an APIC GUI banner, type the URL of a site hosting the desired HTML into the GUI Banner (URL)
textbox.
Note The URL site owner must allow the site to be placed in an iFrame to display the informational banner. If
the owner of the site sets the x-frame-option to deny or sameorigin, the site the URL points to will not
appear.
• Use Global Settings—Use the setting selected for (Global) Show Deployment Warning on
Delete/Modify.
• Yes—Display the Deployment Warning notification before submitting configuration modifications
on any policy change. Valid for this browser session only.
• No—Do not display the Deployment Warning notification before submitting configuration
modifications on any policy change. Valid for this browser session only.
When the History tab is selected in the upper right corner of the Deployment Warning Settings dialog box,
you can view tables of Events and Audit Log entries for previous deployment warnings.
In the Work pane's Interface tab, click on the + button (at the top left), select one or more switches to configure,
and click Add Selected. To select multiple switches, use Ctrl+Click or Shift+Click.
The switches are graphically displayed with their ports and links. If you have configured a breakout port, a
block containing the sub ports is displayed below the leaf diagram.
Note If you accessed the Interface tab from a leaf switch, the leaf switch is automatically added.
Select the interfaces to configure. When interfaces are selected, the available configuration buttons appear.
Depending on the number of selected interfaces and where they are located, you can then click one of the
following buttons at the top of the page:
• L2—Layer 2. Visible when you click one or more leaf interfaces on the switch diagrams.
• PC—Port Channel. Visible when you click one or more leaf interfaces on the switch diagrams.
• VPC—Virtual Port Channel. Visible when you click at least one interface on two switch diagrams.
• FEX—Fabric Extender. Visible when you click one or more leaf interfaces on the switch diagrams.
• Breakout—Breakout mode. Visible when you click one or more leaf interfaces on the switch diagrams.
• Fabric—Add policies to a fabric interface. Visible when you click a port that is eligible to be a fabric
port.
• Uplink and Downlink—Convert eligible uplinks to downlinks and vice versa.
• Spine—Visible when you click one or more leaf interfaces on the switch diagrams.
Step 4 In the Filters toolbar of the API Inspector window, choose the types of API log messages to display.
The displayed messages are color-coded according to the selected message types. This table shows the available message
types:
Name Description
trace Displays trace messages.
debug Displays debug messages. This type includes most API commands and responses.
info Displays informational messages.
warn Displays warning messages.
error Displays error messages.
fatal Displays fatal messages.
all Checking this checkbox causes all other checkboxes to become checked. Unchecking any other
checkbox causes this checkbox to be unchecked.
Step 5 In the Search toolbar, you can search the displayed messages for an exact string or by a regular expression.
This table shows the search controls:
Name Description
Search In this text box, enter a string for a direct search or enter a regular expression for a regex search.
As you type, the first matched field in the log list is highlighted.
Reset Click this button to clear the contents of the Search text box.
Regex Check this checkbox to use the contents of the Search text box as a regular expression for a search.
Match case Check this checkbox to make the search case sensitive.
Disable Check this checkbox to disable the search and clear the highlighting of search matches in the log
list.
Name Description
Next Click this button to cause the log list to scroll to the next matched entry. This button appears only
when a search is active.
Previous Click this button to cause the log list to scroll to the previous matched entry. This button appears
only when a search is active.
Filter Check this checkbox to hide nonmatched lines. This checkbox appears only when a search is active.
Highlight all Check this checkbox to highlight all matched fields. This checkbox appears only when a search is
active.
Step 6 In the Options toolbar, you can arrange the displayed messages.
This table shows the available options:
Name Description
Log Check this checkbox to enable logging.
Wrap Check this checkbox to enable wrapping of lines to avoid horizontal scrolling of the log list
Newest at the top Check this checkbox to display log entries in reverse chronological order.
Scroll to latest Check this checkbox to scroll immediately to the latest log entry.
Clear Click this button to clear the log list.
Close Click this button to close the API Inspector.
Example
This example shows two debug messages in the API Inspector window:
GUI Icons
Table 4: Frequently Displayed Icons in the APIC GUI
Icons Description
Search, on page 20
Icons Description
Alerts, on page 20
Quick Start
Topology
Pod
Icons Description
Displays a drop-down list of actions
Download to a file
Upload a file
Icons Description
Critical—This icon displays a fault level with critical severity.
Note Before you can build a fabric, you must have already created an APIC cluster over the out-of-band network.
Core-Aggregation-Access architecture, thus mitigating the need to upgrade costly components such as rack
space or cabling. The addition of a tier-2 leaf layer makes this topology possible. The tier-2 leaf layer supports
connectivity to hosts or servers on the downlink ports and connectivity to the leaf layer (aggregation) on the
uplink ports.
In the multi-tier topology, the leaf switches initially have uplink connectivity to the spine switches and downlink
connectivity to the tier-2 leaf switches. To make the entire topology an ACI fabric, all ports on the leaf switches
connecting to tier-2 leaf fabric ports must be configured as fabric ports (if not already using the default fabric
ports). After APIC discovers the tier-2 leaf switch, you can change the downlink port on the tier-2 leaf to a
fabric port and connect to an uplink port on the middle layer leaf.
Note If you are not using the default fabric ports to connect leaf switches to tier-2 leaf, you must convert the leaf
ports from downlink to uplink (leaf switch reload required). For more information about changing port
connectivity, see the Access Interfaces chapter of the Cisco APIC Layer 2 Networking Configuration Guide.
While the topology in the above image shows the Cisco APIC and L3Out/EPG connected to the leaf aggregation
layer, the tier-2 leaf access layer also supports connectivity to APICs and L3Out/EPGs.
Note Only Cisco Nexus 9000 Series switches with model numbers that end in EX, and later are supported as tier-2
leaf switches and as leaf switches, if there are tier-2 leaf switches attached to them. See the table below.
Tier-2 leaf switches attached to remote leaf switches are not supported.
Switch Discovery
About Switch Discovery with the APIC
The APIC is a central point of automated provisioning and management for all the switches that are part of
the ACI fabric. A single data center might include multiple ACI fabrics; each data center might have its own
APIC cluster and Cisco Nexus 9000 Series switches that are part of the fabric. To ensure that a switch is
managed only by a single APIC cluster, each switch must be registered with that specific APIC cluster that
manages the fabric.
The APIC discovers new switches that are directly connected to any switch it currently manages. Each APIC
instance in the cluster first discovers only the leaf switch to which it is directly connected. After the leaf switch
is registered with the APIC, the APIC discovers all spine switches that are directly connected to the leaf switch.
As each spine switch is registered, that APIC discovers all the leaf switches that are connected to that spine
switch. This cascaded discovery allows the APIC to discover the entire fabric topology in a few simple steps.
Note Before you begin registering a switch, make sure that all switches in the fabric are physically connected and
booted in the desired configuration. For information about the installation of the chassis, see
http://www.cisco.com/c/en/us/support/cloud-systems-management/
application-policy-infrastructure-controller-apic/products-installation-guides-list.html.
After a switch is registered with the APIC, the switch is part of the APIC-managed fabric inventory. With the
Application Centric Infrastructure fabric (ACI fabric), the APIC is the single point of provisioning, management,
and monitoring for switches in the infrastructure.
Note The infrastructure IP address range must not overlap with other IP addresses used in the ACI fabric for in-band
and out-of-band networks.
Note The infrastructure IP address range must not overlap with other IP addresses used in the ACI fabric for in-band
and out-of-band networks.
Step 1 On the menu bar, navigate to Fabric > Inventory > Fabric Membership.
Step 2 In the Fabric Membership work pane, click the Nodes Pending Registration tab.
Switches in the Nodes Pending Registration tab table can have the following conditions:
• A newly discovered but unregistered node has a node ID of 0 and has no IP address.
• A manually entered (in APIC) but unregistered switch has an original status of Undiscovered until it is physically
connected to the network. Once connected, the status changes to Discovered.
Step 3 In the Nodes Pending Registration table, locate a switch with an ID of 0 or a newly connected switch with the serial
number you want to register.
Step 4 Right-click the leaf switch row, select Register, and perform the following actions:
a) Verify the displayed Serial Number to determine which switch is being added.
b) Configure or edit the following settings:
Field Setting
Node ID A number greater than 100. The first 100 IDs are reserved for APIC appliance
nodes.
Note We recommend that leaf nodes and spine nodes be numbered
differently. For example, number spines in the 100 range (such as
101, 102) and number leafs in the 200 range (such as 201, 202).
Note After the node ID is assigned, it cannot be updated. After the node
has been added to the Registered Nodes tab table, you can update
the node name by right-clicking the table row and choosing Edit
Node and Rack Name.
RL TEP Pool Tunnel endpoint (TEP) pool identifier for the node.
Rack Name The name of the rack in which the node is installed. Select Default or select
Create Rack to add a name and description.
c) Click Register.
APIC assigns an IP address to the node and the node is added to the Registered Nodes tab table. Next and if applicable,
other nodes that are connected to this node are discovered and appear in the Nodes Pending Registration tab table.
Step 5 Continue to monitor the Nodes Pending Registration tab table. As more nodes appear, repeat these steps to register each
new node until all installed nodes are registered.
Step 1 On the menu bar, navigate to Fabric > Inventory > Fabric Membership.
Step 2 On the Registered Nodes or Nodes Pending Registration work pane, click the Actions icon, then click Create Fabric
Node Member.
The Create Fabric Node Member dialog appears.
Field Setting
Node ID Required: Enter a number greater than 100. The first 100 IDs are reserved for APIC appliance
nodes.
Note We recommend that leaf nodes and spine nodes be numbered differently. For
example, number leafs in the 100 range (such as 101, 102) and number spines
in the 200 range (such as 201, 202).
Note After the node ID is assigned, it cannot be updated. After the node has been added
to the Registered Nodes tab table, you can update the node name by right-clicking
the table row and choosing Edit Node and Rack Name.
• spine
Check the following box if applicable:
• Is Virtual
• unspecified
APIC adds the new node to the Nodes Pending Registration tab table.
What to do next
Connect the physical switch to the network. Once connected, APIC matches the serial number of the physical
switch to the new entry. Monitor the Nodes Pending Registration tab table until the Status for the new switch
changes from Undiscovered to Discovered. Follow the steps in the Registering an Unregistered Switch Using
the GUI, on page 35 section to complete the fabric initialization and discovery process for the new switch.
Step 1 On the menu bar, navigate to Fabric > Inventory > Fabric Membership.
Step 2 In the Fabric Membership work pane, click the Registered Nodes tab.
The switches in the fabric are displayed in the Registered Nodes tab table with their node IDs. In the table, all the
registered switches are displayed with the IP addresses that are assigned to them.
Step 1 On the menu bar, navigate to Fabric > Inventory > Pod number .
Step 2 In the Work pane, click the Topology tab.
The displayed diagram shows all attached switches, APIC instances, and links.
Step 3 (Optional) Hover over any component to view its health, status, and inventory information.
Step 4 (Optional) To view the port-level connectivity of a leaf switch or spine switch, double-click its icon in the topology
diagram.
Step 5 (Optional) To refresh the topology diagram, click the icon in the upper right corner of the Work pane.
a management address, and this management address must be advertised by Link Layer Discovery Protocol
(LLDP) on the ports that are connected to the switches. Layer 2 switches are automatically discovered by the
APIC, and they are identified by the management address. To view the unmanaged switches in APIC, navigate
to Fabric > Inventory > Fabric Membership and click the Unmanaged Fabric Nodes tab.
Important Notes
• Upgrading or downgrading a switch in maintenance mode is not supported.
• While the switch is in maintenance mode, the Ethernet port module stops propagating the interface related
notifications. As a result, if the remote switch is rebooted or the fabric link is flapped during this time,
the fabric link will not come up afterward unless the switch is manually rebooted (using the acidiag
touch clean command), decommissioned, and recommissioned.
• While the switch is in maintenance mode, CLI 'show' commands on the switch show the front panel ports
as being in the up state and the BGP protocol as up and running. The interfaces are actually shut and all
other adjacencies for BGP are brought down, but the displayed active states allow for debugging.
• For multi-pod, IS-IS metric for redistributed routes should be set to less than 63. To set the IS-IS
metric for redistributed routes, choose Fabric > Fabric Policies > Pod Policies > IS-IS Policy.
• Existing GIR supports all Layer 3 traffic diversion. With LACP, all the Layer 2 traffic is also diverted
to the redundant node. Once a node goes into maintenance mode, LACP running on the node immediately
informs neighbors that it can no longer be aggregated as part of port-channel. All traffic is then diverted
to the vPC peer node.
• For a GIR upgrade, Cisco Application Policy Infrastructure Controller (Cisco APIC)-connected leaf
switches must be put into different maintenance groups such that the Cisco APIC-connected leaf switches
get upgraded one at a time.
Note Prior to initiating a change to the cluster, always verify its health. When performing planned changes to the
cluster, all controllers in the cluster should be healthy. If one or more of the Cisco APICs' health status in the
cluster is not "fully fit," remedy that situation before proceeding. Also, assure that cluster controllers added
to the Cisco APIC are running the same version of firmware as the other controllers in the Cisco APIC cluster.
• When an Cisco APIC cluster is split into two or more groups, the ID of a node is changed and the changes
are not synchronized across all Cisco APICs. This can cause inconsistency in the node IDs between Cisco
APICs and also the affected leaf nodes may not appear in the inventory in the Cisco APIC GUI. When
you split a Cisco APIC cluster, decommission the affected leaf nodes from a Cisco APIC and register
them again, so that the inconsistency in the node IDs is resolved and the health status of the APICs in a
cluster are in a fully fit state.
• Before configuring the Cisco APIC cluster, ensure that all of the Cisco APICs are running the same
firmware version. Initial clustering of Cisco APICs running differing versions is an unsupported operation
and may cause problems within the cluster.
• Depending on the amount of data the APIC must synchronize upon the addition of each appliance, the
time required to complete the expansion could be more than 10 minutes per appliance. Upon successful
expansion of the cluster, the APIC operational size and the target size will be equal.
Note Allow the APIC to complete the cluster expansion before making additional
changes to the cluster.
Note Failure to follow an orderly process to decommission and power down APIC controllers from a reduced cluster
can lead to unpredictable outcomes. Do not allow unrecognized APIC controllers to remain connected to the
fabric.
• Reducing the cluster size increases the load on the remaining APIC controllers. Schedule the APIC
controller size reduction at a time when the demands of the fabric workload will not be impacted by the
cluster synchronization.
• If one or more of the APIC controllers' health status in the cluster is not "fully fit", remedy that situation
before proceeding.
• Reduce the cluster target size to the new lower value. For example if the existing cluster size is 6 and
you will remove 3 controllers, reduce the cluster target size to 3.
• Starting with the highest numbered controller ID in the existing cluster, decommission, power down,
and disconnect the APIC controller one by one until the cluster reaches the new lower target size.
Upon the decommissioning and removal of each controller, the APIC synchronizes the cluster.
Note After decommissioning an APIC controller from the cluster, power it down and
disconnect it from fabric. Before returning it to service, do a wiped clean back
to factory reset.
• Cluster synchronization stops if an existing APIC controller becomes unavailable. Resolve this issue
before attempting to proceed with the cluster synchronization.
• Depending on the amount of data the APIC must synchronize upon the removal of a controller, the time
required to decommission and complete cluster synchronization for each controller could be more than
10 minutes per controller.
Note Complete the entire necessary decommissioning steps, allowing the APIC to complete the cluster
synchronization accordingly before making additional changes to the cluster.
• You must choose a Cisco APIC controller that is within the cluster and not the controller that is being
decommissioned. For example: Log in to Cisco APIC1 or APIC2 to invoke the shutdown of APIC3 and
decommission APIC3.
• Perform the replacement procedure in the following order:
1. Make note of the configuration parameters and image of the APIC being replaced.
2. Decommission the APIC you want to replace (see Decommissioning a Cisco APIC Controller in the
Cluster Using the GUI, on page 47)
3. Commission the replacement APIC using the same configuration and image of the APIC being
replaced (see Commissioning a Cisco APIC Controller in the Cluster Using the GUI, on page 47)
• Stage the replacement Cisco APIC controller according to the instructions in its hardware installation
guide. Verify in-band connectivity with a PING test.
• Depending on the amount of data the Cisco APIC must synchronize upon the replacement of a controller,
the time required to complete the replacement could be more than 10 minutes per replacement controller.
Upon successful synchronization of the replacement controller with the cluster, the Cisco APIC operational
size and the target size will remain unchanged.
Note Allow the Cisco APIC to complete the cluster synchronization before making
additional changes to the cluster.
• The UUID and fabric domain name persist in a Cisco APIC controller across reboots. However, a clean
back-to-factory reboot removes this information. If a Cisco APIC controller is to be moved from one
fabric to another, a clean back-to-factory reboot must be done before attempting to add such an controller
to a different Cisco ACI fabric.
You must choose an apic_controller_name that is within the cluster that you wish to expand.
The Cluster as Seen by Node window appears in the Work pane with three tabs: APIC Cluster, APIC-X, and Standby
APIC. In the APIC Cluster tab, the controller details appear. This includes the current cluster target and current sizes,
the administrative, operational, and health states of each controller in the cluster.
Step 2 Verify that the health state of the cluster is Fully Fit before you proceed with contracting the cluster.
Step 3 In the Work pane, click Actions > Change Cluster Size.
Step 4 In the Change Cluster Size dialog box, in the Target Cluster Administrative Size field, choose the target number to
which you want to expand the cluster. Click Submit.
Note It is not acceptable to have a cluster size of two APIC controllers. A cluster of one, three, or more APIC
controllers is acceptable.
Step 5 From the Active Controllers area of the Work pane, choose the APIC that is last in the cluster.
Example:
In a cluster of three, the last in the cluster is three as identified by the controller ID.
Step 6 When the Confirmation dialog box displays, click Yes.
The decommissioned controller displays Unregistered in the Operational State column. The controller is then taken
out of service and not visible in the Work pane any longer.
Step 7 Repeat the earlier step to decommission the controllers one by one for all the APICs in the cluster in the appropriate order
of highest controller ID number to the lowest.
Note The operation cluster size shrinks only after the last appliance is decommissioned, and not after the administrative
size is changed. Verify after each controller is decommissioned that the operational state of the controller is
unregistered, and the controller is no longer in service in the cluster.
You should be left with the remaining controllers in the APIC cluster that you desire.
The decommissioned controller displays Unregistered in the Operational State column. The controller is then taken
out of service and no longer visible in the Work pane.
Note • After decommissioning an APIC controller from the cluster, power the APIC controller down and disconnect
it from the fabric. Before returning the APIC controller to service, perform a factory reset on the APIC
controller.
• The operation cluster size shrinks only after the last appliance is decommissioned, and not after the
administrative size is changed. Verify after each controller is decommissioned that the operational state
of the controller is unregistered, and the controller is no longer in service in the cluster.
• After decommissioning the APIC controller, you must reboot the APIC for Layer 4 to Layer 7 services.
Reboot must be done before commissioning back the controller.
After all the APICs are powered on, ensure that all the APICs are in a fully fit state. Only after verifying that the APICs
are in a fully fit state, you must make any configuration changes on the APIC.
Cold Standby
About Cold Standby for APIC Cluster
The Cold Standby functionality for an APIC cluster enables you to operate the APICs in a cluster in an
Active/Standby mode. In an APIC cluster, the designated active APICs share the load and the designated
standby APICs can act as a replacement for any of the APICs in an active cluster.
As an admin user, you can set up the Cold Standby functionality when the APIC is launched for the first time.
We recommend that you have at least three active APICs in a cluster, and one or more standby APICs. As an
admin user, you can initiate the switch over to replace an active APIC with a standby APIC.
Important Notes
• The standby APIC is automatically updated with firmware updates to keep the backup APIC at same
firmware version as the active cluster.
• During an upgrade process, once all the active APICs are upgraded, the standby APIC is also be upgraded
automatically.
• Temporary IDs are assigned to standby APICs. After a standby APIC is switched over to an active APIC,
a new ID is assigned.
• Admin login is not enabled on standby APIC. To troubleshoot Cold Standby, you must log in to the
standby using SSH as rescue-user.
• During switch over the replaced active APIC is powered down, to prevent connectivity to the replaced
APIC.
• Switch over fails under the following conditions:
• If there is no connectivity to the standby APIC.
• If the firmware version of the standby APIC is not the same as that of the active cluster.
• After switching over a standby APIC to active, if it was the only standby, you must configure a new
standby.
• The following limitations are observed for retaining out of band address for standby APIC after a fail
over.
• Standby (new active) APIC may not retain its out of band address if more than 1 active APICs are
down or unavailable.
• Standby (new active) APIC may not retain its out of band address if it is in a different subnet than
active APIC. This limitation is only applicable for APIC release 2.x.
• Standby (new active) APIC may not retain its IPv6 out of band address. This limitation is not
applicable starting from APIC release 3.1x.
• Standby (new active) APIC may not retain its out of band address if you have configured non Static
OOB Management IP address policy for replacement (old active) APIC.
Note In case you observe any of the limitations, in order to retain standby APICs out
of band address, you must manually change the OOB policy for replaced APIC
after the replace operation is completed successfully.
• We recommend keeping standby APICs in same POD as the active APICs it may replace.
• There must be three active APICs in order to add a standby APIC.
• The standby APIC does not participate in policy configuration or management.
• No information is replicated to standby controllers, including admin credentials.
Step 3 In the Work pane, verify that the Health State in the Active Controllers summary table indicates the active controller
is Fully Fit before continuing.
Step 4 Click an apic_controller_name that you want to switch over.
Step 5 In the Work pane, click Actions > Replace.
The Replace dialog box displays.
Step 6 Choose the Backup Controller from the drop-down list and click Submit.
It may take several minutes to switch over an active APIC with a standby APIC and for the system to be registered as
active.
Step 7 Verify the progress of the switch over in the Failover Status field in the Active Controllers summary table.
Note Prior to initiating a change to the cluster, always verify its health. When performing planned changes to the
cluster, all controllers in the cluster should be healthy. If one or more of the Cisco APICs' health status in the
cluster is not "fully fit," remedy that situation before proceeding. Also, assure that cluster controllers added
to the Cisco APIC are running the same version of firmware as the other controllers in the Cisco APIC cluster.
shut down, move the Cisco APIC, re-connect it, and then turn it back on. From the GUI, verify that the
all controllers in the cluster return to a fully fit state.
• When an Cisco APIC cluster is split into two or more groups, the ID of a node is changed and the changes
are not synchronized across all Cisco APICs. This can cause inconsistency in the node IDs between Cisco
APICs and also the affected leaf nodes may not appear in the inventory in the Cisco APIC GUI. When
you split a Cisco APIC cluster, decommission the affected leaf nodes from a Cisco APIC and register
them again, so that the inconsistency in the node IDs is resolved and the health status of the APICs in a
cluster are in a fully fit state.
• Before configuring the Cisco APIC cluster, ensure that all of the Cisco APICs are running the same
firmware version. Initial clustering of Cisco APICs running differing versions is an unsupported operation
and may cause problems within the cluster.
Note • For more information about managing clusters, see Cluster Management Guidelines.
• When you replace an APIC, the password will always be synced from the cluster. When replacing APIC
1, you will be asked for a password but it will be ignored in favor of the existing password in the cluster.
When replacing APIC 2 or 3, you will not be asked for a password.
c) Commission the new APIC using the controller controller-id commission command.
d) Boot the new APIC.
e) Allow several minutes for the new APIC information to propagate to the rest of the cluster.
The new APIC controller appears in the APIC GUI menu System > Controllers > apic_controller_name > Cluster
as Seen by Node in the Active Controllers list.
SUMMARY STEPS
1. replace-controller replace ID number Backup serial number
2. replace-controller reset ID number
DETAILED STEPS
Step 2 replace-controller reset ID number Resets fail over status of the active controller.
Example:
apic1# replace-controller reset 2
Do you want to reset failover status of APIC 2?
(Y/n): Y
To verify the Cold Standby status of APIC, log in to the APIC as admin and enter the command show controller .
Note This procedure is identical to "Adding a Switch Before Discovery Using the CLI". When you execute the
command, the system determines if the node exists and, if not, adds it. If the node exists, the system registers
it.
Procedure
Note This procedure is identical to "Registering an Unregistered Switch Using the CLI". When you execute the
command, the system determines if the node exists and, if not, adds it. If the node does exist, the system
registers it.
SUMMARY STEPS
1. [no] system switch-id serial-number switch-id name pod id role leaf node-type tier-2-leaf
DETAILED STEPS
SUMMARY STEPS
1. [no]debug-switch node_id or node_name
DETAILED STEPS
SUMMARY STEPS
1. [no]no debug-switch node_id or node_name
DETAILED STEPS
Step 1 Set the target cluster size to expand the APIC cluster size.
Example:
POST
https://<IP address>/api/node/mo/uni/controller.xml
<infraClusterPol name='default' size=3/>
Step 2 Physically connect the APIC controllers that you want to add to the cluster.
Step 1 Set the target cluster size so as to contract the APIC cluster size.
Example:
POST
https://<IP address>/api/node/mo/uni/controller.xml
<infraClusterPol name='default' size=1/>
Example:
POST
https://<IP address>/api/node/mo/topology/pod-1/node-1/av.xml
<infraWiNode id=3 adminSt='out-of-service'/>
Switching Over Active APIC with Standby APIC Using REST API
Use this procedure to switch over an active APIC with standby APIC using REST API.
Example:
https://ip address/api/node/mo/topology/pod-1/node-1/av.xml
<infraWiNode id=2 targetMbSn=FCH1750V00Q/>
Note This procedure is identical to "Adding a Switch Before Discovery Using the REST API". When you apply
the code, the system determines if the node exists and, if not, adds it. If the node does exist, the system registers
it.
Example:
POST
https://<IP address>/api/policymgr/mo/.xml
</fabricNodeIdentPol>
</ctrlrInst>
</polUni>
Note This procedure is identical to "Registering an Unregistered Switch Using the REST API". When you apply
the code, the system determines if the node exists and, if not, adds it. If the node does exist, the system registers
it.
</fabricNodeIdentPol>
</ctrlrInst>
</polUni>
<fabricOOServicePol
descr=""
dn=""
name="default"
nameAlias=""
ownerKey=""
ownerTag="">
<fabricRsDecommissionNode
debug="yes"
dn=""
removeFromController="no"
tDn="topology/pod-1/node-102"/>
</fabricOOServicePol>
<fabricOOServicePol
descr=""
dn=""
name="default"
nameAlias=""
ownerKey=""
ownerTag="">
<fabricRsDecommissionNode
debug="yes"
dn=""
removeFromController="no"
tDn="topology/pod-1/node-102"
status="deleted"/>
</fabricOOServicePol>