Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 162

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Configure IP addresses. This example assumes that you know how to configure IP addresses so
that the configuration is not described here.
Step 2 Configure an NQA test instance on Router B to test the link between Router B and Switch A.
<RouterB> system-view
[RouterB] nqa test-instance aa bb
[RouterB-nqa-aa-bb] test-type icmp
[RouterB-nqa-aa-bb] destination-address ipv4 172.16.1.2
[RouterB-nqa-aa-bb] frequency 3
[RouterB-nqa-aa-bb] probe-count 1
[RouterB-nqa-aa-bb] start now
[RouterB-nqa-aa-bb] quit
Step 3 Configure a static route.
# Configure a static route on Router B and associate the static route with an NQA test instance.
[RouterB] ip route-static 172.16.7.0 255.255.255.0 GigabitEthernet 1/0/0
172.16.1.2 track nqa aa bb
# Configure a static route on Router C.
[RouterC] ip route-static 172.16.7.0 255.255.255.0 GigabitEthernet 3/0/0 172.16.6.2
Step 4 Configure a dynamic routing protocol on Router A, Router B, and Router C. This example uses
OSPF. For detailed instructions on configuring OSPF, see
Step 5 Configure OSPF on Router B and Router C to import static routes.
# Configure OSPF on Router B to import static routes, and set the cost of each imported static
route to 10.
[RouterB] ospf 1
[RouterB-ospf-1] import-route static cost 10
[RouterB-ospf-1] quit
# Configure OSPF on Router C to import static routes, and set the cost of each imported static
route to 20.
[RouterC] ospf 1
[RouterC-ospf-1] import-route static cost 20
[RouterC-ospf-1] quit
Step 6 Verify the configuration.
After completing the configuration, run the display current-configuration | include nqa
command in the system view on Router B to check whether the static route has been associated
Issue 02 (2014-09-30)
learns routes from Router B and Router C to the same destination, it prefers the route with
a lower cost along the path of Router B → Switch A.
IP address of each interface
Test type, administrator name, and name of an NQA test instance
Test period and packet sending interval of the NQA test instance
OSPF area ID (Area 0) where Router A, Router B, and Router C reside
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 IP Static Route Configuration
5 OSPF
Configuration.
137

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e