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.


Configuration Guide - IP Unicast Routing

S7700 and S9700 V200R011C10

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides 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).
Creating IPv4 Static Routes

Creating IPv4 Static Routes


When creating static routes, you can specify both the outbound interface and next hop. Alternatively, you can specify only the outbound interface or next hop, depending on the interface type:
  • For point-to-point (P2P) interfaces, specify the outbound interface.

  • For non-broadcast multiple access (NBMA) interfaces, specify the next hop.

  • For broadcast interfaces (for example, Ethernet interfaces), specify the next hop.

Specifying the same preference value for static routes to the same destination implements load balancing among these routes. Conversely, specifying different preference values for static routes to the same destination implements route backup among the routes.

Setting the destination IP address and mask to all 0s configures the default IPv4 static route. By default, no default IPv4 static route is configured.


  1. Run system-view

    The system view is displayed.

  2. Configure IPv4 static routes.
    • 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 static route is configured on the public network.

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

      An IPv4 static route is configured on a VPN instance.

Updated: 2019-10-18

Document ID: EDOC1000178324

Views: 276653

Downloads: 223

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next