10-31-2017 02:20 AM - edited 03-01-2019 05:22 AM
Question about ACI contracts.
Situation:
EPG A provicer, EPG B consumer
Contract with subject apply in both directions/reverse filter path enabled
Filter permit any
Question:
Can EPG A (Provider) open a session to EPG B (Consumer)? -> according to my tests it can.
My understandig was that a provider can never open a session to a consumer doesn't matter how the contract/filters look like. Because just the consumer can open a session.
If the filters contains a specific port (TCP/UDP, etc) it works as expected, but if the filter contains permit any also the provider can open sessions to the consumer.
There are a couple of documents around which cover the topic but i couldn't figure out what influence the permit any in combination with the apply both direction / reverse filter path has.
If i check the contracts with the show zoning-rule there are indeed to entries with the according pc-tags and Permit src/dst in both directions also the contract was just deployed in one direction between provider and consumer.
My conlusion. If you deploy a permit any in one direction between a provider and consumer both can communicate fully in both directions if apply in both directions is enabled.
Am i right or am i missing something?
Cheers, Pat
10-31-2017 02:46 AM
10-31-2017 03:17 AM
Hi Rick
Thanks for your reply. I'm aware that a EPG can be both - provider and consumer at the same time.
But the question was: If i have only one contract between EPG A (Provider) and EPG B (Conumser) the Provider can open a session to the consumer because the contract consists of a permit any rule with the settings apply in both directions/ reverse filter path. So i thought only the consumer can fully communicate to the provider. But tests show that the provider can fully communicate and initiate sessions to the consumer, which is usually not the case if you limit the filters to certain ports instead of having a fully permit any.
Regards
10-31-2017 09:52 AM
10-31-2017 02:51 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide