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

S7700 and S9700 V200R010C00

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides configuration examples.

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).
(Optional) Configuring a Cost for the Default Route Sent to a Stub Area

(Optional) Configuring a Cost for the Default Route Sent to a Stub Area


  1. Run:


    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 [ no-summary | default-route-advertise backbone-peer-ignore ] *

    The area is configured as a stub area.

    The parameter no-summary prevents an ABR from sending Type 3 LSAs to the stub area.

    The parameter default-route-advertise enables an ABR to generate default Type 3 LSAs and advertise them to the stub area.

    The parameter backbone-peer-ignore prevents an ABR from checking the neighbor status when the ABR generates default Type 3 LSAs and advertises them to the stub area. Specifically, the ABR generates default Type 3 LSAs and advertises them to the stub area if an Up interface exists in the backbone area.

    • Stub attributes must be configured on all switches in a stub area using the stub command.
    • Configuring or deleting stub attributes will update routing information in the area. Stub attributes can be deleted or reconfigured only after the routing update is complete.

  5. Run:

    default-cost cost

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

    The default value is 1.

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

Updated: 2019-12-27

Document ID: EDOC1000141900

Views: 209292

Downloads: 200

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next