How To Deploy EPG
How To Deploy EPG
Procedure
2
d) In the Statically Link with Leaves/Paths field, check the checkbox for Statically Link with Leaves/Paths. (this is
selected to specify on which port the EPG is required to be deployed). Click Next.
e) In the Leaves/Paths area, expand Paths.
In this example we are deploying the EPG on the port of a node. Alternatively, you could choose to deploy the EPG
on a node.
f) From the Path drop-down list, choose the appropriate node and port.
g) In the Deployment Immediacy field drop-down list, choose the preferred deployment time.
h) In the Mode field, choose the appropriate mode.
i) In the Port Encap field, enter the secondary VLAN to be deployed.
j) In the Primary Encap field, enter the primary VLAN to be deployed.
k) Click Update, and click Finish.
Step 5 In the Navigation pane, expand Application Profiles to view the new application profile.
Step 6 Expand Application EPGs, to view the new EPG.
Step 7 Expand the EPG and click Static Bindings (Paths), and in the Properties pane, view the details of the static binding paths
that are established.
Deploying an EPG on a Specific Port with APIC Using the NX-OS Style CLI
Procedure
Example:
apic1(config)# vlan-domain dom1
apic1(config-vlan)# vlan 10-100
Example:
apic1# configure
apic1(config)# tenant t1
Example:
apic1(config-tenant)# vrf context ctx1
apic1(config-tenant-vrf)# exit
Example:
apic1(config-tenant)# bridge-domain bd1
apic1(config-tenant-bd)# vrf member ctx1
apic1(config-tenant-bd)# exit
3
Step 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
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 mentioned in the above example are a pre-requisite for
deploying an EPG on a port.
Deploying an EPG on a Specific Port with APIC Using the REST API
Before You Begin
The tenant where you deploy the EPG is created.
Procedure
Example:
<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>
4
© 2016 Cisco Systems, Inc. All rights reserved.
Americas Headquarters Asia Pacific Headquarters Europe Headquarters
Cisco Systems, Inc. Cisco Systems (USA) Pte. Ltd. Cisco Systems International BV
San Jose, CA 95134-1706 Singapore Amsterdam, The Netherlands
USA
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the
Cisco Website at www.cisco.com/go/offices.