News By Tag Industry News News By Location Country(s) Industry News
| How to Configure NQA for Static IPv4 RoutesHow to Configure NQA for Static IPv4 Routes, his example applies to all versions and Huawei wireless routers.
By: Huanetwork This example applies to all versions and Huawei wireless routers (http://www.huanetwork.com/ Networking Requirements NQA for static IPv4 routes can quickly detect network faults and control advertisement of static routes. As shown in Figure 1, RouterA connects to RouterB through GE2/0/0 and connects to RouterC through GE1/0/0. Two links are available from RouterA to RouterD: RouterA--> Procedure 1. Configure RouterA. # sysname RouterA # interface GigabitEthernet1/ ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet2/ ip address 192.168.4.1 255.255.255.0 # interface GigabitEthernet3/ ip address 192.168.6.1 255.255.255.0 # ip route-static 192.168.2.0 255.255.255.0 192.168.1.2 ip route-static 192.168.3.0 255.255.255.0 192.168.4.2 ip route-static 192.168.5.0 255.255.255.0 192.168.1.2 preference 100 //Set the preference of static routes to 100 so that the static routes can be used as backup routes. ip route-static 192.168.5.0 255.255.255.0 GigabitEthernet2/ # nqa test-instance admin icmp //Configure an NQA test instance named admin icmp. test-type icmp //Set the test type to ICMP. destination- frequency 10 //Set the interval between two NQA tests to 10s. probe-count 2 //Set the number of test probes of an NQA test instance to 2. start now //Start the NQA test instance immediately. # 2. Configure RouterB. # sysname RouterB # interface GigabitEthernet1/ ip address 192.168.3.2 255.255.255.0 # interface GigabitEthernet2/ ip address 192.168.4.2 255.255.255.0 # ip route-static 192.168.5.0 255.255.255.0 192.168.3.1 ip route-static 192.168.6.0 255.255.255.0 192.168.4.1 # 3. Configure RouterC. # sysname RouterC # interface GigabitEthernet1/ ip address 192.168.1.2 255.255.255.0 # interface GigabitEthernet2/ ip address 192.168.2.1 255.255.255.0 # ip route-static 192.168.5.0 255.255.255.0 192.168.2.2 ip route-static 192.168.6.0 255.255.255.0 192.168.1.1 # 4. Configure RouterD. # sysname RouterD # interface GigabitEthernet1/ ip address 192.168.3.1 255.255.255.0 # interface GigabitEthernet2/ ip address 192.168.2.2 255.255.255.0 # interface GigabitEthernet3/ ip address 192.168.5.1 255.255.255.0 # ip route-static 192.168.1.0 255.255.255.0 192.168.2.1 ip route-static 192.168.4.0 255.255.255.0 192.168.3.2 ip route-static 192.168.6.0 255.255.255.0 192.168.3.2 ip route-static 192.168.6.0 255.255.255.0 192.168.2.1 # 5. Verify the configuration. Run the display nqa results test-instance admin icmp command on RouterA to view the NQA test result. The command output displays "Lost packet ratio: 0 %", indicating that the link status is normal. Run the display ip routing-table command on RouterA to view the IP routing table. The routing table contains the static route with destination network segment 192.168.5.0/ Run the shutdown command in the view of GE1/0/0 or GE2/0/0 on RouterB to simulate a link failure. Run the display nqa results test-instance admin icmp command on RouterA to view the NQA test result. The command output displays "Completion: Configuration Notes The static route associated with an NQA test instance is deleted from the routing table only when the NQA test fails. You can run the display nqa results command to view the NQA test result. Before modifying the configuration of an NQA test instance, stop the NQA test instance. If the static route associated with one NQA test instance is associated with another NQA test instance, the association between the static route and the former NQA test instance is removed. Only the NQA ping test instance is used so that RouterA switches services based on the test result. There is no requirement for the peer device configuration. The more information about technical support you can consult with our technician - Bill, and his e-mail address is as below: bill@huanetwork.com More relate: How to Configure IPv4 Static Routers (http://www.huanetwork.com/ End
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||