The display ip extcommunity-filter command displays the configured extended community filter.
display ip extcommunity-filter [ basic-extcomm-filter-num | advanced-extcomm-filter-num | extcomm-filter-name ]
| Parameter | Description | Value |
|---|---|---|
| basic-extcomm-filter-num | Specifies the basic extended community filter number. | It is an integer that ranges from 1 to 199. |
| advanced-extcomm-filter-num | Specifies the advanced extended community filter number. | It is an integer that ranges from 200 to 399. |
| extcomm-filter-name | Specifies the extended community filter name. | The name is a string of 1 to 51 characters without any space. It is case-sensitive. |
Usage Scenario
The extended community attribute is a BGP-specific attribute. An extended community filter is used to filter VPN routes.
Precautions
Displays the configuration information about a specified extended community filter, if the number or name of the extended community filter is specified.
Displays the configuration information about all extended community filters, if neither the number nor name of the extended community filter is specified.
Does not display any information, if the extended community filter does not exist in the system or the extended community filter that is queried does not exist.
# Display all extended community filters.
<sysname> display ip extcommunity-filter
Extended Community filter Number 10
permit rt : 100:10
Extended Community filter Number 280
permit rt 100:65
Extended Community filter basic filter: bas-abc
permit rt : 200:10
Extended Community filter advanced filter: adv-abc
deny 1.1.1.1:10
Item |
Description |
|---|---|
Extended Community filter Number |
Extended community filter number |
Extended Community filter basic filter |
Basic extended community filter name |
Extended Community filter advanced filter |
Advanced extended community filter name |
permit |
Matching mode is permit |
deny |
Matching mode is deny |
rt |
Extended community attribute of the Route Target (RT) |