display ip community-filter [ basic-comm-filter-num | adv-comm-filter-num | comm-filter-name ]
| Parameter | Description | Value |
|---|---|---|
| basic-comm-filter-num | Specifies the basic community filter number. | It is an integer ranging from 1 to 99. |
| adv-comm-filter-num | Specifies the advanced community filter number. | It is an integer ranging from 100 to 199. |
| comm-filter-name | Specifies the name of the community filter. | The name is a string of 1 to 51 characters. The string cannot be all numbers. |
Usage Scenario
The community attribute is a BGP-specific attribute. A community filter is used to filter BGP routes.
Precautions
Displays the configuration information about a specified community filter, if the number or name of the community filter is specified.
Displays the configuration information about all community filters, if neither the number nor name of the community filter is specified.
Does not display any information, if the community filter does not exist in the system or the community filter that is queried does not exist.
# Display all community filters.
<sysname> display ip community-filter
Community filter Number 10
permit no-export
Community filter Number 110
deny 110:110
Named Community basic filter: aa (ListID = 200)
permit 1 internet
Named Community advanced filter: bb (ListID = 700)
permit ^20
Item |
Description |
|---|---|
Community filter Number |
Indicates the community filter number. |
permit |
Indicates that the matching mode is permit. |
deny |
Indicates that the matching mode is deny. |
Named Community basic filter |
Indicates the name of the basic community attribute. |
Named Community advanced filter |
Indicates the name of the advanced community attribute. |