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 Configuration Guide

AR650, AR1600, and AR6100 V300R003

This document describes how to configure and maintain your routers using the web platform.
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 Dynamic Routes

Configuring Dynamic Routes

This section describes how to configure dynamic routes in the web management system.

Configuring OSPF

This section describes how to configure Open Shortest Path First (OSPF) in the web management system.

Context

OSPF is a link-state Interior Gateway Protocol (IGP) developed by the Internet Engineering Task Force (IETF). OSPF describes the network topology through link-state advertisements (LSAs), generates a shortest path tree (SPT) based on the network topology, and calculates shortest paths to all destinations on the network, that is, OSPF routes to all destination network segments are generated.

OSPF is generally used on complex networks, facilitating accurate route selection.

Procedure

  • Creating OSPF
    1. Create an OSPF process.

      1. Choose IP Service > Route > Dynamic Route Configuration > OSPF.

        Figure 13-14  OSPF List
      2. In the OSPF List area, click Create. The Create OSPF dialog box is displayed.

      3. Set parameters and click OK.

        Table 13-13  Parameters for creating an OSPF process

        Parameter

        Description

        Process ID

        ID of an OSPF process.

        Router ID

        ID of a router running OSPF.

        NOTE:

        The Router ID in each OSPF process must be unique on the OSPF network. Otherwise, the OSPF neighbor relationship cannot be established and the routing information is incorrect.

        VPN instance

        VPN instance of the OSPF process. If no VPN instance is specified, the OSPF process belongs to the public VPN instance.

        SPF calculation interval(s)

        Interval of shortest path first (SPF) calculation.

        Internal priority

        Priority of OSPF routes except the AS-External routes. A smaller value indicates a higher priority.

        ASE priority

        Priority of OSPF AS-External routes. A smaller value indicates a higher priority.

        Advertise default route

        Default route advertised by a router. If you set this parameter to Enable, the router generates and advertises a default route regardless of whether an activated non-OSPF default route exists.

    2. Set basic parameters of an OSPF process.

      1. In the OSPF List area, select the new OSPF process and click Advanced. The Basic tab page is displayed.

        Figure 13-15  Basic tab page
        NOTE:

        When the OSPF List contains many OSPF processes, enter a value in the Process ID and click Search. Only OSPF processes related to the entered value are displayed. For example, if you enter 1 in the Process ID, only OSPF processes with IDs containing 1 (such as processes with IDs 1, 10, or 11) are displayed.

      2. In the Area Configuration List area, click Create. The Create Area dialog box is displayed.

      3. Set parameters and click OK.

        Table 13-14  Parameters for creating an area

        Parameter

        Description

        Area ID

        ID of an OSPF area.

        Authentication mode

        Authentication mode used in the OSPF area.

        • If you set this parameter to Simple, set a password for simple authentication and confirm it.
        • If you set this parameter to MD5, set an MD5 key value and a password, and confirm the password.
        • If you set this parameter to HMAC-MD5, set an HMAC-MD5 key value and a password, and confirm the password.
        NOTE:

        Simple, MD5 and HMAC-MD5 authentication has potential risks.

        Area type

        Type of the OSPF area, stub or Not-So-Stubby Area (NSSA).

        • If you set the area type to Stub, set the default cost and determine whether the stub area is a complete stub area.
        • If you set the area type to NSSA, set the default cost and determine whether to advertise the default route to the NSSA, whether to import external routes, and whether the NSSA is a complete NSSA.
        NOTE:

        The backbone area with the ID of 0.0.0.0 cannot be set to a stub area or NSSA.

        The default cost applies only to area border routers (ABRs) of the stub area or NSSA, which indicates the cost of the Type 3 default route to the stub area or NSSA.

      4. In the Subnet Configuration List area, click Create. The Create Subnet dialog box is displayed.

      5. Set parameters and click OK.

        Table 13-15  Parameters for creating a subnet

        Parameter

        Description

        Area ID

        ID of the area to which the interface running OSPF belongs.

        Subnet IP

        Network segment of the interface.

        Wildcard mask

        Wildcard mask of the IP address. A wildcard mask is a reverse of an IP address mask. That is, 0 in the mask becomes 1, and 1 in the mask becomes 0. In a wildcard mask, 1 indicates that the corresponding bit in the IP address is ignored, and 0 indicates that the bit must be reserved.

      6. In the Interface Configuration List area, select the interface running OSPF and click . The Interface Configuration dialog box is displayed.

      7. Set parameters and click OK.

        Table 13-16  Parameters for configuring an interface

        Parameter

        Description

        Interface name

        Name of the interface running OSPF.

        Network Type

        Network types of the interface. By default, the network type of an interface depends on the type of the physical interface. The network type of the Ethernet interface is Broadcast, the network type of the serial interface encapsulating Point-to-Point Protocol (PPP) is P2P, and the network type of the ATM and frame relay interfaces is NBMA.

        Cost

        Cost of the interface running OSPF. By default, OSPF automatically calculates the cost of the interface according to the interface bandwidth.

        MTU check

        Maximum transmission unit (MTU) that the interface fills in a data description (DD) packet to be enabled.

        NOTICE:

        After MTU check is enabled, the router automatically restarts the OSPF process. Exercise caution when enabling MTU check.

        Authentication mode

        Authentication mode on the interface.

        • If you set this parameter to Simple, set a password for simple authentication and confirm it.
        • If you set this parameter to MD5, set an MD5 key value and a password, and confirm the password.
        • If you set this parameter to HMAC-MD5, set an HMAC-MD5 key value and a password, and confirm the password.
        NOTE:

        The parameter Authentication-Null indicates an authentication mode, which does not indicate that no authentication is configured.

        DR priority

        Priority of the interface that participates in the DR election. This parameter is valid only when the network type is Broadcast or NBMA.

        Transmission delay(s)

        Delay of transmitting LSAs on the interface.

        Neighbor timeout interval(s)

        OSPF neighbor timeout period.

        NOTE:

        Setting the neighbor timeout period to a value greater than 20s is recommended. If the neighbor timeout period is smaller than 20s, sessions between OSPF neighbors may be closed.

        The neighbor timeout period of the interface running OSPF must be longer than the interval for sending Hello packets, and the values Neighbor timeout interval(s) on the routers in the same network segment must be the same. By default, the neighbor timeout period is four times the interval for sending Hello packets.

        Interval of Hello packets(s)

        Interval for sending Hello packets on the interface.

        Polling interval(s)

        Interval for sending poll Hello packets on the interface.

        NOTE:

        This parameter is valid only when the network type of the interface is NBMA.

        Retransmission interval(s)

        Interval for retransmitting LSAs on the interface.

        Silent interface

        Whether to forbid the interface from receiving and sending OSPF packets.

        NOTE:

        To set parameters such as DR priority, Transmission delay(s), Neighbor timeout interval(s), Interval of Hello packets(s), Polling interval(s), Retransmission interval(s), and Silent interface, click Advanced in the Interface Configuration dialog box.

    3. Set advanced parameters of an OSPF process.

      1. In the OSPF List area, select the new OSPF process and click Advanced. The Basic tab page is displayed.

      2. Click the Advanced tab. The Advanced tab page is displayed.

        Figure 13-16  Advanced tab page
      3. In the Route Import area, click Create. The Create Route Import dialog box is displayed.

      4. Set parameters and click OK.

        Table 13-17  Parameters for importing routes

        Parameter

        Description

        Route type

        Routing protocol of an imported external route. When this parameter is set to OSPF, RIP, or ISIS, you need to configure a corresponding process ID.

        Cost

        Cost of an imported external route.

        Tag

        Tag value of an imported external route.

        Type

        Type of an imported external route, which includes:
        • Type1 external routes have high reliability. The OSPF protocol considers that the cost of a Type1 external route equals the cost of an AS internal route. Cost of a Type1 external route = Cost of the route from the router to the corresponding ASBR + Cost of the route from the ASBR to the destination
        • Type 2 external routes have low reliability. The OSPF protocol considers that the cost of the route from the ASBR to the destination outside an AS is much greater than the cost of any internal route to an ASBR. Cost of a Type2 external route = Cost of the route from an ASBR to the destination outside an AS

  • Modifying OSPF

    • Modify OSPF parameters.

      1. In the OSPF List area, select an OSPF process and click . The Modify OSPF dialog box is displayed.

      2. Modify the parameters and click OK.

    • Modify basic parameters of an OSPF process.

      1. In the OSPF List area, select an OSPF process and click Advanced. The Basic tab page is displayed.

      2. In the Area Configuration List area, select an area and click . The Modify Area dialog box is displayed.

      3. Modify the parameters and click OK.

      4. In the Interface Configuration List area, select an area and click . The Interface Configuration dialog box is displayed.

      5. Modify the parameters and click OK.

    • Modify advanced parameters of an OSPF process.

      1. In the OSPF List area, select an OSPF process and click Advanced. The Basic tab page is displayed.

      2. Click the Advanced tab. The Advanced tab page is displayed.

      3. Select an imported external route and click . The Modify Route Import dialog box is displayed.

      4. Modify the parameters and click OK.

  • Deleting OSPF

    • Delete an OSPF process.

      1. In the OSPF List area, select an OSPF process and click Delete.

      2. In the Information dialog box that is displayed, click OK.

    • Delete basic parameter settings of an OSPF process.

      1. In the OSPF List area, select an OSPF process and click Advanced. The Basic tab page is displayed.

      2. In the Subnet Configuration List area, select a network segment and click Delete.

      3. In the Information dialog box that is displayed, click OK.

      4. In the Area Configuration List area, select an area and click Delete.

      5. In the Information dialog box that is displayed, click OK.

    • Delete advanced parameter settings of an OSPF process.

      1. In the OSPF List area, select an OSPF process and click Advanced. The Basic tab page is displayed.

      2. Click the Advanced tab. The Advanced tab page is displayed.

      3. In the Route Import area, select an imported external route and click Delete.

      4. In the Information dialog box that is displayed, click OK.

Configuring BGP

This section describes how to configure Border Gateway Protocol (BGP) in the web management system.

Context

BGP is a dynamic routing protocol that allows for reachable routes between autonomous systems (ASs) and selects the optimal routes. BGP is usually used on large and complex networks.

Procedure

  • Enabling BGP
    1. Choose IP Service > Route > Dynamic Route Configuration > BGP.

      Figure 13-17  BGP configuration

    2. In the BGP Setting area, set parameters and click Apply.

      Table 13-18  Parameters for configuring BGP

      Parameter

      Description

      Enable BGP

      Whether BGP is enabled. The value can be Yes or No.

      AS number

      Number of the local AS.

      Router ID

      ID of a router running BGP.

      NOTE:

      The Router ID of each router must be unique in the AS. Otherwise, the BGP peer relationship cannot be established and the routing information is incorrect.

    3. Create a BGP peer.

      1. In the Peer Configuration List area, click Create. The Create Neighbor dialog box is displayed.

      2. Set parameters and click OK.

        Table 13-19  Parameters for creating a BGP peer

        Parameter

        Description

        Peer IP

        IP address of the BGP peer.

        Peer AS number

        AS number of the BGP peer.

        Description

        Description of the BGP peer.

        Source Interface

        Source interface sending BGP packets.

        Maximum EBGP connection hop count

        Maximum number of hops for External Border Gateway Protocol (EBGP) peer neighbors.

        NOTE:

        When AS numbers on the local device and its peer are different, they set up an EBGP peer relationship.

        If the maximum number of hops is 1, a device cannot establish an EBGP connection with a peer on an indirectly-connected network.

        Authentication

        Whether to authenticate BGP peers. When you set this parameter to Yes, set a password and confirm it.

    4. Configure BGP to import external routes.

      1. In the Route Import Configuration List area, click Create. The Create Route Import dialog box is displayed.

      2. Set parameters and click OK.

        Table 13-20  Parameters for importing routes

        Parameter

        Description

        Protocol type

        Routing protocol of an imported external route. When this parameter is set to OSPF, RIP, or ISIS, you need to configure a corresponding process ID.

        MED value

        Multi-Exit Discrimination (MED) value of an imported external route.

  • Modifying BGP

    • Modify BGP parameters.

      Changing the Router ID will result in service interruption and renegotiation. Exercise caution when changing the router ID.

      In the BGP Setting area, set a new router ID and click Apply.

    • Modify BGP peer parameters.

      1. In the Peer Configuration List area, select a BGP peer and click . The Modify Neighbor dialog box is displayed.

      2. Modify the parameters and click OK.

    • Modify BGP parameters for importing external routes.

      1. In the Route Import Configuration List area, select an imported external route and click . The Modify Route Import dialog box is displayed.

      2. Modify the parameters and click OK.

  • Deleting BGP

    • Disable BGP.

      Disabling BGP will delete all BGP configurations. Exercise caution when disabling BGP.

      In the BGP Setting area, set Enable BGP to No and click Apply.

    • Delete a BGP peer.

      1. In the Peer Configuration List area, select a BGP peer and click Delete.

      2. In the Information dialog box that is displayed, click OK.

    • Delete external routes imported by BGP.

      1. In the Route Import Configuration List area, select an imported external route and click Delete.

      2. In the Information dialog box that is displayed, click OK.

Download
Updated: 2019-04-12

Document ID: EDOC1100041803

Views: 31199

Downloads: 71

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