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

PDF

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

Configure intra-EPG isolation for vmware VDS or microsoft Hyper-V virtual switch using the NX-OS style CLI

Want to summarize with AI?

Log in

Configure intra-EPG isolation for VMware VDS or Microsoft Hyper-V virtual switches using the NX-OS style CLI to prevent communication between endpoints within the same EPG.


Procedure

  1. In the CLI, create an intra-EPG isolation EPG:

    Example:

    The following example is for VMware VDS:
    apic1(config)# tenant Test_Isolation  
    apic1(config-tenant)# application PVLAN 
    apic1(config-tenant-app)# epg EPG1 
    apic1(config-tenant-app-epg)# show running-config  
    # Command: show running-config tenant Tenant_VMM application Web epg intraEPGDeny
      tenant Tenant_VMM
        application Web
          epg intraEPGDeny
            bridge-domain member VMM_BD
            vmware-domain member PVLAN encap vlan-2001 primary-encap vlan-2002 push on-demand
            vmware-domain member mininet
              exit
            isolation enforce
            exit
          exit
        exit
    apic1(config-tenant-app-epg)#
    

    Example:

    The following example is for Microsoft Hyper-V Virtual Switch:
    apic1(config)# tenant Test_Isolation  
    apic1(config-tenant)# application PVLAN 
    apic1(config-tenant-app)# epg EPG1 
    apic1(config-tenant-app-epg)# show running-config 
    # Command: show running-config tenant Tenant_VMM application Web epg intraEPGDeny
      tenant Tenant_VMM
        application Web
          epg intraEPGDeny
            bridge-domain member VMM_BD
            microsoft-domain member domain1 encap vlan-2003 primary-encap vlan-2004
            microsoft-domain member domain2 
              exit
            isolation enforce
            exit
          exit
        exit
    apic1(config-tenant-app-epg)#
     
  2. Verify the configuration:

    Example:

     show epg StaticEPG detail
    Application EPg Data: 
    Tenant              : Test_Isolation 
    Application         : PVLAN 
    AEPg                : StaticEPG 
    BD                  : VMM_BD 
    uSeg EPG            : no 
    Intra EPG Isolation : enforced 
    Vlan Domains        : VMM 
    Consumed Contracts  : VMware_vDS-Ext 
    Provided Contracts  : default,Isolate_EPG 
    Denied Contracts    :  
    Qos Class           : unspecified 
    Tag List            :   
    VMM Domains: 
    Domain                Type       Deployment Immediacy  Resolution Immediacy  State           Encap       Primary 
    Encap  
     --------------------  ---------  --------------------  --------------------  --------------  ----------  ----------     
     DVS1                  VMware     On Demand             immediate             formed          auto        auto           
     
    Static Leaves: 
     Node        Encap             Deployment Immediacy  Mode                Modification Time                
    ----------  ----------------  --------------------  ------------------  ------------------------------  
     
    Static Paths: 
     Node        Interface                       Encap             Modification Time               
     ----------  ------------------------------  ----------------  ------------------------------  
     1018        eth101/1/1                      vlan-100          2016-02-11T18:39:02.337-08:00    
     1019        eth1/16                         vlan-101          2016-02-11T18:39:02.337-08:00   
     
    Static Endpoints: 
     Node        Interface          Encap             End Point MAC      End Point IP Address          Modification Time               
     ----------  ------------------------------  ----------------  -----------------  ------------------------------  ------------------------------  
     
    Dynamic Endpoints: 
    Encap: (P):Primary VLAN, (S):Secondary VLAN 
     Node        Interface            Encap             End Point MAC      End Point IP Address         Modification Time               
     ----------  ------------------------------  ----------------  -----------------  ------------------------------  ------------------------------   
    1017        eth1/3              vlan-943(P)       00:50:56:B3:64:C4  ---                        2016-02-17T18:35:32.224-08:00                    
                                    vlan-944(S)