Method used to configure a static route on the AR router

12

The procedure for configuring static route on the AR router is as follows:
- Use command lines.
[RouterA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
//Configure a default route that is often used at the egress of a small-sized company. The address 1.1.4.2 is the gateway address of the carrier. When the specific route cannot be matched, data flows are forwarded to 1.1.4.2. If the device has only one default route, all the data packets are forwarded to 1.1.4.2 by default.
[RouterB] ip route-static 1.1.3.0 255.255.255.0 1.1.4.6
//Configure the route to network segment 1.1.3.0/24. The next hop of the route is 1.1.4.6, which is the specific route but not the default route.

Use the web platform.
For details, see Example for Configuring IPv4 Static Routes .

Other related questions:
Method used to configure association between the static route and NQA on the AR router
The procedure for configuring association between the static route and NQA on the AR router is as follows: Networking example: RouterA (10.1.1.1)-----(10.1.1.2) RouterB (10.2.2.0/24)---- Requirements: Association between the static route and NQA needs to be configured from RouterA to the network segment of 10.2.2.0/24. 1. Enable the NQA function on RouterA. The NQA test instance of ICMP type is used as an example: [RouterA] nqa test-instance admin icmp //Create an NQA test instance, with the administrator name admin and test instance name icmp. [RouterA-nqa-admin-icmp] test-type icmp //Specify the test instance type as ICMP. [RouterA-nqa-admin-icmp] destination-address ipv4 10.1.1.2 //Specify the IP address of the remote end. [RouterA-nqa-admin-icmp] start now //Start the NQA test instance. 2. Configure a static route and associate it with the NQA test instance. [RouterA]ip route-static 10.2.2.0 24 10.1.1.2 track nqa admin icmp Note: 1. Before configuring association between the IPv4 static route and NQA test instance, configure link layer protocol parameters of the interface so that the link protocol status is Up. 2. When NQA is associated with the static route, only the ICMP test instance can be used to check whether a route from the source to the destination is reachable. 3. When the static route is associated with NQA, the destination address of the NQA test instance must be different from that of the static route. 4. If the static route that has been associated with one NQA test instance is associated with another NQA test instance, the static route is disassociated from the original NQA test instance.

How to configure a route through the web NMS on an AR router
To configure a static route, do as follows: 1. Choose IP Service > Route > Static Route Configuration. . 2. Click Create in the IPv4 Static Route Configuration Table or IPv6 Static Route Configuration Table according to requirements to enter the parameter configuration page. 3. Configure parameters one by one, and click OK to complete the configuration. To configure a dynamic route, do as follows: - Configure the OSPF function. 1. Choose IP Service > Route > Dynamic Route Configuration > OSPF to enter the OSPF List page. 2. Click Create, enter parameters, and click ok to create an OSPF process. 3. On the OSPF List page, select the new OSPF process, click Advanced at the right side, click the Basic or Advanced tab page, and modify the OSPF process parameters according to requirements. - Configure the BGP function. 1. Choose IP Service > Route > Dynamic Route Configuration > BGP, configure parameters, and click Apply. 2. On the Peer Configuration List page, click Create, enter parameters, and click ok to create a BGP neighbor.

How can I configure valid static routes
Only when the outbound interface is in Up state, you can run the display ip routing-table command to query routing information in dynamic and static routing entries. If the outbound interface is not in Up state, the route is deactivated. You can run the display ip routing-table protocol command to check whether a route is activated.

Method used to configure the static route on USG firewalls
The method used to configure the static route on USG firewalls is as follows: For example: ip route-static 1.1.1.0 255.255.255.0 1.1.5.1 //ip rout-static indicates the static route, 1.1.1.0 indicates the destination address, 255.255.255.0 indicates the mask, and 1.1.5.1 indicates the next-hop address.

Method used to configure static NAT on the AR
Huawei AR routers support static NAT. Use either of the following methods to configure static NAT: Method 1: Configure static mapping in the interface view. Translate the combination of the public IP address 202.10.10.1 and port 200 in TCP packets to the combination of the private IP address 10.10.10.1 and port 300. [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] nat static protocol tcp global 202.10.10.1 200 inside 10.10.10.1 300 Method 2: Configure static mapping in the system view. Translate the combination of Loopback 4 interface address and port 43 in TCP packets to private address 192.168.2.55. [Huawei] nat static protocol tcp global interface loopback 4 43 inside 192.168.2.55 netmask 255.255.255.255 For details on the static NAT configuration, see "NAT Configuration->Configuring NAT->Configuring Static NAT" in Configuration Guide - IP Service.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top