Static routing
Hello everyone!
Today, I would like to introduce how to configure static routes on Huawei devices.
Objetive
The purpose of this post is to introduce you to static route creation methods.
Static routing
On the Internet, network connection devices such as hubs, bridges, switches and routers, control traffic and ensure the quality of the data transmission. Each of these devices has a function different, but with a common purpose: to form a working network. Below describes the function of a router in a network and the purpose and nature of the routes.
A router selects routes and forwards packets. When receiving a packet, a router selects a suitable path, which may have one or more hops, to send the packet to the next router according to the destination address on the package. The last router is responsible for sending the packet to the destination host.
A route is a path along which packets are sent from the origin to destination. When multiple routes are available to send packets from a router to the destination, the router can select the route ideal in an IP routing table. The optimal route selection depends on the routing protocol preferences and route metrics. When multiple routes have the same routing protocol preference and metric, load balancing can be implemented between these routes to relieve network pressure. When multiple routes have different preferences and routing protocol metrics, the route backup can be implemented between these routes to improve network reliability.
Static routes are easy to configure, have low traffic requirements system and apply to simple, stable and small networks. the downside of static routes is that they require subsequent maintenance, as they do not can automatically adapt to changes in network topology.
To configure a static IP route, perform the following steps.
1) Run system-view
Enter Privileged mode.
2) Run ip route-static ip-address { mask | mask-length } { nexthopaddress | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * [ description text ]
An IPv4 static route will be configured for a public network.
To remove a static IP route, perform the following steps.
3) Run system-view
Enter Privileged mode.
4) Run undo ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * [ description text ]
An IPv4 static route will be removed.
- END -



