#
ospfv3 1
router-id 3.3.3.3
import-route static cost 20
#
interface GigabitEthernet1/0/0
undo shutdown
ipv6 enable
ipv6 address 2001:db8:4::1/64
#
interface GigabitEthernet2/0/0
undo shutdown
ipv6 enable
ipv6 address 2001:db8:2::2/64
ospfv3 1 area 0.0.0.0
#
interface GigabitEthernet3/0/0
undo shutdown
ipv6 enable
ipv6 address 2001:db8:6::1/64
#
ipv6 route-static 2001:db8:7:: 64 GigabitEthernet3/0/0 FE80:2::2
#
return
2.10.7 Example for Configuring Permanent Advertisement of IPv4
Static Routes
By configuring permanent advertisement of static routes, you can determine the forwarding path
of service traffic and provide a low-cost and simple link detection mechanism.
Networking Requirements
If service traffic needs to be forwarded along a specified path, you can detect links of the
forwarding path by pinging the destination addresses of static routes. In this manner, you can
monitor services at a very low cost.
, EBGP peer relationships are established between Router A and
Router B, and between Router A and Router C by using static routes. There are two links (Link
A and Link B) between Router A and Router B. By configuring permanent advertisement of
static routes, you can make traffic be forwarded along only Link A regardless of the outbound
interface status and detect the status of Link A by periodically pinging the interface address of
Router B through the network monitoring system. This detects the status of BGP services.
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.
148