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 OSPF

Example for Configuring OSPF

Applicability

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

NOTE:

On V200R006C10 version, AR120 series does not support OSPF.

Networking Requirements

As shown in Figure 6-7, PC_1 and PC_2 communicate through Router_1 and Router_2 using OSPF.

Figure 6-7  Networking diagram of configuring OSPF

Procedure

  1. Create VLANIF interfaces and allocate IP addresses to the VLANIF interfaces.

    The following example configures a VLANIF interface on Router_1. The VLANIF interface configuration of Router_2 is similar to that of Router_1 and is not mentioned here.

    1. Choose LAN Access > LAN > VLAN Interface to open the VLAN Interface page, as shown in Figure 6-8.

      Figure 6-8  VLAN Interface

    2. Click Create in the VLAN Interface List area to configure VLANIF interface information, as shown in Figure 6-9.

      Figure 6-9  Create VLAN Interface

    3. Click OK to complete the VLANIF 10 configuration on Router_1.

      Similarly, create VLANIF 20 on Router_2.

      • Set VLAN interface to 20.
      • Set Gateway IP address to 192.168.2.1.
      • Set Subnet mask to 255.255.255.0.
      • Set the link type of Ethernet0/0/2 to trunk.

  2. Configure an IP address for GE0/0/3 on Router_1.
    1. As shown in Figure 6-10, choose WAN Access > Ethernet Interface to open the Ethernet Interface page.

      Figure 6-10  Ethernet Interface

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

      Figure 6-11  Configuring an IP address for GE0/0/3

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

      Similarly, configure an IP address for GE0/0/3 on Router_2.

      • Set Interface name to GigabitEthernet0/0/3.
      • Set Connection mode to Static.
      • Set IP address to 192.168.0.2.
      • Set Subnet mask to 255.255.255.0.

  3. Create OSPF process 2 on Router_1, configure IP addresses on 192.168.1.0/24 for interfaces running OSPF, and specify the area to which the interfaces belong as Area 0.
    1. As shown in Figure 6-12, choose IP Service > Route > Dynamic Route Configuration > OSPF.

      Figure 6-12  Dynamic Route Configuration

    2. Click Create in the OSPF List area to configure OSPF information, as shown in Figure 6-13.

      Figure 6-13  Create OSPF

    3. Click OK to complete the OSPF configuration on Router_1, as shown in Figure 6-14.

      Figure 6-14  Configuring OSPF

      Similarly, configure OSPF on Router_2, and set Process ID to 2 and Router ID to 2.2.2.2.

    4. Click Advanced on the same line as the new OSPF instance to open the Basic page, as shown in Figure 6-15.

      Figure 6-15  Basic

    5. Click Create in the Area Configuration List area to configure area information, as shown in Figure 6-16.

      Figure 6-16  Create Area

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

      Figure 6-17  Configuring an area

      Similarly, create an area on Router_2 and set Area ID to 0.0.0.0.

    7. Click Create in the Subnet Configuration List area to configure network segment information, as shown in Figure 6-18.

      Figure 6-18  Create Subnet

    8. Click OK to complete the network segment configuration on Router_1.

      Similarly, configure network segment 192.168.0.0 to belong to Area 0. Figure 6-19 displays the configuration result.

      Figure 6-19  Network configuration

      Similarly, configure two network segments on Router_2.
      • Set Area ID to 0.0.0.0.
      • Set Subnet IP to 192.168.0.0 and 192.168.2.0.
      • Set Wildcard Mask to 0.0.0.255.

  4. Verify the configuration.

    # PC_1 can ping PC_2 successfully.

Configuration Notes

  • Configure the interface that connects Switch_1 to Router_1 as a trunk interface and add it to VLAN 10.
  • Configure the interface that connects Switch_2 to Router_2 as a trunk interface and add it to VLAN 20.
  • Ensure that each router ID in an OSPF process is unique. Otherwise, the OSPF neighbor relationship cannot be established and routing information is incorrect.
  • Ensure that GE0/0/3 on Router_1 and GE0/0/3 on Router_2 belong to the same OSPF area.
  • Configure IPv4 default gateways for hosts.
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1000079722

Views: 51202

Downloads: 7461

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