Using XPL to Filter the BGP4+ Routes to Be Received

A BGP4+ device can use a route-filter to filter the routes to be received and modify route attributes to control network traffic forwarding paths.

Context

A BGP4+ device can use a route-filter to filter the routes to be received from all its peers or peer groups or only from a specified peer or peer group.

Procedure

  • Configure a BGP4+ device to filter the routes to be received from all its peers or peer groups.

    Perform the following steps on the BGP4+ device:

    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

    3. Run ipv6-family unicast

      The IPv6 unicast address family view is displayed.

    4. Run route-filter route-filter-name import

      The BGP4+ device has been configured to filter the routes to be received from all its peers or peer groups.

    5. Run commit

      The configuration is committed.

  • Configure a BGP4+ device to filter the routes to be received from a specified peer or peer group.

    Perform the following steps on the BGP4+ device:

    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

    3. Run ipv6-family unicast

      The IPv6 unicast address family view is displayed.

    4. Run peer ipv6-address route-filter route-filter-name import

      The BGP4+ device has been configured to filter the routes to be received from the specified peer or peer group.

    5. Run commit

      The configuration is committed.

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