No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Routing 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - IP Routing
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring BGP4+ XPL

Configuring BGP4+ XPL

BGP4+ extended routing-policy language (XPL) route-filters can be used to flexibly control BGP4+ acceptance and advertisement.

Usage Scenario

Route-filters can set and re-set BGP4+ route attributes through the predefined conditions to control BGP4+ route acceptance and advertisement.

A route-filter can use its condition clause to filter routes and set or modify route attributes of the routes that match the condition clause.

Pre-configuration Tasks

Before configuring BGP4+ BGP4+ XPL, complete the following tasks:

Configuration Procedure

Perform one or more of the following configurations as required:

Using XPL to Filter the BGP4+ Routes to Be Advertised

This section describes how to use XPL to filter the BGP4+ routes to be advertised to BGP4+ peers.

Context

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

Procedure

  • Configure a BGP4+ device to filter the routes to be advertised to all 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 export [ direct | isis process-id | ospfv3 process-id | ripng process-id | static | unr ]

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

    5. Run commit

      The configuration is committed.

  • Configure a BGP4+ device to filter the routes to be advertised to 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 export

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

    5. Run commit

      The configuration is committed.

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.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 34268

Downloads: 51

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next