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

PDF

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

Create AEP, domains, and vlans to deploy an EPG on a specific port using the NX-OS style CLI

Want to summarize with AI?

Log in

Configure AEP, domains, and VLANs to enable EPG deployment on specific ports using NX-OS style CLI commands.


Before you begin

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

  • An EPG is statically deployed on a specific port.

Follow these steps to create AEP, domains, and VLANs to deploy an EPG on a specific port using the NX-OS style CLI:

Procedure

  1. Create a VLAN domain and assign VLAN ranges:

    Example:

    
    apic1(config)# vlan-domain domP
    apic1(config-vlan)# vlan 10
    apic1(config-vlan)# vlan 25
    apic1(config-vlan)# vlan 50-60
    apic1(config-vlan)# exit
  2. Create an interface policy group and assign a VLAN domain to the policy group:

    Example:

    
    apic1(config)# template policy-group PortGroup
    apic1(config-pol-grp-if)# vlan-domain member domP
  3. Create a leaf interface profile, assign an interface policy group to the profile, and assign the interface IDs on which the profile will be applied:

    Example:

    
    apic1(config)# leaf-interface-profile InterfaceProfile1
    apic1(config-leaf-if-profile)# leaf-interface-group range
    apic1(config-leaf-if-group)# policy-group PortGroup    
    apic1(config-leaf-if-group)# interface ethernet 1/11-13
    apic1(config-leaf-if-profile)# exit
  4. Create a leaf profile, assign the leaf interface profile to the leaf profile, and assign the leaf IDs on which the profile will be applied:

    Example:

    
    apic1(config)# leaf-profile SwitchProfile-1019          
    apic1(config-leaf-profile)# leaf-interface-profile InterfaceProfile1 
    apic1(config-leaf-profile)# leaf-group range                         
    apic1(config-leaf-group)# leaf 1019                                
    apic1(config-leaf-group)#