Route Control Profile Policies
The ACI fabric also supports the route-map set clauses for the routes that are advertised into and out of the fabric. The route-map set rules are configured with the Route Control Profile policies and the Action Rule Profiles.
ACI supports the following set options:
Property |
OSPF |
EIGRP |
BGP |
Comments |
---|---|---|---|---|
Set Community |
Yes |
Supports regular and extended communities. |
||
Set Additional Community |
Yes |
Supports regular and extended communities. |
||
Route Tag |
Yes |
Yes |
Supported only for BD subnets. Transit prefixes are always assigned the tag 4294967295. |
|
Preference |
Yes |
Sets BGP local preference. |
||
Metric |
Yes |
Yes |
Sets MED for BGP. Will change the metric for EIGRP but you cannot specify the EIGRP composite metric. |
|
Metric Type |
Yes |
OSPF Type-1 and OSPF Type-2. |
The Route Profile Polices are created under the Layer 3 Outside connection. A Route Control Policy can be referenced by the following objects:
-
Tenant BD Subnet
-
Tenant BD
-
External EPG
-
External EPG import/export subnet
Here is an example of using Import Route Control for BGP and setting the local preference for an external route learned from two different Layer 3 Outsides. The Layer 3 Outside connection for the external connection to AS300 is configured with the Import Route Control enforcement. An action rule profile is configured to set the local preference to 200 in the Action Rule Profile for Local Preference window.
The Layer 3 Outside connection External EPG is configured with a 0.0.0.0/0 import aggregate policy to allow all the routes. This is necessary because the import route control is enforced but any prefixes should not be blocked. The import route control is enforced to allow setting the local preference. Another import subnet 151.0.1.0/24 is added with a Route Profile that references the Action Rule Profile in the External EPG settings for Route Control Profile window.
Use the show ip bgp vrf overlay-1 command to display the MP-BGP table. The MP-BGP table on the spine displays the prefix 151.0.1.0/24 with local preference 200 and a next hop of the border leaf for the BGP 300 Layer 3 Outside connection.
There are two special route control profiles—default-import and default-export. If the user configures using the names default-import and default-export, then the route control profile is automatically applied at the Layer3 outside level for both import and export. The default-import and default-export route control profiles cannot be configured using the 0.0.0.0/0 aggregate.
A route control profile is applied in the following sequential order for fabric routes:
-
Tenant BD subnet
-
Tenant BD
-
Layer3 outside
The route control profile is applied in the following sequential order for transit routes:
-
External EPG prefix
-
External EPG
-
Layer3 outside