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 Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.

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).



To prevent a large number of external routes from consuming the bandwidth and storage resources of routers in an area, OSPF defines stub areas prohibited from importing external routes. However, stub areas cannot meet the requirements of the scenario that requires the import of external routes while preventing resources from being consumed by external resources. OSPF defines the NSSA to meet the requirements.

NSSAs are a new type of OSPF areas.

An NSSA is similar to a stub area in many ways. The difference between an NSSA and a stub area is that an NSSA can import AS external routes and advertise them to the entire OSPF AS, but do not learn external routes received from other areas on the OSPF network.

Figure 5-8 NSSA


All routers in an area must be configured with the same area type. In OSPF, the N-bit, carried in a Hello packet, is used to identify the area type supported by a router. OSPF neighbor relationships cannot be established between routers configured with different area types.

Some manufacturers do not comply with the standard. They set the N-bit in both OSPF Hello and DD packets. To allow Huawei devices to interwork with these manufacturers' devices, set the N-bit in OSPF DD packets on Huawei devices.

Type 7 LSA

  • Type 7 LSAs are a new type of LSAs that can be used only in NSSAs. Type 7 LSAs describe imported external routes.
  • Type 7 LSAs are generated by an ASBR in an NSSA and flooded only in the NSSA where the ASBR resides.
  • When the ABRs in the NSSA receive these Type 7 LSAs, they translate some of the Type 7 LSAs into Type 5 LSAs to advertise AS external routes to other areas on the OSPF network.

Translating Type 7 LSAs Into Type 5 LSAs

To advertise the external routes imported by an NSSA to other areas, Type 7 LSAs need to be translated into Type 5 LSAs.

  • The Propagate bit (P-bit) in a Type 7 LSA indicates that whether the router needs to translate Type 7 LSAs into Type 5 LSAs.
  • By default, the ABR with the largest router ID in an NSSA is selected for translating Type 7 LSAs into Type 5 LSAs.
  • Only the Type 7 LSAs in which the P-bit is set to 1 and the FA is not 0 can be translated into Type 5 LSAs. The FA indicates that the packet to a specific destination address will be forwarded to the address specified by the FA.
  • The P-bit in the Type 7 LSAs generated by ABRs is not set to 1.

Preventing Loops Caused by Default Routes

There may be multiple ABRs in an NSSA. To prevent routing loops, these ABRs do not calculate default routes advertised by each other.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 271349

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next