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

NE40E V800R010C10SPC500 Configuration Guide - IP Routing 01

This is NE40E 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 IPv6 Floating Static Routes

Configuring IPv6 Floating Static Routes

Configuring 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 IPv6 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 ipv6 route-static dest-ipv6-address prefix-length { interface-type interface-number [ nexthop-ipv6-address ] | vpn-instance vpn-destination-name [ nexthop-ipv6-address ] | nexthop-ipv6-address } [ preference preference | tag tag ]* [ description text ]

      An IPv6 floating static route is configured in public network.

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

      An IPv6 floating static route is configured in VPN network.

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

      An IPv6 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 ipv6 routing-table ipv6-address [ prefix-length ] command to check configurations about the optimal IPv6 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 ipv6 routing-table ipv6-address [ prefix-length ] command to configurations about the optimal IPv6 static route.

<HUAWEI> display ipv6 routing-table 2001::1 128
Routing Table : _public_
Summary Count : 1

Destination  : 2001::1                                 PrefixLength : 128
NextHop      : 2000::2                                 Preference   : 60
Cost         : 0                                       Protocol     : Static
RelayNextHop : ::                                      TunnelID     : 0x0
Interface    : GigabitEthernet1/0/0                    Flags        : D

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

<HUAWEI> display current-configuration | include static
ipv6 route-static 2001::1 128 GigabitEthernet1/0/0 2000::2
ipv6 route-static 2001::1 128 GigabitEthernet1/0/1 2000::3 preference 100
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055018

Views: 47721

Downloads: 201

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