peer 4.4.4.9 connect-interface LoopBack1
#
ipv4-family unicast
undo synchronization
peer 3.3.3.9 enable
peer 4.4.4.9 enable
#
ipv4-family vpnv4
policy vpn-target
peer 3.3.3.9 enable
peer 4.4.4.9 enable
#
ipv4-family vpn-instance VPN1
import-route ospf 100
import-route direct
#
ipv4-family vpn-instance VPN2
import-route ospf 200
import-route direct
#
ospf 100 vpn-instance VPN1
import-route bgp
domain-id 0.0.0.10
area 0.0.0.0
network 172.18.1.0 0.0.0.255
#
ospf 200 vpn-instance VPN2
import-route bgp
domain-id 0.0.0.20
area 0.0.0.0
network 172.19.1.0 0.0.0.255
#
return
l
Configuration file of CE1
#
sysname CE1
#
interface GigabitEthernet1/0/0
undo shutdown
#
interface GigabitEthernet1/0/0.1
vlan-type dot1q 10
ip address 172.16.1.1 255.255.255.0
#
ospf 100
area 0.0.0.0
network 172.16.1.0 0.0.0.255
#
return
l
Configuration file of CE2
#
sysname CE2
#
interface GigabitEthernet1/0/0
undo shutdown
#
interface GigabitEthernet1/0/0.1
vlan-type dot1q 10
ip address 172.17.1.1 255.255.255.0
#
ospf 200
area 0.0.0.0
network 172.17.1.0 0.0.0.255
#
return
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
4 VRRP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
223