Creating IPv4 Static Routes

Latest reply: Dec 18, 2018 07:30:47 216 4 7 0

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.

Procedure
1.Run:
system-view
The system view is displayed.
2.Configure IPv4 static routes.
•For public networks, 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.
•For VPN instances, 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-instance-name nexthop-address } [ preference preference | tag tag ] * [ description text ]
An IPv4 static route is configured on a VPN instance.

  • x
  • convention:

yiyi0519
Created Dec 17, 2018 09:11:45 Helpful(0) Helpful(0)

if there have two same static routes, how to choose the path?
  • x
  • convention:

sim_157
Created Dec 18, 2018 03:11:47 Helpful(0) Helpful(0)

where should we use the static routes rather than OSPF or IS-IS ?
  • x
  • convention:

Finn92
Created Dec 18, 2018 07:00:52 Helpful(0) Helpful(0)

what's the priority of the static route ?
  • x
  • convention:

No.9527
Created Dec 18, 2018 07:30:47 Helpful(0) Helpful(0)

IPv4 static routes can be configured for a network with simple structure to achieve connectivity.

The NE40E supports common static routes and those associated with VPN instances. The static routes associated with VPN instances are used to manage VPN routes. For details about VPN instances
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login