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 a Device to Advertise BGP Supernet Unicast Routes to BGP Peers

Configuring a Device to Advertise BGP Supernet Unicast Routes to BGP Peers

This section describes how to configure a Border Gateway Protocol (BGP) device to advertise BGP supernet unicast routes to BGP peers.

Applicable Environment

A BGP supernet route has the same destination address and next hop address or has a more detailed destination address than the next hop address. Any route that meets one of the following conditions is a BGP supernet route.
  • If you perform bitwise AND operations on the destination address mask with the destination address and next hop address, respectively, the calculated network addresses are the same, and the destination address mask is greater than or equal to the next hop address mask.
  • If you perform bitwise AND operations on the destination address mask with the destination address and next hop address, respectively, the calculated network addresses are different. However, if you perform bitwise AND operations on the next hop address mask with the destination address and next hop address, respectively, the calculated network addresses are the same.

By default, when a BGP device receives a BGP supernet unicast route, the BGP device sets the route invalid and does not advertise it to other BGP peers. If a Huawei device is connected to a non-Huawei device and you want the Huawei device to advertise BGP supernet unicast routes that it receives from the non-Huawei device to other BGP peers, configure the Huawei device to advertise BGP supernet unicast routes to BGP peers.

Pre-configuration Tasks

Before you configure a BGP device to send BGP supernet unicast routes to BGP peers, configure basic BGP functions.

Procedure

  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 ipv4-family unicast

    The BGP-IPv4 unicast address family view is displayed.

  4. Run supernet unicast advertise enable

    The BGP device is enabled to advertise BGP supernet unicast routes to BGP peers.

  5. Run commit

    The configuration is committed.

Checking the Configuration

After you configure a BGP device to advertise BGP supernet unicast routes, check whether the configuration takes effect.
  • Run the display bgp routing-table command to check BGP supernet unicast routes.

  • Run the display bgp routing-table network command to check information about a specified BGP supernet unicast route advertised to BGP peers.

# Run the display bgp routing-table command to view received BGP supernet unicast routes.

<HUAWEI> display bgp routing-table
BGP Local router ID is 1.1.1.2
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete

 Total Number of Routes: 1
        Network            NextHop        MED        LocPrf    PrefVal Path/Ogn
   *>i  1.1.1.1/32        1.1.1.1        0          100       0       ? 

# Run the display bgp routing-table network command to view information about a specified BGP supernet unicast route advertised to BGP peers.

<HUAWEI> display bgp routing-table peer 1.1.1.1

 BGP local router ID : 1.1.1.2
 Local AS number : 100
 Paths:   1 available, 1 best, 1 select
 BGP routing table entry information of 1.1.1.1/32:
 From: 1.1.1.1 (11.1.1.1)
 Route Duration: 00h03m12s
 Relay IP Nexthop: 11.1.1.1
 Relay IP Out-Interface: GigabitEthernet0/1/0
 Original nexthop: 1.1.1.1
 Qos information : 0x0
 AS-path Nil, origin igp, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 20, IGP cost 10
 Advertised to such 1 peers:
    15.1.1.1
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 35237

Downloads: 51

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