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 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the 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 IPv4 Static Route Filtering

(Optional) Configuring IPv4 Static Route Filtering

Background

If you want to advertise configured static routes to a network through routing protocols, but do not want to use the routes for packet forwarding, use static route filtering function to prohibit these routes from being used for packet forwarding.

In Figure 2-6, RouterB connects to RouterA and RouterC. RouterA and RouterB have interface IP addresses with 23-bit masks planned, but RouterC is newly added to the network and does not support the routing table containing 23-bit mask routes. As a result, RouterC cannot receive routes from RouterB, which may lead to service failures. To prevent this situation, configure 24-bit mask routes on RouterB and send these routes to RouterC, while allowing RouterB to use existing 23-bit mask routes for packet forwarding. To achieve this purpose, configure static route filtering function on RouterB to filter 24-bit mask routes. Then RouterB can still send these routes to RouterC but does not use these routes for service packet forwarding.

Figure 2-6 Static route filtering networking

Prerequisites

Before configuring IPv4 static route filtering, complete the following task:

  • Run the acl command to create an advanced ACL.

  • Run the rule command to configure IPv4 static route filtering rules.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run routing-table download filter acl acl-number

    The static route filtering function is configured.

    By default, the static route filtering function is not configured.

  3. Run quit

    Return to the system view.

Follow-up Procedure

Run the ip route-static command to configure static routes to be filtered.

Verifying the Configuration

Run the display current-configuration command to check the static route filtering configuration.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034072

Views: 110939

Downloads: 163

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