cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
5226
Views
0
Helpful
4
Replies

Find static bind for all EPG

Daniele Padoin
Level 1
Level 1

Hi, I'm using ACI in networkmode. So I'm using a physical vPC for many EPGs as static bind with right encaps of a vlan tag.

For example:

VLAN10-BD

vPC1 (eth1/1-2) (node101/102) -> EPG-VLAN10 -> with encaps vlan-10

VLAN11-BD

vPC1 (eth1/1-2) (node101/102) -> EPG-VLAN11 -> with encaps vlan-11

so on for other 50 Vlans (BD/EPGs)

So now, how can I find in which EPG is the staticbind done to the vPC1? I know, clicking into every EPG, but I'm looking for an overview and I didn't find anything.

thx for your help

Daniele

1 Accepted Solution

Accepted Solutions

dpita
Cisco Employee
Cisco Employee

Hello

Thank you for using SupportForums

There are a few ways to do this. I can recommend two off the top of my head. 

From the APIC, you can use moquery to find the objects for the static path

Also from the APIC GUI you can go to the dropdown at the top right and click on "Object Store Browser"

From either one of those you can issue a query for objects, in this specific case you will want to use:

fvRsPathAtt

fvStPathAtt

RsPathAtt has a bit mor information such as the VLAN. Both will have the Tenant>AP>EPG in the DN. 

Here is some information on moquery and the objects:

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/cli/b_APIC_CLI_User_Guide/b_APIC_CLI_User_Guide_chapter_011.html#reference_E1C4EF57684F4736AEE735FEC3B35CD3

Let me know how it goes!

View solution in original post

4 Replies 4

dpita
Cisco Employee
Cisco Employee

Hello

Thank you for using SupportForums

There are a few ways to do this. I can recommend two off the top of my head. 

From the APIC, you can use moquery to find the objects for the static path

Also from the APIC GUI you can go to the dropdown at the top right and click on "Object Store Browser"

From either one of those you can issue a query for objects, in this specific case you will want to use:

fvRsPathAtt

fvStPathAtt

RsPathAtt has a bit mor information such as the VLAN. Both will have the Tenant>AP>EPG in the DN. 

Here is some information on moquery and the objects:

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/cli/b_APIC_CLI_User_Guide/b_APIC_CLI_User_Guide_chapter_011.html#reference_E1C4EF57684F4736AEE735FEC3B35CD3

Let me know how it goes!

very nice thanks

to find all the static path to a VPC :

property contains "name of the vpc"

to find all the path for a vlan :

encap contains 'vlan id"

now to convert this in python ;-)

Hello 

I am trying to find a way to a get a list of all the static bindings in all the epgs in all the tenants. any pointers on how to do that ...

thanks

Daniele Padoin
Level 1
Level 1

Thx a lot

It was that was I was looking for. 

cheers

Review Cisco Networking for a $25 gift card

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