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

Configuration Guide - IP Unicast Routing

S1720, S2700, S5700, and S6720 V200R011C10

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).
Configuring OSPFv3 to Import External Routes

Configuring OSPFv3 to Import External Routes

Context

Because OSPFv3 is a link-state routing protocol and cannot filter advertised LSAs directly, it must filter routes when importing them. After filtering, only the routes that pass the filtering criteria are advertised.

Perform the following operations on the switch that runs OSPFv3.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 [ process-id ]

    The OSPFv3 view is displayed.

  3. Run default { cost cost | tag tag | type type }*

    Default parameters are set for imported routes.

  4. Run import-route { bgp [ permit-ibgp ] | unr | direct | ripng help-process-id | static | isis help-process-id | ospfv3 help-process-id } [ { cost cost | inherit-cost } | type type | tag tag | route-policy route-policy-name ]*

    External routes are imported.

    NOTE:

    Importing IBGP routes in an OSPFv3 process may lead to routing loops.

    After the import-route command is executed on an OSPFv3 switch to import external routes, the switch becomes an ASBR.

  5. (Optional) Run default-route-advertise [ always | cost cost | type type | tag tag | route-policy route-policy-name ]*

    Default routes are advertised to the OSPFv3 routing area.

  6. (Optional) Run filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name } export [ protocol [ process-id ] ]

    Imported external routes are filtered.

    To filter a certain type of route, you must specify protocol. Otherwise, OSPFv3 filters all imported routes.

    NOTE:

    The filter-policy command takes effect only for the routes imported by an ASBR using the import-route command. The ASBR filters routes when importing the routes. The routes that are filtered out do not generate LSAs and cannot be advertised by OSPFv3. If the import-route command is not run to import other external routes (including OSPFv3 routes in different processes), the filter-policy command does not take effect.

Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178171

Views: 337379

Downloads: 1157

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