Deploying an EPG on a Specific Port with the Cisco APIC

This example deploys an EPG on a specific port with the Cisco APIC.

Before you begin

  • The tenant where you will deploy the EPG is already created.

Procedure

To deploy the EPG, send a POST with XML similar to the following example:

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

<fvTenant name="tenant_name" dn="uni/tn-test1" >
    <fvCtx name="network_name" pcEnfPref="enforced" knwMcastAct="permit"/>
    <fvBD name="bridge_domain_name" unkMcastAct="flood">
        <fvRsCtx tnFvCtxName="network_name"/>
    </fvBD>
    <fvAp name="application_profile">
        <fvAEPg name="epg_name">
            <fvRsPathAtt tDn="topology/pod-1/paths-1017/pathep-[eth1/13]" mode="regular" instrImedcy="immediate" encap="vlan-20"/>
        </fvAEPg>
    </fvAp>
</fvTenant>