Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

PDF

Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

Physical ports configuration

Want to summarize with AI?

Log in

Describes the multiple methods available to configure Cisco Application Centric Infrastructure (ACI) leaf switch interfaces.


Physical ports configuration is a network administration process that

  • enables configuration of Cisco Application Centric Infrastructure (ACI) leaf switch interfaces through multiple methods

  • provides selector and profile-based configuration models for interface management, and

  • supports simplified configuration workflows to reduce administrative complexity.

Configuration methods

There are multiple ways to configure Cisco Application Centric Infrastructure (ACI) leaf switch interfaces:

  • By using the selector and profile-based configuration model. From Fabric > Access Policies > Switches > Leaf Switches > Profiles, you can configure a switch profile that selects a leaf node with a leaf selector and the associated interface profiles to select the interface profiles (Fabric > Access Policies > Interfaces > Leaf Interfaces > Profiles), which in turn select one or more interfaces and associate them to interface policy groups.

  • By using the interface configuration beginning with the Cisco Application Centric Infrastructure (APIC) 6.0(1) release. Go to Fabric > Access Policies > Interface Configurations. This configuration option simplifies the configuration workflow by reducing the number of configuration steps from four to one.

  • By using the inventory view from Fabric > Inventory > pod_ID > switch_name. Beginning with the Cisco APIC 6.0(1) release, the inventory view configuration also uses the interface configuration.

  • By using the Fabric > Access Policies > Quick Start wizard. Beginning with the Cisco APIC 6.0(1) release, the inventory view configuration also uses the interface configuration.


Configure leaf switch physical ports using the interface configuration model using the GUI in release 5.2(7) and later

In release 5.2(7) and later, this procedure uses either the Fabric > Access Policies > Quick Start > Configure Interfaces or the Fabric > Access Policies > Interface Configuration page to attach a server to a Cisco Application Centric Infrastructure (ACI) leaf switch interface. The steps would be the same for attaching other kinds of devices to a Cisco ACI leaf switch interface.

Figure 1. Switch interface configuration for bare metal server


Before you begin

  • The Cisco ACI fabric is installed, Cisco Application Policy Infrastructure Controllers (APICs) are online, and the Cisco APIC cluster is formed and healthy.

  • A Cisco APIC fabric administrator account is available that will enable creating the necessary fabric infrastructure configurations.

  • The target leaf switches are registered in the Cisco ACI fabric and available.

Follow these steps to configure leaf switch physical ports using the Interface Configuration Model using the GUI in Release 5.2(7) and later:

Procedure

  1. On the menu bar, choose Fabric > Access Policies.

  2. In the Navigation pane, choose Quick Start or Interface Configuration.

  3. In the Work pane, click Configure Interfaces. of the Quick Start wizard, click Configure Interfaces, or in the Work pane of Interface Configuration choose Actions > Configure Interfaces.

  4. In the Configure Interfaces dialog, perform the following actions:

    1. For Node Type, click Leaf.
    2. For Port Type, click Access.
    3. For Interface Type, choose the desired type.
    4. For Interface Aggregation Type, choose Individual.
    5. For Node, click Select Node, put a check in the box for the desired switch (node), then click OK.

      You can select multiple switches.

    6. For Interfaces, click Select Interfaces, put a check in the box for the desired interface(s), then click OK.
    7. For Interface Policy Group, click Select Leaf Access Port Policy Group.
    8. In the Select Leaf Access Port Policy Group dialog, click Create Leaf Access Port Policy Group.

      The interface policy group is a named policy that specifies the group of interface policies you will apply to the selected interfaces of the switch. Examples of interface policies include link level policy (for example, 1gbit port speed) and storm control interface policy.

    9. In the Create Leaf Access Port Policy Group dialog, choose or create the desired policies.
    10. Click Save.

What to do next

This completes the basic leaf switch interface configuration steps.

Note

While this configuration enables hardware connectivity, no data traffic can flow without a valid application profile, EPG, and contract that is associated with this hardware configuration.


Migrate interfaces from the selector and profile to interface configuration using the GUI

You can convert the configuration of an existing interface from the selector- and profile-based model to the interface configuration model by using this procedure.

Note

The Cisco Application Policy Infrastructure Controller (APIC) does not automatically migrate interfaces with an active policy group override. You must migrate these ports manually. However, when an override is configured only for the interface description without an actual interface policy group, those ports can be migrated with the procedure shown below.

Follow these steps to migrate interfaces from the selector and profile to interface configuration using the GUI:

Procedure

  1. On the menu bar, choose Fabric > Access Policies.

  2. In the Navigation pane, choose Interface Configuration.

  3. In the table, select the interface that you want to migrate and click the three dots at the right.

  4. In the pop-up menu, choose Edit Interface Configuration.

    The following a message displays:

    This interface is configured using interface selectors. We recommend migrating it to newer way of configuring interfaces. Clicking on Save will migrate this interface.

  5. Click Save.

    The Cisco APIC converts the interface to the new configuration model.

  6. Perform one of the following sets of substeps depending on your Cisco APIC release and what you want to do:

    To migrate a single interface:

    1. In the table, select the interface that you want to migrate and click the three dots at the right.
    2. In the pop-up menu, choose Edit Interface Configuration.

      The following a message displays:

      This interface is configured using interface selectors. We recommend migrating it to newer way of configuring interfaces. Clicking on Save will migrate this interface.

    3. Click Save.

      The Cisco APIC converts the interface to the new configuration model.

    In the 6.0(2) release and later, Cisco APIC simplifies the task of migrating existing configurations based on the selector- and profile-based model to the interface configuration model. You can migrate the selector-based configuration for all the ports of a node by selecting multiple nodes. This capability is useful if a selector spans across multiple nodes. To migrate multiple interfaces:

    1. In the table, select the interfaces that you want to migrate.
    2. Choose Actions > Configure Interfaces.

      The following a message displays:

      This interface is configured using interface selectors. We recommend migrating it to newer way of configuring interfaces. Clicking on Save will migrate this interface.

    3. Click Save.

      The Cisco APIC converts the interfaces to the new configuration model.


Modify interface configuration using the GUI

You can modify the configuration of an interface as follows:

Procedure

  1. On the menu bar, choose Fabric > Access Policies.

  2. In the Navigation pane, choose Interface Configuration.

  3. In the table, select the interface that you want to migrate and click the three dots at the right.

  4. In the pop-up menu, choose Edit Interface Configuration.

    A window appears with the policy group associated to this interface.

  5. If there is an existing policy group, you can remove it by clicking the x next to the group.

  6. Click Select Leaf Access Port Policy Group to assign a new policy group.

  7. Choose an existing policy group or click Create Leaf Access Port Policy Group to create a new one.

  8. Click Save.


View the interface configuration using the GUI

The Cisco Application Policy Infrastructure Controller (APIC) GUI offers a unified view of the interface configuration regardless of whether the interfaces have been configured using the selector and profile model or the interface configuration model.

Procedure

  1. Choose Fabric > Access Policies > Interface Configuration and navigate the table on the right to see all the leaf nodes and interfaces.

  2. Click a leaf node to view the leaf node's information.

    The leaf node information displays, including the admin state, the IP address of the TEP, the ID number, the hardware model, the serial number, and the software version.

  3. Click an interface to view the interface's information.

    The "Infra Port Summary" view displays.

  4. Click the middle icon on the top right for a full screen view of the interface's information.

    The full screen view contains the following tabs that show additional information: Overview, Operational, Deployed EPGs, VLANs, Statistics, QoS stats, and Event Analytics.

  5. Click the x in the top right to close the full screen view.

  6. Click the policy group name of a given interface to view information about the policy group.

    Information about the policy group displays, including the 802.1X configuration, attachable entity profile, CDP configuration, and LLDP configuration.


Configure physical ports in leaf nodes and FEX devices using the NX-OS CLI

This task allows you to configure physical ports on leaf nodes and FEX modules to establish proper network connectivity and set interface parameters such as speed, protocol settings, and administrative state.

The commands in the following examples create many managed objects in the Cisco Application Centric Infrastructure (ACI) policy model that are fully compatible with the REST API/SDK and GUI. However, the CLI user can focus on the intended network configuration instead of Cisco ACI model internals.

Figure 1 shows examples of Ethernet ports directly on leaf nodes or FEX modules attached to leaf nodes and how each is represented in the CLI. For FEX ports, the fex-id is included in the naming of the port itself as in ethernet 101/1/1 . While describing an interface range, the ethernet keyword need not be repeated as in NX-OS. Example: interface ethernet 101/1/1-2, 102/1/1-2 .

Figure 2. Example of leaf node ports and FEX ports in Cisco ACI
  • Leaf node ID numbers are global.

  • The fex-id numbers are local to each leaf node.

  • Note the space after the keyword ethernet .

Follow these steps to configure physical ports in leaf nodes and FEX devices using the NX-OS CLI:

Procedure

  1. configure

    Enters global configuration mode.

    Example:

    apic1# configure
  2. leaf node-id

    Specifies the leaf nodes to be configured. The node-id can be a single node ID or a range of IDs, in the form node-id1- node-id2 , to which the configuration will be applied.

    Example:

    apic1(config)# leaf 102
  3. interface type

    Specifies the interface that you are configuring. You can specify the interface type and identity. For an Ethernet port, use "ethernet slot / port."

    Example:

    apic1(config-leaf)# interface ethernet 1/2
  4. fex associate node-id

    If the interface or interfaces to be configured are FEX interfaces, you must use this command to attach the FEX module to a leaf node before configuration.

    Note

    This step is required before creating a port channel using FEX ports.

    Example:

    apic1(config-leaf-if)# fex associate 101
  5. speed speed

    The speed setting is shown as an example. At this point you can configure any of the interface settings shown in the table below.

    Example:

    apic1(config-leaf-if)# speed 10G

The following table shows the interface settings that can be configured at this point:

Command

Purpose

[no] shut

Shut down physical interface

[no] speed speedValue

Set the speed for physical interface

[no] link debounce time time

Set link debounce

[no] negotiate auto

Configure negotiate

[no] cdp enable

Disable/enable Cisco Discovery Protocol (CDP)

[no] mcp enable

Disable/enable Mis-cabling Protocol (MCP)

[no] lldp transmit

Set the transmit for physical interface

[no] lldp receive

Set the LLDP receive for physical interface

spanning-tree {bpduguard | bpdufilter} {enable | disable}

Configure spanning tree BPDU

[no] storm-control level percentage [ burst-rate percentage ]

Storm-control configuration (percentage)

[no] storm-control pps packets-per-second burst-rate packets-per-second

Storm-control configuration (packets-per-second)

Examples

Configure one port in a leaf node. The following example shows how to configure the interface eth1/2 in leaf 101 for the following properties: speed, cdp, and admin state.

apic1# configure
apic1(config)# leaf 101
apic1(config-leaf)# interface ethernet 1/2
apic1(config-leaf-if)# speed 10G
apic1(config-leaf-if)# cdp enable
apic1(config-leaf-if)# no shut

Configure multiple ports in multiple leaf nodes. The following example shows the configuration of speed for interfaces eth1/1-10 for each of the leaf nodes 101-103.

apic1(config)# leaf 101-103
apic1(config-leaf)# interface eth 1/1-10
apic1(config-leaf-if)# speed 10G

Attach a FEX to a leaf node. The following example shows how to attach a FEX module to a leaf node. Unlike in NX-OS, the leaf node port Eth1/5 is implicitly configured as fabric port and a FEX fabric port channel is created internally with the FEX uplink port(s). In Cisco ACI, the FEX fabric port channels use default configuration and no user configuration is allowed.

Note

This step is required before creating a port channel using FEX ports, as described in the next example.

apic1(config)# leaf 102
apic1(config-leaf)# interface eth 1/5
apic1(config-leaf-if)# fex associate 101

Configure FEX ports attached to leaf nodes. This example shows configuration of speed for interfaces eth1/1-10 in FEX module 101 attached to each of the leaf nodes 102-103. The FEX ID 101 is included in the port identifier. FEX IDs start with 101 and are local to a leaf node.

apic1(config)# leaf 102-103
apic1(config-leaf)# interface eth 101/1/1-10
apic1(config-leaf-if)# speed 1G