display ip extcommunity-filter

Function

The display ip extcommunity-filter command displays the configured extended community filter.

Format

display ip extcommunity-filter [ basic-extcomm-filter-num | advanced-extcomm-filter-num | extcomm-filter-name ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

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 extended community filter.
  • Check whether an extended community filter is successfully deleted after running the undo ip excommunity-filter command.

Precautions

The display ip extcommunity-filter command:
  • 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.

Example

# 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
Table 1 Description of the display ip extcommunity-filter command output

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)

Related Topics
ip extcommunity-filter

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.