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

Web-based Typical Configuration Examples

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600

This document provides examples for configuring AR router features in typical usage scenarios.
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).
Example for Configuring BGP

Example for Configuring BGP

Applicability

This example applies to all AR models of V200R005C00 and later versions.

Networking Requirements

Multiple ASs exist in a region. To access each other, these ASs must exchange their local routes. As multiple routers exist in the ASs, a large number of routes change frequently. How to efficiently transmit these routes between ASs without consuming lots of bandwidth resources has become a problem. BGP can solve this problem.

Figure 6-20 shows the IP addresses and masks of hosts and routers' interfaces. Router_1 and Router_2 belong to AS 100, and Router_3 belongs to AS 200. After BGP is enabled on the routers, the routers can exchange routing information. When routes of one router change, the router will send update messages carrying only changed routing information to its peers without having to send its entire routing table. This implementation greatly reduces bandwidth consumption.

Figure 6-20  Networking diagram of configuring basic BGP functions

Procedure

  1. Configure IP addresses for interfaces on the routers.

    The following example describes how to configure an IP address for GE0/0/1 on Router_1. The configurations of other interfaces are similar to that of GE0/0/1 and are not mentioned here.

    1. As shown in Figure 6-21, choose WAN Access > Ethernet Interface to open the Ethernet Interface page.

      Figure 6-21  Ethernet Interface

    2. In the Ethernet Interface List area, click on the same line as GigabitEthernet0/0/1 to configure an IP address for GE0/0/1, as shown in Figure 6-22.

      Figure 6-22  Configuring an IP address for GE0/0/1

    3. Click OK to complete the IP address configuration of GE0/0/1 on Router_1.

      Similarly, configure IP addresses for GE0/0/2 on Router_1 and interfaces on Router_2 and Router_3.

      Configure an IP address for GE0/0/2 on Router_1: Set Interface name to GigabitEthernet0/0/2, Connection mode to Static, IP address to 10.1.2.1, and Subnet mask to 255.255.255.0.

      Configure IP addresses for interfaces on Router_2.
      • Set Interface name to GigabitEthernet0/0/1, Connection mode to Static, IP address to 10.1.2.2, and Subnet mask to 255.255.255.0.
      • Set Interface name to GigabitEthernet0/0/2, Connection mode to Static, IP address to 10.1.3.1, and Subnet mask to 255.255.255.0.
      Configure IP addresses for interfaces on Router_3.
      • Set Interface name to GigabitEthernet0/0/1, Connection mode to Static, IP address to 10.1.4.1, and Subnet mask to 255.255.255.0.
      • Set Interface name to GigabitEthernet0/0/2, Connection mode to Static, IP address to 10.1.3.2, and Subnet mask to 255.255.255.0.

  2. Set a local AS number, router ID, peer IP address, and peer AS number.
    1. As shown in Figure 6-23, choose IP Service > Route > Dynamic Route Configuration > BGP.

      Figure 6-23  Dynamic Route Configuration

    2. Configure BGP in BGP Setting, as shown in Figure 6-24.

      Figure 6-24  BGP Setting

    3. Click Apply. The system displays Operation succeeded.
    4. Click OK to complete the BGP configuration on Router_1, as shown in Figure 6-25.

      Figure 6-25  Dynamic Route Configuration-BGP

      Similarly, configure BGP on Router_2 and Router_3.
      • On Router_2, set AS Number to 100 and Router ID to 2.2.2.2.
      • On Router_3, set AS Number to 200 and Router ID to 3.3.3.3.

    5. Click Create in the Peer Configuration List area to specify the peer IP address and peer AS number, as shown in Figure 6-26.

      Figure 6-26  Configuring peer information

      NOTE:

      During the establishment of a neighbor relationship, if the current device has the same AS number as its neighbor, the Maximum EBGP connection hop count must be set to null. Otherwise, the neighbor relationship cannot be established.

    6. Click OK to complete the peer configuration on Router_1, as shown in Figure 6-27.

      Figure 6-27  Configuring a peer on Router_1

      Similarly, configure peers on Router_2 and Router_3.
      • On Router_2: Set Peer IP to 10.1.2.1 and Peer AS Number to 100, and set Peer IP to 10.1.3.2 and Peer AS Number to 200.
      • On Router_3: Set Peer IP to 10.1.3.1 and Peer AS Number to 100.

    7. Click Create in the Route Import Configuration List area to configure route import, as shown in Figure 6-28.

      Figure 6-28  Create Route Import

    8. Click OK to complete the route import configuration on Router_1.

      Similarly, configure route import on Router_2 and Router_3 and set Protocol type to Direct.

  3. Verify the configuration.

    # After the preceding configurations are complete, choose IP Service > Route > Routing Table to check information about the IP routing table. The following example is the IP routing table of Router_1, as shown in Figure 6-29.
    Figure 6-29  Configuration result

    # PC_1 can ping PC_2 successfully.

Configuration Notes

  • Configure IP addresses on the same network segment for interfaces that connect two routers together.
  • Configure IPv4 default gateways for hosts.
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1000079722

Views: 51361

Downloads: 7479

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