Guide On Enabling BFD & ARP Detections
Guide On Enabling BFD & ARP Detections
Detections
Issue 01
Date 2015-11-12
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://www.huawei.com
Email: [email protected]
Description
1. Before enabling the detections, determine the port networking mode based on standard
operating procedure (SOP) detection result.
2. Determine the networking mode between the interface boards and transmission devices.
3. The Bidirectional Forwarding Detection (BFD) complies with the bidirectional protocol,
which must be enabled on routers.
4. Perform configurations during off-peak hours at night.
5. This document applies to all BSC versions.
Contents
Description ....................................................................................................................................... ii
1 Active/Standby Port or Active/Standby Manual LAG+VRRP Networking ...................... 1
1.1 Configuration Solution Selection .................................................................................................................................. 1
1.2 Solution 1 ...................................................................................................................................................................... 2
1.2.1 Parameters ................................................................................................................................................................. 4
1.2.2 Precautions................................................................................................................................................................. 4
1.2.3 MML Examples ......................................................................................................................................................... 5
1.2.4 Verification ................................................................................................................................................................ 5
1.2.5 Rollback ..................................................................................................................................................................... 5
1.3 Solution 2 ...................................................................................................................................................................... 6
1.3.1 Parameters ................................................................................................................................................................. 6
1.3.2 Precautions................................................................................................................................................................. 7
1.3.3 MML Examples ......................................................................................................................................................... 7
1.3.4 Verification ................................................................................................................................................................ 7
1.3.5 Rollback ..................................................................................................................................................................... 7
Solution 1 Two BFD 1. The detection The peer device must Recommended
detections are is quick (300 support the BFD by default
established on ms by default). detection.
the active The L3
port, and the detection is
ARP detection more reliable
is enabled on than L2
the standby detection.
port. 2. The BFD
detection is a
standard-
compliant
bidirectional
detection.
Solution 2 The ARP The peer device 1. The ARP detection is The peer device
detection is does not need to slow (several does not
enabled on support the ARP seconds). L2 detection support the
both the active detection. is performed. BFD detection.
and standby 2. ARP detection is an
ports. expanded application
based on the standard
protocol for link
detection. The
detection is
implemented at a
single end, and the
detection speed is not
fast. If multiple ports
exist, the processing
performance of the
peer device may
deteriorate. The ARP
is susceptible to ARP
flow control of the
peer device.
1.2 Solution 1
RT 1
RT 2
VRRP1
BFD2 IP19 ARP
IP10 IP12
BFD1
IP 11 IP13
INT
IP200 RNC
BSC Two single-hop BFD BFD1: active port IP address BFD1: port IP address of RT1
detections (BFD1 and (IP11) (IP10)
BFD2) on the active BFD2: active port IP address BFD2: port IP address of RT2
port (IP11) (IP12)
One ARP detection on ARP: standby port IP ARP: VRRP IP address (IP19)
the standby port address (IP13)
if a port is configured with multiple IP addresses, you are advised to configure the BFD detection for
each IP address of the active port. The standby port can be configured with only one ARP detection. You
are advised to use a new IP address to configure the ARP detection, and the IP address must be in the
same network segment as the IP address of the active port.
1.2.1 Parameters
1. When the BFD detection is enabled on the manual active/standby LAG or the
active/standby port, the peer router must use the dynamic mode. Specifically, the BFD
local and peer discriminators are not specified and the peer router is interconnected to the
BSC for BFD detection. This is because the local discriminator changes when the BSC
manual active/standby LAG or active/standby ports are switched over. In this case, if the
peer router BFD uses the static mode in which the BFD local and peer discriminators are
specified, the active BFD negotiation with the router will fail after the BSC
active/standby port switchover. When this occurs, the router needs to actively negotiate
with the BSC, which leads to a long period of time from BFD to the UP state. As a result,
services are interrupted for a long period of time. If the peer router BFD uses the
dynamic mode, the BFD negotiation is quick even when the local discriminator changes
during the BSC manual active/standby LAG switchover. This way, services are
interrupted for a short period of time.
2. The default period of a BSC BFD detection is 300 ms, which is calculated as follows:
100 ms x 3
3. The default ARP detection duration must be changed into 30s (10s x 3 = 30s). Quick
detection is not required on the standby port.
1.2.2 Precautions
1. The BFD complies with the bidirectional protocol, which must be enabled on routers.
2. RT1 and RT2 must support VRRP.
3. Ports on the VRRP router formed by RT1 and RT2 must be configured in L2 mode. The
ports include the port that connects to the BSC and ports that connect routers.
4. If the VRRP virtual IP address (IP19) is configured with a VLAN, VLANs of IP
addresses (IP10 and IP12) to routers must be configured.
1) Check whether the following command is executed:ADD VLANID: SRN=×,
SN=××, IPADDR= IP19, VLANID=××;
2) If the command is executed, run the following command to add a VLAN to the
physical IP address:ADD VLANID: SRN=×, SN=××, IPADDR= IP10
VLANID=××;
ADD VLANID: SRN=×, SN=××, IPADDR= IP12 VLANID=××;
1.2.4 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Check whether ALM-21346 IP Connectivity Check Failure is reported.
3. Perform the port switchover and steps 1 and 2. Ensure that the switchover is normal.
4. After the switchover, check whether new alarms are generated.
1) After the detection is enabled, if the standby port reports the ARP detection failure alarm, check
the standby transmission configuration.
2) If the service detection fails or service alarms are reported after the port switchover, check the
transmission equipment configuration.
Check whether the peer device is enabled with the strict ARP learning switch. Certain network
devices, however, do not update ARP table items by default after receiving free ARP packets and
the ARP table items are updated only when the BSC sends the ARP REQ to the peer device and
receive its REPLY. Modify the device ARP learning mode.
1.2.5 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.
3. Stop the BFD on the router because the BFD complies with the bidirectional protocol.
Contact peer engineers to stop the BFD detection on devices.
1.3 Solution 2
Alternative Fault checking Scheme:
ARP1 for Active + ARP2 for Standby
RT1
RT2
VRRP1
IP19 ARP 2
IP10 ARP 1 IP12
IP11 IP13
INT
IP200
RNC
1.3.1 Parameters
The default period of an ARP detection is 4 seconds, which is calculated as follows: 2s x 2
1.3.2 Precautions
None
1.3.4 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Check whether ALM-21346 IP Connectivity Check Failure is reported.
3. Perform the port switchover and steps 1 and 2. Ensure that the switchover is normal.
4. After the switchover, check whether new alarms are generated.
1) After the detection is enabled, if the standby port reports the ARP detection failure alarm, check
the standby transmission configuration.
2) If the service detection fails or service alarms are reported after the port switchover, check the
transmission equipment configuration.
Check whether the peer device is enabled with the strict ARP learning switch. Certain network
devices, however, do not update ARP table items by default after receiving free ARP packets and
the ARP table items are updated only when the BSC sends the ARP REQ to the peer device and
receive its REPLY. Modify the device ARP learning mode.
1.3.5 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.
Reflect the networking mode. To enable the BFD and ARP detections, contact Huawei
customer service center.
Solution 2 Independent The peer device does 1. The ARP detection is The peer
port single not need to support slow (several device does not
ARP the ARP detection. seconds). L2 support the
detection is BFD detection.
performed.
2. ARP detection is an
expanded application
based on the
standard protocol for
link detection. The
detection is
implemented at a
single end, and the
detection speed is
not fast. If multiple
ports exist, the
processing
performance of the
peer device may
deteriorate. The ARP
is susceptible to ARP
flow control of the
peer device.
3.2 Solution 1
Figure 3-1 Active/standby board with independent ports
RT1
RT2
IP10 IP12
BFD 1 BFD2
IP11 IP13
INT
IP200
RNC
RT2 & RT1 IP10, IP12 Physical IP address of RT2 & RT1
BSC A BFD detection is enabled Port IP address (IP11) Peer physical IP address
on the port of the active (IP10)
board.
A BFD detection is enabled Port IP address (IP13) Peer physical IP address
on the port of the standby (IP12)
board.
RT1
IP10
BFD
IP11
INT
IP200
RNC
3.2.2 Parameters
The default period of a BSC BFD detection is 300 ms, which is calculated as follows: 100 ms
x3
3.2.3 Precautions
The BFD complies with the bidirectional protocol, which must be enabled on routers.
3.2.5 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Check whether ALM-21346 IP Connectivity Check Failure is reported.
3. After the switchover, check whether new alarms are generated.
3.2.6 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.
3. Stop the BFD on the router because the BFD complies with the bidirectional protocol.
Contact peer engineers to stop the BFD detection.
3.3 Solution 2
Figure 3-3 Active/standby board with independent ports
RT1
RT2
IP10 IP12
ARP1 ARP2
IP11 IP13
INT
IP200
RNC
BSC An ARP detection is enabled on the Port IP address (IP11) Peer physical IP address (IP10)
port of the active board.
An ARP detection is enabled on the Port IP address (IP13) Peer physical IP address (IP12)
port of the standby board.
RT1
ARP
IP10
IP11
INT
IP200
RNC
BSC An ARP detection is enabled on Port IP address (IP11) Peer physical IP address (IP10)
the port of the active board.
3.3.2 Parameters
The default period of an ARP detection is 4 seconds, which is calculated as follows: 2s x 2
3.3.3 Precautions
None
3.3.5 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Check whether ALM-21346 IP Connectivity Check Failure is reported.
3. After the switchover, check whether new alarms are generated.
3.3.6 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.
Solution 1 Single BFD 1. Fast detection The peer device must Recommended
(300 ms by support the BFD by default
default); L3 detection.
detection, which
is more reliable
than L2
detection.
2. BFD is a
standard
protocol, and
detection is
implemented at
local and peer
ends.
Solution 2 Single ARP The peer device 1. The ARP detection is The peer
does not need to slow (several seconds). device does
support the ARP L2 detection is not support
detection. performed. the BFD
2. ARP detection is an detection.
expanded application
based on the standard
protocol for link
detection. The
detection is
implemented at a
single end, and the
detection speed is not
fast. If multiple ports
exist, the processing
performance of the
peer device may
deteriorate. The ARP is
susceptible to ARP
flow control of the peer
device.
4.2 Solution 1
BSC A BFD detection is enabled Port IP address (IP11) Peer physical IP address
on the port. (IP19)
4.2.1 Parameters
The default period of a BSC BFD detection is 300 ms, which is calculated as follows: 100 ms
x3
4.2.2 Precautions
The BFD complies with the bidirectional protocol, which must be enabled on routers.
4.2.4 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Check whether ALM-21346 IP Connectivity Check Failure is reported.
3. After the switchover, check whether new alarms are generated.
4. Perform the active/standby trunk group switchover test.
4.2.5 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.
3. Stop the BFD on the router because the BFD complies with the bidirectional protocol.
Contact peer engineers to stop the BFD detection.
4.3 Solution 2
4.3.1 Parameters
The default period of an ARP detection is 4 seconds, which is calculated as follows: 2s x 2
4.3.2 Precautions
None
4.3.4 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Check whether ALM-21346 IP Connectivity Check Failure is reported.
3. After the switchover, check whether new alarms are generated.
4. Perform the active/standby trunk group switchover test.
4.3.5 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.