cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2154
Views
5
Helpful
2
Replies

Multiple EPG to AEP via CLI

Ruzjio
Level 1
Level 1

Hello,

 

i need to add several hundred EPG to AEP.

 

With single physical Domain associated to AEP it was straight forward. Locate profile of port attached to the AEP and then add the vlans via "switchport trunk allowerd vlan...." which automatically populated AEP with desired EPG.

 

Problem starts when the AEP have two physical domain attached.

CLI command throws error "Too many vlan-domain associated to template for encap XXX"

Adding via GUI the same EPG does not raise any errors and the epg show in CLI too.

Below output from CLI:

ACI.png

 

Anyone knows how to add many EPG's to AEP that have more than one Physical Domain added?

1 Accepted Solution

Accepted Solutions

RedNectar
VIP Alumni
VIP Alumni

Hi @Ruzjio ,

Firstly, let me say loud an clear, the Cisco ACI CLI is useful for viewing and troubleshooting, BUT

NEVER USE THE ACI CLI TO CONFIGURE ANYTHING

Technically, it supposedly "works" - but it also leaves remnants of "extra" configuration lying around - you can see them (in the object browser) as objects that begin with the characters __ui (See this post and this post and many more)

To do this kind of thing, spend a couple of hours learning about using variables with Postman, and put all you VLAN, Application Profile, EPG etc information into a csv file created in Excel, then use Postman to apply it. See this post for details.

 


Secondly, I know you can have multiple Physical Domains associated with an AAEP, but I'm not sure if there is a limit, but for fun, I just added 29 Physical Domains to an AAEP (using the GUI) and did not get an error. I even made sure that two of these domains had overlapping VLAN pools.

image.png 

I hope this helps.


Don't forget to mark answers as correct if it solves your problem. This helps others find the correct answer if they search for the same problem.


RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

View solution in original post

2 Replies 2

RedNectar
VIP Alumni
VIP Alumni

Hi @Ruzjio ,

Firstly, let me say loud an clear, the Cisco ACI CLI is useful for viewing and troubleshooting, BUT

NEVER USE THE ACI CLI TO CONFIGURE ANYTHING

Technically, it supposedly "works" - but it also leaves remnants of "extra" configuration lying around - you can see them (in the object browser) as objects that begin with the characters __ui (See this post and this post and many more)

To do this kind of thing, spend a couple of hours learning about using variables with Postman, and put all you VLAN, Application Profile, EPG etc information into a csv file created in Excel, then use Postman to apply it. See this post for details.

 


Secondly, I know you can have multiple Physical Domains associated with an AAEP, but I'm not sure if there is a limit, but for fun, I just added 29 Physical Domains to an AAEP (using the GUI) and did not get an error. I even made sure that two of these domains had overlapping VLAN pools.

image.png 

I hope this helps.


Don't forget to mark answers as correct if it solves your problem. This helps others find the correct answer if they search for the same problem.


RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

Ruzjio
Level 1
Level 1

Thanks for the comprehensive answer RedNectar.

 

That's what i was afraid of. We pay lots of $ for Application Centric Infrastructure which is unable to deliver basic functionality and you are forced to use third party software to do that and learn programming in addition. 

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License