03-19-2024 02:48 PM
With ACI native contract, by default the filter would be applied bi-directionally. For example, if a contract blocks RDP is applied between consumer EPG1 and provider EPG2. ACI fabric would prevent workload in EPG1 to RDP to workload in EPG2. ACI fabric would also prevent workload in EPG2 to RDP to workload in EPG1.
With service graph PBR, i have a contract to redirect RDP traffic to firewall. When i apply the service graph between consumer EPG1 and provider EPG2. RDP traffic from EPG1 to EPG2 is redirected to firewall but RDP traffic from EPG2 to EPG1 is not redirected…The PBR contract does have bidirectional enabled…
Anyway to apply service graph PBR bidirectionally, like how the native contract is applied?
12-04-2024 02:30 AM
Hey @SIMMN
In Cisco ACI, when using service graphs with Policy-Based Redirect (PBR), the behavior can indeed differ from the default bidirectional nature of native contracts. By default, native contracts apply filters in both directions between the consumer and provider Endpoint Groups (EPGs). However, service graphs with PBR may require additional configuration to achieve bidirectional traffic redirection.
To apply a service graph with PBR bidirectionally, you need to ensure that the service graph and the associated contracts are explicitly configured to handle traffic in both directions. Here are the steps to achieve this:
Create Two Separate Contracts:
Apply Service Graph to Both Contracts:
Configure Filters Appropriately:
Verify PBR Configuration:
PS: Kindly note that in the case of PBR using Service Graph if you place a firewall, the default behavior of firewall is to block all the traffic on all the interfaces, therefore you have to explicitly allow the traffic on the required interfaces.
HTH
AshSe
Forum Tips:
1. Paste images inline - don't attach.
2. Always mark helpful and correct answers, it helps others find what they need.
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