![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 1385](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531385.webp)
[CGN1-GigabitEthernet3/1/7]
admin-vrrp vrid 10 ignore-if-down
[CGN1-GigabitEthernet3/1/7]
vrrp vrid 10 priority 150
[CGN1-GigabitEthernet3/1/7]
vrrp vrid 10 preempt-mode timer delay 400
[CGN1-GigabitEthernet3/1/7]
vrrp vrid 10 track interface GigabitEthernet 3/1/6
reduced 50
[CGN1-GigabitEthernet3/1/7]
vrrp vrid 10 track interface GigabitEthernet 1/0/1
reduced 50
[CGN1-GigabitEthernet3/1/7]
quit
# Enter the GE 3/1/7 interface view on CGN2, create VRRP backup group 10, and set the virtual
IP address of the VRRP backup group to 10.0.0.3. Configure the VRRP backup group as an
mVRRP backup group and enable the VRRP backup group to ignore an interface Down event.
Set CGN2's priority in the VRRP backup group to 120.
[CGN2]
interface GigabitEthernet 3/1/7
[CGN2-GigabitEthernet3/1/7]
ip address 10.0.0.2 255.255.255.0
[CGN2-GigabitEthernet3/1/7]
vrrp vrid 10 virtual-ip 10.0.0.3
[CGN2-GigabitEthernet3/1/7]
admin-vrrp vrid 10 ignore-if-down
[CGN2-GigabitEthernet3/1/7]
vrrp vrid 10 priority 120
[CGN2-GigabitEthernet3/1/7]
quit
Step 2
Create an HA backup group on CGN1 and CGN2, add members to the group, and configure a
VRRP backup channel.
# Create HA backup group 21 on CGN1, add CPU 0 in slot 1 to the group, and set the VRRP
outbound interface to GE 3/1/7 and the peer IP address to 10.0.0.2.
[CGN1]
service-location 21
[CGN1-service-location-21]
location slot 1 engine 0
[CGN1-service-location-21]
remote-backup interface GigabitEthernet 3/1/7 peer
10.0.0.2
[CGN1-service-location-21]
quit
# Create HA backup group 21 on CGN2, add CPU 0 in slot 2 to the group, and set the VRRP
outbound interface to GE 3/1/7 and the peer IP address to 10.0.0.1.
[CGN2]
service-location 21
[CGN2-service-location-21]
location slot 2 engine 0
[CGN2-service-location-21]
remote-backup interface GigabitEthernet 3/1/7 peer
10.0.0.1
[CGN2-service-location-21]
quit
Step 3
Associate HA with VRRP on CGN1 and CGN2.
# Enter the GE 3/1/7 interface view on CGN1, and associate HA backup group 21 with VRRP
backup group 10.
[CGN1]
interface GigabitEthernet 3/1/7
[CGN1-GigabitEthernet3/1/7]
vrrp vrid 10 track service-location 21 reduce 50
[CGN1-GigabitEthernet3/1/7]
quit
# Enter the GE 3/1/7 interface view on CGN2, and associate HA backup group 21 with VRRP
backup group 10.
[CGN2]
interface GigabitEthernet 3/1/7
[CGN2-GigabitEthernet3/1/7]
vrrp vrid 10 track service-location 21 reduce 50
[CGN2-GigabitEthernet3/1/7]
quit
NOTE
Run the
display vrrp 10
command on CGN1 and CGN2 to view the master/backup VRRP status, which
reflects the master/backup status of the HA backup group.
Master
in the command output indicates that
CGN1 is the master device.
Step 4
Bind the HA backup group to the VRRP backup group on CGN1 and CGN2.
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.
1368