<HUAWEI>
system-view
[HUAWEI]
sysname CGN1
[CGN1]
service-ha hot-backup enable
# On CGN2, enable HA hot standby.
<HUAWEI>
system-view
[HUAWEI]
sysname CGN2
[CGN2]
service-ha hot-backup enable
Step 2
On CGN1 and CGN2, create an HA backup group and configure members in the HA backup
group. Configure a VRRP backup tunnel.
# On CGN1, create HA backup group 1, add CPU0 in slot 1 to HA backup group 1, configure
GE 1/1/1 as the VRRP outbound interface, and set the IP address of the peer end to 1.1.1.2.
[CGN1]
service-location 1
[CGN1-service-location-1]
location slot 1 engine 0
[CGN1-service-location-1]
remote-backup interface GigabitEthernet 1/1/1 peer
1.1.1.2
[CGN1-service-location-1]
quit
# On CGN2, create HA backup group 1, add CPU0 in slot 2 to HA backup group 1, configure
GE 1/1/2 as the VRRP outbound interface, and set the IP address of the peer end to 1.1.1.1.
[CGN2]
service-location 1
[CGN2-service-location-1]
location slot 2 engine 0
[CGN2-service-location-1]
remote-backup interface GigabitEthernet 1/1/2 peer
1.1.1.1
[CGN2-service-location-1]
quit
Step 3
On CGN1 and CGN2, create VRRP backup groups and configure them.
# On CGN1, enter the GE 1/1/1 interface view, create VRRP backup group 1, and set the virtual
IP address of VRRP backup group 1 to 1.1.1.3. In addition, configure VRRP backup group 1 as
the mVRRP, and set the priority of CGN1 in VRRP backup group 1 to 200, and set the VRRP
active/standby revertive switching delay time 300s.
[CGN1]
interface GigabitEthernet 1/1/1
[CGN1-GigabitEthernet1/1/1]
vrrp vrid 1 virtual-ip 1.1.1.3
[CGN1-GigabitEthernet1/1/1]
admin-vrrp vrid 1 ignore-if-down
[CGN1-GigabitEthernet1/1/1]
vrrp vrid 1 priority 200
[CGN1-GigabitEthernet1/1/1]
vrrp vrid 1 preempt-mode timer delay 300
[CGN1-GigabitEthernet1/1/1]
quit
# On CGN2, enter the GE 1/1/2 interface view, create VRRP backup group 1, and set the virtual
IP address of VRRP backup group 1 to 1.1.1.3. In addition, configure VRRP backup group 1 as
the mVRRP, and set the priority of CGN2 in VRRP backup group 1 to 150.
[CGN2]
interface GigabitEthernet 1/1/2
[CGN2-GigabitEthernet1/1/2]
vrrp vrid 1 virtual-ip 1.1.1.3
[CGN2-GigabitEthernet1/1/2]
admin-vrrp vrid 1 ignore-if-down
[CGN2-GigabitEthernet1/1/2]
vrrp vrid 1 priority 150
[CGN2-GigabitEthernet1/1/2]
quit
Step 4
On CGN1 and CGN2, configure association between HA and VRRP.
# On CGN1, enter the GE 1/1/1 interface view and configure association between HA backup
group 1 and VRRP backup group 1.
[CGN1]
interface GigabitEthernet 1/1/1
[CGN1-GigabitEthernet1/1/1]
vrrp vrid 1 track service-location 1 reduce 60
[CGN1-GigabitEthernet1/1/1]
quit
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.
1351