< Home

Configuring an Extended Community Filter

Context

You can use an extended community filter when using the route target (RT) attribute to filter routes in a VPN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip extcommunity-filter { basic-extcomm-filter-num | basic basic-extcomm-filter-name } { deny | permit } { rt { as-number:nn | 4as-number:nn | ipv4-address:nn } } &<1-16>

    Or run ip extcommunity-filter { advanced-extcomm-filter-num | advanced advanced-extcomm-filter-name } { deny | permit } regular-expression

    An extended community filter is configured.

Verifying the Configuration

Run the display ip extcommunity-filter [ basic-extcomm-filter-num | advanced-extcomm-filter-num | extcomm-filter-name ] command to check information about a configured extended community filter.

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