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

Configuration Guide - IP Unicast Routing

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.
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

Context

When creating a static route, you can specify both the outbound interface and next hop. Alternatively, you can specify only the outbound interface or next hop based on the outbound interface type.
  • Specify the outbound interface for a P2P interface.

  • Specify the next hop for a non broadcast multiple access (NBMA) interface.

  • Specify the next hop for a broadcast interface (for example, an Ethernet interface).

If you specify the same preference for static routes to the same destination, load balancing among these routes is implemented. If you specify different preferences for static routes, route backup among the routes is implemented.

If the destination IP address and mask are set to all 0s, an IPv4 static default route is configured. By default, no IPv4 static default route is configured.

Procedure

  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 | vpn-instance vpn-instance-name nexthop-address } [ recursive-lookup host-route [ arp-vlink-only ] ] [ preference preference | tag tag ] * [ bfd enable | track { bfd-session cfg-name | nqa admin-name test-name } | inherit-cost | permanent ] [ arp-detect interface-type interface-number ] [ inter-protocol-ecmp ] [ description text ]

      An IPv4 static route is configured on the public network.

    • Run ip route-static ip-address { mask | mask-length } interface-type interface-number [ nexthop-address ] [ preference preference | tag tag ] * [ bfd enable | track { bfd-session cfg-name | nqa admin-name test-name } | permanent ] [ arp-detect interface-type interface-number ] [ inter-protocol-ecmp ] [ description text ]

      An IPv4 static route is configured on the public network.

    • Run ip route-static ip-address { mask | mask-length } vpn-instance vpn-instance-name [ preference preference | tag tag ] * [ arp-detect interface-type interface-number ] [ 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 } interface-type interface-number [ nexthop-address ] [ preference preference | tag tag ] * [ bfd enable | track { bfd-session cfg-name | nqa admin-name test-name } | permanent ] [ arp-detect interface-type interface-number ] [ inter-protocol-ecmp ] [ description text ]

      An IPv4 static route is configured in a VPN instance.

    • Run ip route-static vpn-instance vpn-source-name destination-address { mask | mask-length } { vpn-instance vpn-destination-name nexthop-address | nexthop-address [ public ] } [ recursive-lookup host-route [ arp-vlink-only ] ] [ preference preference | tag tag ] * [ bfd enable | track { bfd-session cfg-name | nqa admin-name test-name } | inherit-cost | permanent ] [ arp-detect interface-type interface-number ] [ inter-protocol-ecmp ] [ description text ]

      An IPv4 static route is configured in a VPN instance.

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

      An IPv4 static route is configured in a VPN instance.

  3. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074760

Views: 57913

Downloads: 63

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