Site icon

ACI: vPC in ACI

Screen Shot 2018-04-10 at 1.06.01 PM.png

Prerequisites

While there are no prerequisites, if you need a refresher on Fabric Access Policy Configurations inside of ACI (i.e., AAEP, Switch Profiles, Interface Profiles, Vlan Pools, Policy Groups), check out this post, Configuring Fabric Access Policies.

vPC Overview

A virtual port channel (vPC) allows links that are physically connected to two different ACI Leaf nodes to appear as a single port channel to a third device (i.e., network switch, server, any other networking device that supports link aggregation technology).

vPCs consist of two ACI leaf switches designated as vPC peer switches. Of the vPC peers, one is primary and one is secondary. The system formed by the switches is referred to as a vPC domain.

The following behavior is specific to the ACI vPC implementation:

Defining vPC switch Pairs inside of ACI

Note – This section is not where you define your vPC to end-host connectivity; This section is where you group your Leaf switches into vPC peer groups.

Best Practice – Keep it simple. Group your Leaf switch peer groups like this:

For more information on ACI Naming Best Practices, check out the ACI Naming Best Practices article.

You can find the configuration window under Fabric > Access Policies > Switch Policies > Policies > Virtual Port Channel default.

  1. Name the vPC peer-grouping name. I choose something simple, like “Leaf201_202”. This tells me which two Fabric nodes are vPC peers.
  2. Provide the vPC peer ID (logical peer ID). For this setting, I use the first node ID number for the ID (i.e., 201, assuming the peer group is Leaf201_202).
Fabric > Access Policies > Switch Policies > Policies > Virtual Port Channel default

 

As you can see below, the vPC switch peer group name that we entered is shown below (Leaf201_202) as well as the Logical Pair ID that we entered (201). The Virtual IP is an auto-generated IP address from the system TEP pool, and represents the virtual shared (Anycast) TEP of the vPC switch pair, Leaf201_202 (i.e., packets destined to vPC-connected endpoints off of Leaf201_202 will use this Anycast VTEP to send the packets)

Fabric > Access Policies > Switch Policies > Policies > Virtual Port Channel default

vPC Policy Design Options

The section below will give a few visual examples of how to define vPC configuration Policy in ACI. For all examples, we will be modifying configurations under Fabric > Access Policies.

Option 1 – VPC with SAME Leaf interfaces across two leafs with Combined Profiles

In the example below, we have defined the following:

So what does this do? On ports Eth1/1 on both switches Leaf201 and Leaf202, we will configure those ports to be apart of a vPC. This vPC interface will have access to Vlans 1201-1299. Depending on the Interface Policy Group, we could enable LACP Active and other interface specific policy configurations.

When would I use this configuration approach?

vPC with Same Interfaces across Two Leafs (Combined Switch/Interface Profiles)

 

Option 2 – VPC with SAME Leaf interfaces across two leafs with Individual Profiles

In the example below, we have defined the following:

So what does this do? On ports Eth1/1 on both switches Leaf201 and Leaf202, we will configure those ports to be apart of a vPC. This vPC interface will have access to Vlans 1201-1299. Depending on the Interface Policy Group, we could enable LACP Active and other interface specific policy configurations.

When would I use this configuration approach? 

Option 3 – VPC with DIFFERENT Leaf interfaces across two leafs with Individual Profiles

In the example below, we have defined the following:

So what does this do? On ports Eth1/1 on Leaf201 and Eth 1/2 on Leaf202, we will configure those ports to be apart of a vPC. This vPC interface will have access to Vlans 1201-1299. Depending on the Interface Policy Group, we could enable LACP Active and other interface specific policy configurations.

When would I use this configuration approach? 

vPC with Different Interfaces across Two Leafs (Individual Switch/Interface Profiles)

 

 

 

Exit mobile version