Skip to content

AS Path List

AS Path list specifies one or more BGP AS paths.

Diagram
NameTypeConstraintMandatoryDefault Value
feature_profilesClassfeature_profilesNo

NameTypeConstraintMandatoryDefault Value
policy_object_profileClasspolicy_object_profileNo

policy_object_profile (sdwan.feature_profiles)

Section titled “policy_object_profile (sdwan.feature_profiles)”
NameTypeConstraintMandatoryDefault Value
as_path_listsListas_path_listsNo

as_path_lists (sdwan.feature_profiles.policy_object_profile)

Section titled “as_path_lists (sdwan.feature_profiles.policy_object_profile)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[^&<>! "]{1,128}$Yes
descriptionStringNo
idIntegermin: 1, max: 500Yes
as_pathsListStringYes

Example-1: The example below demonstrates how to configure an AS Path List with ID 10 that matches AS paths starting with 65100 or 65101 AS numbers.

sdwan:
feature_profiles:
policy_object_profile:
as_path_lists:
- name: aspath_list10
id: 10
as_paths:
- ^65100
- ^65101

The example below demonstrates how to configure the AS Path List with ID 20 that matches AS paths ending with AS number 65999 or having AS number 65000 in AS path.

sdwan:
feature_profiles:
policy_object_profile:
as_path_lists:
- name: aspath_list20
id: 20
as_paths:
- 65999$
- _65000_