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.


CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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 On-demand Route Advertisement

Configuring On-demand Route Advertisement

If a BGP device only wants to received required routes but its peer cannot maintain different export policies for connected devices, you can configure prefix-based BGP outbound route filtering (ORF) to meet this requirement.

Pre-configuration Tasks

Before configuring prefix-based BGP ORF, complete the following tasks:


  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run ipv4-family unicast

    The IPv4 unicast address family view is displayed.

  4. Run peer { group-name | ipv4-address } ip-prefix ip-prefix-name import

    A prefix-based import policy is configured for a peer or peer group.

  5. Run peer { group-name | ipv4-address } capability-advertise orf [ non-standard-compatible ] ip-prefix { both | receive | send }

    Prefix-based ORF is enabled for a peer or peer group.

    By default, prefix-based ORF is disabled for a peer or peer group.

Verifying the Configuration

  • Run the display bgp peer [ ipv4-address ] verbose command to check detailed information about BGP peers.

  • Run the display bgp peer ipv4-address orf ip-prefix command to check prefix-based BGP ORF information received from a specified peer.

Updated: 2019-12-27

Document ID: EDOC1000174069

Views: 196727

Downloads: 324

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next