| Parameter | Description | Value |
|---|---|---|
| as-path-filter-number | Specifies the AS_Path filter number. | It is an integer that ranges from 1 to 256. |
| as-path-filter-name | Specifies the AS_Path filter name. | The name is a string of 1 to 51 characters without any space. It is case-sensitive. |
Usage Scenario
The AS_Path attribute is a BGP-specific attribute. An AS_Path filter is used to filter BGP routes.
Precautions
# Display the configured AS_Path filter.
<sysname> display ip as-path-filter
As path filter number: 1
permit 1.1 100,200
As path filter name: abc
deny 2.2 200,400
Item |
Description |
|---|---|
As path filter number |
AS_Path filter number |
As path filter name |
AS_Path filter name |
permit |
Matching mode is permit |
1.1 100,200 |
Content of the regular expression |
deny |
Matching mode is deny |