Skip to main content

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

Classes

policy_objects (sdwan)

NameTypeConstraintMandatoryDefault Value
standard_community_listsList[standard_community_lists]No

standard_community_lists (sdwan.policy_objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[A-Za-z0-9-_]{1,128}$Yes
standard_communitiesListChoice[internet, local-AS, no-advertise, no-export]Yes

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:100

Example-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:200

Example-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-advertise

Example-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