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

PDF

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

Deploy an EPG on a specific port with APIC using the NX-OS style CLI

Want to summarize with AI?

Log in

Configure an EPG deployment on a specific port using Cisco Application Policy Infrastructure Controller (APIC) with the NX-OS-style CLI.


This procedure deploys an EPG on a specific port with Cisco Application Policy Infrastructure Controller (APIC) using the NX-OS-style CLI.

Note

Do not mix using the GUI and the CLI when configuring per-interface on the Cisco APIC. Configurations that you perform in the GUI might only partially work in the NX-OS-style CLI.

Follow these steps to deploy an EPG on a specific port with APIC using the NX-OS style CLI:

Procedure

  1. Configure a VLAN domain:

    Example:

    
    apic1(config)# vlan-domain dom1
    apic1(config-vlan)# vlan 10-100
  2. Create a tenant:

    Example:

    
    apic1# configure
    apic1(config)# tenant t1
  3. Create a private network/VRF instance:

    Example:

    
    apic1(config-tenant)# vrf context ctx1
    apic1(config-tenant-vrf)# exit
  4. Create a bridge domain:

    Example:

    
    apic1(config-tenant)# bridge-domain bd1
    apic1(config-tenant-bd)# vrf member ctx1
    apic1(config-tenant-bd)# exit
  5. Create an application profile and an application EPG:

    Example:

    
    apic1(config-tenant)# application AP1
    apic1(config-tenant-app)# epg EPG1
    apic1(config-tenant-app-epg)# bridge-domain member bd1 
    apic1(config-tenant-app-epg)# exit
    apic1(config-tenant-app)# exit
    apic1(config-tenant)# exit
  6. Associate the EPG with a specific port:

    Example:

    
    apic1(config)# leaf 1017
    apic1(config-leaf)# interface ethernet 1/13
    apic1(config-leaf-if)# vlan-domain member dom1
    apic1(config-leaf-if)# switchport trunk allowed vlan 20 tenant t1 application AP1 epg EPG1
    Note

    The vlan-domain and vlan-domain member commands in the example are a prerequisite for deploying an EPG on a port.