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

NE40E V800R010C10SPC500 Configuration Guide - IP Routing 01

This is NE40E V800R010C10SPC500 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 an OSPF Stub Area

Configuring an OSPF Stub Area

Configuring a non-backbone area as a stub area can reduce routing entries in the area in an AS does not transmit routes learned from other areas in the AS or AS external routes. This reduces bandwidth and storage resource consumption.

Applicable Environment

The number of LSAs can be reduced by partitioning an AS into different areas. To reduce the number of entries in the routing table and the number of LSAs to be transmitted in a non-backbone area, configure the non-backbone area on the border of the AS as a stub area.

Configuring a stub area is optional. A stub area generally resides on the border of an AS. For example, a non-backbone area with only one ABR can be configured as a stub area. In a stub area, the number of entries in the routing table and the amount of routing information to be transmitted greatly decrease.

Note the following points when configuring a stub area:

  • The backbone area (Area 0) cannot be configured as a stub area.
  • If an area needs to be configured as a stub area, all the routers in this area must be configured with stub attributes using the stub command.
  • An ASBR cannot exist in a stub area. External routes are not transmitted in the stub area.
  • Virtual links cannot exist in the stub area.

Pre-configuration Tasks

Before configuring a stub area, complete the following tasks:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospf [ process-id ]

    The OSPF process view is displayed.

  3. Run area area-id

    The OSPF area view is displayed.

  4. Run stub

    The specified area is configured as a stub area.

    NOTE:
    • All routers in a stub area must be configured with stub attributes using the stub command.
    • Configuring or deleting stub attributes will update routing information in the area. Stub attributes can be deleted or configured again only after the routing update is complete.

  5. (Optional) Run stub no-summary

    The ABR is prevented from sending Type 3 LSAs to the stub area.

  6. (Optional) Run stub default-route-advertise backbone-peer-ignore

    The ABR is prevented from checking the neighbor status when it generates a default Type 3 LSA and advertises it to the stub area.

  7. (Optional) Run default-cost cost

    The cost of the default route to the stub area is set.

    To ensure the reachability of AS external routes, the ABR in the stub area generates a default route and advertises the route to the non-ABR routers in the stub area.

  8. Run commit

    The configuration is committed.

Checking the Configurations

Run the display ospf lsdb command, and you can view the OSPF LSDB, including the types of LSA and link state IDs. For example:

<HUAWEI> display ospf lsdb
          OSPF Process 1 with Router ID 10.1.1.1
                  Link State Database

                          Area: 0.0.0.1
 Type      LinkState ID    AdvRouter        Age  Len   Sequence       Metric
 Router    10.1.1.1        10.1.1.1          26  48    80000005            1
 Router    100.1.1.2       100.1.1.2         28  48    80000004            1

Run the display ospf peer command, and you can view the router IDs, addresses, and status of OSPF neighbors.

<HUAWEI> display ospf peer
          OSPF Process 1 with Router ID 1.1.1.1
                Neighbors

 Area 0.0.0.0 interface 192.168.1.1 ( GE3/0/0 )'s neighbors
 Router ID: 2.2.2.2         Address: 192.168.1.2
   State: Full       Mode:Nbr is  Slave   Priority: 1
   DR: 192.168.1.4   BDR: 192.168.1.3     MTU: 0
   Dead timer due in  32  sec
   Retrans timer interval: 5
   Neighbor is up for 00:00:05
   Authentication Sequence: [ 0 ]

Run the display ospf routing command, and you can view the table of OSPF routes. For example:

<HUAWEI> display ospf routing
          OSPF Process 1 with Router ID 1.1.1.1
                   Routing Tables

 Routing for Network
 Destination        Cost       Type       NextHop         AdvRouter       Area

 172.16.1.0/24      2          Transit    192.168.1.2     3.3.3.3         0.0.0.1
 172.17.1.0/24      3          Inter-area 192.168.0.2     2.2.2.2         0.0.0.0
 192.168.1.0/24     1          Stub       192.168.1.2     3.3.3.3         0.0.0.1
 192.168.2.0/24     2          Inter-area 192.168.0.2     2.2.2.2         0.0.0.0


 Total Nets: 4
 Intra Area: 2  Inter Area: 2  ASE: 0  NSSA: 0 

When Router is in a common area, there are AS external routes in the routing table. After the area where Router resides is configured as a stub area, AS external routes are invisible, ASE is 0.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055018

Views: 49841

Downloads: 201

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