import-route static cost 20
area 0.0.0.0
network 172.16.4.0 0.0.0.255
#
ip route-static 172.16.7.0 255.255.255.0 GigabitEthernet3/0/0 172.16.6.2
#
return
2.10.6 Example for Configuring NQA for IPv6 Static Routes
NQA for IPv6 static routes can quickly detect network faults and control advertisement of static
routes.
Networking Requirements
On a simple network or when the route to the destination cannot be established using dynamic
routing protocols, you can configure static routes. Unlike dynamic routing protocols, static routes
do not have a dedicated detection mechanism. After a fault occurs, static routes cannot detect
the fault, and the network administrator must delete the corresponding static route. This delays
the link switchover and probably interrupts services for a comparatively long time.
BFD for static routes is adaptable to link changes but both ends of the link must support BFD.
If either end of the link does not support BFD, you can configure NQA for IPv6 static routes.
When an NQA test instance detects a link fault, the static route associated with the NQA test
instance will be deleted from the IP routing table and the traffic is switched to a normal route to
prevent long-time service interruption.
As shown in
, the IP MAN of a company is configured with redundant backup links.
l
Router B and Router C are configured with static routes. Router B is the master Router and
Router C is the backup Router.
l
Normally, traffic is forwarded through the active link Router B
→
Switch A.
l
When the active link becomes faulty, traffic is switched to the backup link Router C
→
Switch B.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
2 IP Static Route Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
142