Standard Community List
A community list is used to create groups of communities to use in a match clause of a route map. A community list can be used to control which routes are accepted, preferred, distributed, or advertised.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policy_objects (sdwan)
Section titled “policy_objects (sdwan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| standard_community_lists | List | [standard_community_lists] | No |
standard_community_lists (sdwan.policy_objects)
Section titled “standard_community_lists (sdwan.policy_objects)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[A-Za-z0-9-_]{1,128}$ | Yes | |
| standard_communities | List | Choice[internet, local-AS, no-advertise, no-export] | Yes |
Examples
Section titled “Examples”Example-1: This example shows configuration of a Standard community list including a single community.
sdwan: policy_objects: standard_community_lists: - name: COMMUNITY_LIST_REGION_1 standard_communities: - 100:100Example-2: This example shows configuration of a Standard community list including two different communities.
sdwan: policy_objects: standard_community_lists: - name: COMMUNITY_LIST_REGION_1_2 standard_communities: - 100:100 - 200:200Example-3: This example shows configuration of a Standard community list including a well-known community.
sdwan: policy_objects: standard_community_lists: - name: COMMUNITY_LIST_NO_ADVERTISE standard_communities: - no-advertiseExample-4: This example shows configuration of a Standard community list including a well-known community.
sdwan: policy_objects: standard_community_lists: - name: COMMUNITY_LIST_REGIO_1_NO_EXPORT standard_communities: - 100:200 - no-export