![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 1412](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531412.webp)
vpn-target 222:2 export-
extcommunity
vpn-target 222:2 import-
extcommunity
#
service-location 1
location slot 1 engine 0
remote-backup interface GigabitEthernet 1/1/1 peer 172.16.5.2
vrrp vrid 1 interface GigabitEthernet 1/1/1
#
service-instance-group 1
service-location 1
#
nat instance nat id 1
vpn-nat enable
service-instance-group 1
nat address-group 1 group-id 1 10.2.1.1 mask 24 vpn-instance vpnb
nat outbound any address-group 1
nat allow-access inside vpn-instance vpna global vpn-instance vpnb
#
mpls lsr-id 4.4.4.9
mpls
#
mpls ldp
#
acl number 3333
rule 5 permit ip source 10.1.1.0 0.0.0.255
#
traffic classifier 1 operator or
if-match acl 3333
#
traffic behavior 1
nat bind instance nat
#
traffic policy 1
share-mode
classifier 1 behavior 1
#
interface GigabitEthernet1/1/1
undo shutdown
ip address 172.16.5.1 255.255.255.0
vrrp vrid 1 virtual-ip 172.16.5.100
vrrp vrid 1 priority 200
vrrp vrid 1 track service-location 1 reduce 60
vrrp vrid 1 track interface GigabitEthernet 2/0/1 reduce 60
vrrp vrid 1 preempt-mode timer delay 300
admin-vrrp vrid 1 ignore-if-down
#
interface GigabitEthernet1/1/1.1
vlan-type dot1q 1
ip binding vpn-instance vpna
ip address 172.5.2.1 255.255.255.0
#
interface GigabitEthernet1/1/1.2
vlan-type dot1q 2
ip binding vpn-instance vpnb
ip address 172.5.2.1 255.255.255.0
#
return
l
CGN2 configuration file
#
#
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
12 CGN Backing Up HA Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1395