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

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
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 IPv4 Floating Static Routes

Configuring IPv4 Floating Static Routes

Configuring IPv4 floating static routes helps to implement route backup and improve network reliability.

Usage Scenario

If there is a route to a specific destination, you can configure a static route with a low preference to implement route backup, which improves network reliability. This static route with a lower preference is called a floating static route. It is activated to forward packets only when the optimal route fails. When the optimal route recovers, this static route becomes inactive.

Floating static routes are used as follows:

  • Two static routes with the same destination address but different priorities are configured, and the one with the lower priority functions as a backup.

  • When a route of a dynamic routing protocol to a destination address exists, you can configure a static route to the destination address for data service forwarding temporarily if the dynamic routing protocol restarts.

Pre-configuration Tasks

Before configuring IPv4 floating static routes, configure link layer protocol parameters and IP addresses for interfaces and ensure that the status of the link layer protocol on the interfaces is Up.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run either of the following commands as required:

    • Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-address } [ preference preference | tag tag ]* [ description text ]

      An IPv4 floating static route is configured in public network.

    • Run ip route-static vpn-instance vpn-source-name destination-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-address } [ preference preference | tag tag ] * [ description text ]

      An IPv4 floating static route is configured in VPN network.

    • Run ip route-static topology topology-name ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * [ description text ]

      An IPv4 floating static route is configured in a non-base topology instance.

    The preference parameter specifies a route priority. The greater the value, the lower the priority. Therefore, make sure that the priority value of the floating static route is greater than that of the optimal route.

  3. Run commit

    The configuration is committed.

Checking the Configurations

After the configuration is complete, check the configuration results.

  • Run the display ip routing-table ip-address [ mask | mask-length ] command to check configurations about the optimal IPv4 static route to the specified destination network segment.

  • Run the display current-configuration | include static command to check the configurations about the current static route.

# Run the display ip routing-table ip-address [ mask | mask-length ] command to configurations about the optimal IPv4 static route.

<HUAWEI> display ip routing-table 10.1.5.0 24
Route Flags: R - relay, D - download
to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : _public_
Summary Count : 1

Destination/Mask    Proto  Pre  Cost        Flags NextHop         Interface

    10.1.5.0/24  Static 60   0             RD 10.1.1.2        GigabitEthernet1/0/1

# Run the display current-configuration | include static command to view the configurations about the current static route.

<HUAWEI> display current-configuration | include static
ip route-static 10.1.5.0 255.255.255.0 10.1.1.2
ip route-static 10.1.5.0 255.255.255.0 10.1.2.2 preference 100
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20390

Downloads: 15

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