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 that matches one item matches the AS path 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 list is configured.