< Home

display ip extcommunity-filter

Function

display ip extcommunity-filter command displays the configuration of the extended community 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.

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 Displays the configuration of an extended community filter with a specified 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 information about the extended community filter.

<HUAWEI> 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

Indicates the number of an extended community filter.

Extended Community filter basic filter

Basic extended community filter name.

Extended Community filter advanced filter

Advanced extended community filter name.

permit

Indicates that the matching mode is permit.

deny

Indicates that the matching mode is deny.

rt

Indicates the extended community attribute of the specified RT.

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