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

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 an IP Prefix List

Configuring an IP Prefix List

Context

Configuring an IP prefix list controls the advertising and receiving of routes based on the destination address.

If an IP prefix list is not used together with the if-match clauses in a routing policy, you must set at least one node to the permit mode in the IP prefix list. If no node is set to the permit mode, all routes are filtered out.

Procedure

  1. Configure an IPv4 prefix list.
    1. Run system-view

      The system view is displayed.

    2. Run ip ip-prefix ip-prefix-name [ index index-number ] { permit | deny } ipv4-address mask-length [ match-network ] [ greater-equal greater-equal-value ] [ less-equal less-equal-value ]

      An IPv4 prefix list is configured.

  2. Configure an IPv6 prefix list.
    1. Run system-view

      The system view is displayed.

    2. Run ip ipv6-prefix ipv6-prefix-name [ index index-number ] { permit | deny } ipv6-address prefix-length [ match-network ] [ greater-equal greater-equal-value ] [ less-equal less-equal-value ]

      An IPv6 prefix list is configured.

Verifying the Configuration

  • Run the display ip ip-prefix [ ip-prefix-name ] command to check information about the IPv4 prefix list.

  • Run the display ip ipv6-prefix [ ipv6-prefix-name ] command to check information about the IPv6 prefix list.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 129265

Downloads: 274

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