Got it

customer want to know how to set the route preference

Latest reply: Jan 2, 2019 09:41:40 960 6 7 0 0

【Problem Description】

customer want to know how to set the route preference


Example:


ip route-static 0.0.0.0 0.0.0.0 2.2.2.2 interface g1/0/1


ip route-static 0.0.0.0 0.0.0.0 1.1.1.1 interface g1/0/2


 


I wana to set the route via g1/0/2 as main route, and g1/0/1 asbackup route, that would be active when g1/0/2 down,


【Problem Analysis】

 095727jblo1mzxksutukvo.png

Just configure like this.

095746l8uuuur8ynws6rc1.png【Root Cause】

this is just a configuration query
【Solution Description】


095756oujvenjyumozebjj.png


Just configure like this.

Routing protocols (including static routing) may discover different routes to the same destination, but not all routes are optimal. Only one routing protocol at a time determines the optimal route to a destination. To select the optimal route, each routing protocol (including static routing) is assigned a preference (a smaller value indicates a higher preference). When multiple routing information sources coexist, the route discovered by the routing protocol with the highest preference is selected as the optimal route and added to the local routing table.
View more
  • x
  • convention:

ip route-static 0.0.0.0 0.0.0.0 2.2.2.2 interface g1/0/1
ip route-static 0.0.0.0 0.0.0.0 1.1.1.1 interface g1/0/2

it's good example .
View more
  • x
  • convention:

Even it is a simple case ,

but it is helpful for the ones who started to learn from the beginning of network technical knowledge.
View more
  • x
  • convention:

The Route command can be used to view the routing table if the packet is not delivered effectively; if the traceroute command reveals an abnormal or inefficient transmission path, the Route command can be used to confirm why the path was chosen and to configure a more efficient route.
View more
  • x
  • convention:

I think this request should be very easy, static route configuration is very basic configuration for router, this case should be very useful for new enginner of huawei devices
View more
  • x
  • convention:

ip route-static 0.0.0.0 0.0.0.0 2.2.2.2 interface g1/0/1 preference 70
ip route-static 0.0.0.0 0.0.0.0 1.1.1.1 interface g1/0/2
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.