Configuring an AS path list

You can configure multiple items for an AS path list that is identified by a number. The relationship between the items is logical OR. A route matches the AS path list if it matches one item in the list.

To configure an AS path list:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure an AS path list.

ip as-path as-path-number { deny | permit } regular-expression

By default, no AS path lists exist.