You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/concepts-nexus-route-policies-overview.md
+36-1Lines changed: 36 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,4 +70,39 @@ The `action` property of a route policy statement defines the action to be taken
70
70
71
71
The `ipCommunityProperties` property specifies how the policy affects the community values and extended community values of the route.
72
72
73
-
It has a `set` property and a `delete` property. The `set` property specifies the IP community and IP extended community resources to add or overwrite to the routes. The `delete` property specifies the IP community and IP extended community resources to remove from the routes.
73
+
It has a `set` property and a `delete` property. The `set` property specifies the IP community and IP extended community resources to add or overwrite to the routes. The `delete` property specifies the IP community and IP extended community resources to remove from the routes.
74
+
75
+
### BGP Regex Support in Route Policies
76
+
77
+
BGP communities are configured using the `IPCommunity` and `IPExtendedCommunity` BGP configuration properties. Currently, these take a list of exact match values. For example, the bold string `1234:2345` in the ARM JSON snippet below matches an IP extended community.
78
+
79
+
```json
80
+
{
81
+
"ipExtendedCommunityRules": [
82
+
{
83
+
"action": "Permit",
84
+
"sequenceNumber": 4155123341,
85
+
"routeTargets": [
86
+
"1234:2345"
87
+
]
88
+
}
89
+
]
90
+
}
91
+
```
92
+
93
+
This feature adds regex matching of BGP communities, allowing more concise and flexible route policies.
94
+
95
+
The following table shows examples of the community member property under IPCommunityRules and route targets under IPExtendedCommunityRules, which can be specified in the formats below.
96
+
97
+
|**Type**|**Formats**|**Exact Match Examples**|**Regex Examples**|
> - IPCommunity or IPExtendedCommunity supports multiple strings for RT values of each sequence number. However, to support regular expressions, only one regular expression under each sequence number of IPCommunity and IPExtendedCommunity can be provided. In the case of multiple regular expressions under each IPCommunity, they can be added with more sequence numbers with the respective regular expressions.
108
+
> - Well-known communities are not supported for IPCommunity with regular expressions.
0 commit comments