![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 726](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453726.webp)
# Create VRRP backup group 10 and set the VRRP priority to 140 on Router B so that Router
B is the Backup.
[RouterB]
interface gigabitethernet1/0/1
[RouterB-GigabitEthernet1/0/1]
vrrp vrid 10 virtual-ip 10.1.1.111
[RouterB-GigabitEthernet1/0/1]
vrrp vrid 10 priority 140
Step 3
Configure basic BFD functions.
# Configure Router A. The configuration on Router A is similar to that on Router B. For the
detailed configuration procedure, see the configuration file of Router B.
[RouterA]
bfd
[RouterA-bfd]
quit
[RouterA]
bfd atob bind peer-ip 10.1.1.2 interface GigabitEthernet 1/0/1
[RouterA-bfd-session-atob]
discriminator local 1
[RouterA-bfd-session-atob]
discriminator remote 2
[RouterA-bfd-session-atob]
commit
[RouterA-bfd-session-atob]
quit
# After completing the preceding configurations, run the
display bfd session
command on
Router A or Router B. The peer BFD session is
Up
. In the following example, the display on
Router A is used.
[RouterA]
display bfd session all
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
1 2 10.1.1.2
Up
S_IP_IF GigabitEthernet1/0/1
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
Step 4
Configure EFM.
# Enable EFM globally and on GE 1/0/1 of Router A, and set the interval at which errored frames
to 5s and the interval at which errored frame seconds are detected to 120s. In the following
example, the display on Router A is used.
[RouterA]
efm enable
[RouterA]
interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1]
efm enable
[RouterA-GigabitEthernet1/0/1]
efm error-frame period 5
[RouterA-GigabitEthernet1/0/1]
efm error-frame threshold 5
[RouterA-GigabitEthernet1/0/1]
efm error-frame-second period 120
[RouterA-GigabitEthernet1/0/1]
quit
# After completing the configurations, run the
display efm session all
command on Router A.
The EFM session has been created successfully.
[RouterA]
display efm session all
Interface EFM State Loopback Timeout
----------------------------------------------------------------------
GigabitEthernet1/0/1
detect
--
Step 5
Associate the VRRP backup group with the peer BFD session.
# Configure the VRRP backup group to track the peer BFD session on Router B and allow
Router B to increase its VRRP priority by 40 if the peer BFD session goes Down.
[RouterB-GigabitEthernet1/0/1]
vrrp vrid 10 track bfd-session 2 increased 40
[RouterB-GigabitEthernet1/0/1]
quit
# After completing the preceding configurations, run the
display vrrp
command on Router A
and Router B. The VRRP status is
Master
on Router A and
Backup
on Router B. The command
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
709