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


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


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 BGP4+ Confederation

Configuring a BGP4+ Confederation

On a large BGP4+ network, configuring a BGP4+ confederation reduces the number of IBGP connections and simplifies routing policy management, which increases the route advertisement efficiency.

Usage Scenario

A confederation is a solution to the increasing number of IBGP connections in an AS. The confederation divides an AS into multiple sub-ASs. In each sub-AS, IBGP peer relationships are set up or an RR is configured on one of the IBGP peers. EBGP connections are set up between sub-ASs.

Pre-configuration Tasks

Before configuring a BGP4+ confederation, complete the following tasks:

  • Configure link layer protocol parameters and assigning IP addresses to the interfaces to ensure that the status of the link layer protocol of the interface is Up.

  • Configure basic BGP4+ functions.


  • Configure a BGP4+ confederation.

    Perform the following steps on the BGP4+ router:

    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run confederation id as-number

      The confederation ID is set.

    4. Run confederation peer-as as-number &<1-32>

      The number of the sub-AS of other EBGP peers is set.

      The parameter as-number used is valid only in the confederation.

      The confederation id and confederation peer-as commands must be run for all the EBGP peers in a confederation, and the EBGP peers must have the same confederation ID.


      The old speaker supporting 2-byte AS numbers and the new speaker supporting 4-byte AS numbers cannot exist in the same confederation. Otherwise, routing loops may occur because AS4_Path does not support confederations.

    5. Run commit

      The configuration is committed.

  • Configure the compatibility of the confederation.

    If some NEs in a confederation do not comply with the standard protocols, you can perform the following steps so that the local device is compatible with them:

    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run confederation nonstandard

      The compatibility of the confederation is configured.

      By default, the NE is not compatible with the devices that do not support standard AS confederation.

    4. Run commit

      The configuration is committed.

Checking the Configuration

Run the following command to check the previous configuration.

  • Run the display bgp ipv6 peer [ ipv6-address ] verbose command to check detailed information about the peer.
  • Run the display bgp ipv6 routing-table [ ipv6-address prefix-length ] command to check information about the BGP routing table.

# Run the display bgp ipv6 routing-table [ ipv6-address prefix-length ] command to view the confederation information contained in a BGP route. For example:

<HUAWEI> display bgp ipv6 routing-table 111::111 128
 BGP local router ID :
 Local AS number : 100
 Paths:   2 available, 1 best, 1 select 
 BGP routing table entry information of 111::111/128:
 From: 2001:db8:30::2 (
 Route Duration: 00h25m46s
 Relay IP Nexthop: 2001:db8:30::2
 Relay IP Out-Interface: GigabitEthernet0/1/1
 Original nexthop: 2001:db8:50::2
 AS-path 100, origin igp, MED 0, localpref 100, pref-val 0, valid, internal-confed, best, select, active, pre 255
 Not advertised to any peer yet
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 34051

Downloads: 49

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