Configuring FEX Connectivity to the ACI Leaf Switch Using the Interface Configuration

This example uses the interface configuration (infraPortConfig) to configure connectivity from a FEX to the Cisco ACI leaf switch.

You can use the interface configuration beginning in the 6.0(1) release.

NOTE If you previously configured FEX connectivity to the Cisco ACI leaf switch using node profiles and port profiles, this procedure migrates the configuration to the interface configuration (infraPortConfig) method.

Before you begin

  • The Cisco ACI fabric is installed, the Cisco APICs are online, and the Cisco APIC cluster is formed and healthy.
  • A Cisco APIC fabric administrator account is available that enables creating the necessary fabric infrastructure configurations.
  • The target leaf switch and protocols are configured and available.
  • The FEXes are configured, powered on, and connected to the target leaf switch interfaces.

Procedure

Create a policy that links the FEX to Cisco ACI leaf switches and configures a vPC on the host-facing ports of the FEX.

Example:

POST https://<apic-ip-address>/api/node/mo/uni.xml

<infraInfra dn="uni/infra">

    <infraPortConfig node="101" card="1" port="45" connectedFex="113"/>
    <infraPortConfig node="101" card="1" port="46" connectedFex="113"/>
    <infraPortConfig node="101" card="1" port="47" connectedFex="113"/>
    <infraPortConfig node="101" card="1" port="48" connectedFex="113"/>

    <infraPortConfig node="105" card="1" port="45" connectedFex="116"/>
    <infraPortConfig node="105" card="1" port="46" connectedFex="116"/>
    <infraPortConfig node="105" card="1" port="47" connectedFex="116"/>
    <infraPortConfig node="105" card="1" port="48" connectedFex="116"/>

    <infraPortConfig node="101" card="113" port="1" subPort="1" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="2" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="3" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="4" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="5" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="6" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="7" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="8" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>

    <infraPortConfig node="101" card="113" port="1" subPort="17" assocGrp="uni/infra/funcprof/accbundle-fexPCbundle"/>
    <infraPortConfig node="101" card="113" port="1" subPort="18" assocGrp="uni/infra/funcprof/accbundle-fexPCbundle"/>

    <infraPortConfig node="101" card="113" port="1" subPort="47" assocGrp="uni/infra/funcprof/accportgrp-fexaccport"/>

    <infraPortConfig node="105" card="116" port="1" subPort="1" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="2" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="3" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="4" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="5" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="6" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="7" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="8" assocGrp="uni/infra/funcprof/accbundle-fexvpcbundle"/>

    <infraPortConfig node="105" card="116" port="1" subPort="15" assocGrp="uni/infra/funcprof/accbundle-fexPCbundle"/>
    <infraPortConfig node="105" card="116" port="1" subPort="16" assocGrp="uni/infra/funcprof/accbundle-fexPCbundle"/>

    <infraPortConfig node="105" card="116" port="1" subPort="47" assocGrp="uni/infra/funcprof/accportgrp-fexaccport"/>

    <infraFuncP>
        <infraAccBndlGrp name="fexPCbundle" lagT="link">
            <infraRsLacpPol tnLacpLagPolName='staticLag'/>
            <infraRsHIfPol tnFabricHIfPolName="1GHIfPol"/>
            <infraRsAttEntP tDn="uni/infra/attentp-fexvpcAttEP"/>
        </infraAccBndlGrp>

        <infraAccBndlGrp name="fexvpcbundle" lagT="node">
            <infraRsLacpPol tnLacpLagPolName='staticLag'/>
            <infraRsHIfPol tnFabricHIfPolName="1GHIfPol"/>
            <infraRsAttEntP tDn="uni/infra/attentp-fexvpcAttEP"/>
        </infraAccBndlGrp>
    </infraFuncP>

    <fabricHIfPol name="1GHIfPol" speed="1G"/>
    <infraAttEntityP name="fexvpcAttEP">
        <infraProvAcc name="provfunc"/>
        <infraRsDomP tDn="uni/phys-fexvpcDOM"/>
    </infraAttEntityP>

    <lacpLagPol dn="uni/infra/lacplagp-staticLag" ctrl="susp-individual,graceful-conv" minLinks="2" maxLinks="16">
    </lacpLagPol>

</infraInfra">

When the POST succeeds, the object that you created appears in the response.

If you previously configured FEX connectivity to the Cisco ACI leaf switch using node profiles and port profiles, migrate the configuration to the interface configuration (infraPortConfig) method using the following POST:

Example:

<polUni>
    <infraInfra>
        <infraPortConvertFex node="101" fex="107"/>
    </infraInfra>
</polUni>

When the POST succeeds, FEX 107 connected to node 101 is migrated.