display ip extcommunity-filter (All views)

Function

The display ip extcommunity-filter command displays detailed configurations of the VPN-Target extended community filter.

Format

display ip extcommunity-filter extcomm-filter-name

Parameters

Parameter Description Value
extcomm-filter-name

Specifies the VPN-Target extended community filter name.

The name is a string of 1 to 51 case-sensitive characters, spaces not supported. The character string can contain spaces if it is enclosed with double quotation marks (").

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

The extended community attribute is a BGP-specific attribute. An extended community filter is used to filter VPN routes.

You can run the display ip extcommunity-filter command to:

  • View detailed information about a configured VPN-Target extended community filter.
  • Check whether an VPN-Target extended community filter has been deleted after running the undo ip excommunity-filter command.

Precautions

The display ip extcommunity-filter command:

  • Displays the configuration information about a specified VPN-Target extended community filter if the number or name of the VPN-Target extended community filter is specified.
  • Displays the configuration information about all VPN-Target extended community filters if neither the number nor name of the VPN-Target extended community filter is specified.
  • Does not display any information if the VPN-Target extended community filter does not exist in the system or the VPN-Target extended community filter that is queried does not exist.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display all VPN-Target extended community filters.
<HUAWEI> display ip extcommunity-filter
Extended Community filter Number: 10
  index: 10     permit rt 100:10
Extended Community filter Number: 200
  index: 10     permit 650
Extended Community filter basic filter: bas-abc
  index: 10     permit rt 200:10
Extended Community filter advanced filter: adv-abc
  index: 10     deny 1.1.1.1
Table 1 Description of the display ip extcommunity-filter (All views) command output
Item Description
Extended Community filter Number

Number of VPN-Target extended community filter.

Extended Community filter basic filter

Name of basic VPN-Target extended community filter.

Extended Community filter advanced filter

Name of advanced VPN-Target extended community filter name.

permit

Matching mode (permit).

rt

Extended community attribute of the route target (RT).

deny

Matching mode (deny).

index

Sequence number of VPN-Target extended community filter.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >