display ip as-path-filter command displays the configuration of the AS_Path filter.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S |
Supported. |
S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI |
Not supported. |
Parameter | Description | Value |
---|---|---|
as-path-filter-number | Displays the configuration of an AS_Path filter with a specified number. | It is an integer that ranges from 1 to 256. |
as-path-filter-name | Displays the configuration of an AS_Path filter with a specified 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.
<HUAWEI> 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. |