You are on page 1of 32

User Guide to Enabling IP

Connectivity Check

Issue 01

Date 2015-11-120

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2017. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

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.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: http://www.huawei.com

Email: support@huawei.com

Issue 012 (2015-11-125) Huawei Proprietary and Confidential i


Copyright © Huawei Technologies Co.,
Ltd.
Guide on Enabling FBD & ARP Detections Description

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. Perform configurations during off-peak hours at night.
4. This document applies to all BSC versions.

Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes made in earlier issues.

Issue 03 (2017-11-20)
This is the third official release, which incorporates the following changes:
Added section "Configuration Requirements of Enabling ARP Detection or BFD."

Issue 02 (2017-03-21)
This is the third commercial release.
This document incorporates the following changes:
1. Added the solution of enabling BFD or ARP detection on active/standby ports for
versions later than R018C10.
2. Added descriptions of ARP and BFD detection working principles.

Issue 01 (2016-04-15)
This issue is the second official release, which incorporates the following changes:
Modify the default value of “ARP Packet Resend Times”, to avoid the alarm “IP Connectivity
Check Failure” been reported, which been caused by ARP fast reply function of transmission
device.

Issue 00 (2015-11-11)
First draft completed.
This issue is the first official release.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential ii


Copyright © Huawei Technologies Co.,
Ltd.
Guide on Enabling FBD & ARP Detections Contents

Contents

Description........................................................................................................................................ii
1 IP Connectivity Check Principles..............................................................................................v
1.1 ARP Detection................................................................................................................................................................v
1.1.1 Working Principles......................................................................................................................................................v
1.1.2 Characteristics.............................................................................................................................................................v
1.1.3 Application Scenarios.................................................................................................................................................vi
1.2 BFD Detection...............................................................................................................................................................vi
1.2.1 Working Principles.....................................................................................................................................................vi
1.2.2 Characteristics............................................................................................................................................................vi

2 Active/Standby Port or Active/Standby Manual LAG+VRRP Networking......................1


2.1 Configuration Solution Selection...................................................................................................................................1
2.2 Solution 1........................................................................................................................................................................3
2.2.1 Parameters...................................................................................................................................................................4
2.2.2 Precautions..................................................................................................................................................................5
2.2.3 MML Examples...........................................................................................................................................................5
2.2.4 Verification..................................................................................................................................................................6
2.2.5 Rollback.......................................................................................................................................................................6
2.3 Solution 2........................................................................................................................................................................7
2.3.1 Parameters...................................................................................................................................................................7
2.3.2 Precautions..................................................................................................................................................................8
2.3.3 MML Examples...........................................................................................................................................................8
2.3.4 Verification..................................................................................................................................................................8
2.3.5 Rollback.......................................................................................................................................................................8
2.4 Solution 3........................................................................................................................................................................9
2.4.1 Active/Standby Link ARP Detection Solution Overview............................................................................................9
2.4.2 Parameters...................................................................................................................................................................9
2.4.3 Precautions..................................................................................................................................................................9
2.4.4 MML Examples.........................................................................................................................................................10
2.4.5 Verification................................................................................................................................................................10
2.4.6 Rollback.....................................................................................................................................................................10

3 Active/Standby Port or Active/Standby Manual LAG+Non-VRRP Networking...........11

Issue 012 (2015-11-125) Huawei Proprietary and Confidential iii


Copyright © Huawei Technologies Co.,
Ltd.
Guide on Enabling FBD & ARP Detections Contents

4 Independent Port Networking..................................................................................................12


4.1 Configuration Solution Selection.................................................................................................................................12
4.2 Solution 1......................................................................................................................................................................14
4.2.2 Parameters.................................................................................................................................................................15
4.2.3 Precautions................................................................................................................................................................15
4.2.4 MML Examples.........................................................................................................................................................16
4.2.5 Verification................................................................................................................................................................16
4.2.6 Rollback.....................................................................................................................................................................16
4.3 Solution 2......................................................................................................................................................................16
4.3.2 Parameters.................................................................................................................................................................18
4.3.3 Precautions................................................................................................................................................................18
4.3.4 MML Examples.........................................................................................................................................................18
4.3.5 Verification................................................................................................................................................................18
4.3.6 Rollback.....................................................................................................................................................................18

5 Load-Sharing LAG Networking or Static Active/Standby LAG Networking.................19


5.1 Configuration Solution Selection.................................................................................................................................19
5.2 Solution 1......................................................................................................................................................................21
5.2.1 Parameters.................................................................................................................................................................22
5.2.2 Precautions................................................................................................................................................................22
5.2.3 MML Examples.........................................................................................................................................................22
5.2.4 Verification................................................................................................................................................................22
5.2.5 Rollback.....................................................................................................................................................................22
5.3 Solution 2......................................................................................................................................................................23
5.3.1 Parameters.................................................................................................................................................................23
5.3.2 Precautions................................................................................................................................................................24
5.3.3 MML Examples.........................................................................................................................................................24
5.3.4 Verification................................................................................................................................................................24
5.3.5 Rollback.....................................................................................................................................................................24

Issue 012 (2015-11-125) Huawei Proprietary and Confidential iv


Copyright © Huawei Technologies Co.,
Ltd.
Guide on Enabling FBD & ARP Detections Contents

1 IP Connectivity Check Principles

1.1 ARP Detection


1.1.1 Working Principles
ARP detection uses the ARP mechanism, where the local end sends an ARP request to the
peer end and checks link connectivity based on whether the local end receives the ARP
response from the peer end. The base station controller or base station periodically sends an
ARP request packet with the destination IP address being the peer IP address to be detected. It
checks the link connectivity based on whether it receives an ARP response from the
destination IP address. If it does, it determines the link is normal; if it receives no ARP
response for multiple consecutive periods, it determines the link is faulty.

1.1.2 Characteristics
1. ARP detection does not depend on the peer device and can be enabled only on the local
end.
2. ARP detection supports independent port detection, active port-only detection, and
simultaneous active and standby port detection.

1.1.3 Application Scenarios


1. ARP detection applies to checking the connectivity between the base station controller
and gateway.

1.2 BFD Detection


1.2.1 Working Principles
BFD detection uses BFD messages as heartbeat messages. If the base station controller
consecutively sends BFD messages but receives no response, it determines the link is faulty.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential v


Copyright © Huawei Technologies Co.,
Ltd.
Guide on Enabling FBD & ARP Detections Contents

After a BFD session is set up between the local and peer devices, the devices periodically
exchange BFD control packets in asynchronous mode.
If the peer end receives BFD control packets within the specified detection period, the BFD
session is UP. Otherwise, the session is DOWN.

1.2.2 Characteristics
A BFD session must be set up as a connection between the two ends of BFD detection.
A BFD session requires a sender and a receiver:
1) The sender sends BFD control packets to the receiver, regardless of whether the sender
has received a BFD packet from the session.
2) The receiver can send a BFD packet during a session only when receiving a BFD packet
from the session.
3) A BFD session can be set up only when at least one of the two BFD ends functions as the
sender.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential vi


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

2 Active/Standby Port or Active/Standby


Manual LAG+VRRP Networking

2.1 Configuration Solution Selection


Configuration Solution Advantages Disadvantage Application
Solution Description Policy

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 detection.
the active port, default). The
and the ARP L3 detection is
detection is more reliable
enabled on the than L2
standby port. detection.
2. The BFD
detection is a
standard-
compliant
bidirectional
detection.

Solution 2 The ARP The peer device 1. The ARP detection The peer device
detection is does not need to is slow (several does not support
enabled on both support the ARP seconds). L2 the BFD
the active and detection. detection is detection.
standby ports. performed.
2. ARP detection is an
expanded
application based
on the standard
protocol for link
detection. The
detection is
implemented at a

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 1


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Configuration Solution Advantages Disadvantage Application


Solution Description Policy

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.

Solution 3 Dual BFD or Check standby 1. The peer end must 1. No IP address
ARP Detection port support ARP is planned for
for Active Ports transmission the standby port.
forwarding.
and when ARP 2. There are
Active/Standby detection cannot 2. The base station multiple routes
Link ARP be enabled for controller version to the VRRP
Detection for the standby port. must be later than router, and ARP
Standby Ports R018C10. detection
specific to the
standby port
cannot cover all
routes.

2.2 Configuration Requirements for Enabling ARP


Detection or BFD
L2 switching is not supported among ports of the base station controller, and STP cannot be
enabled for the peer device. The following table lists configuration comparison of STP-
enabled L2 port networking solutions.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 2


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Networking Advantage Disadvantage Whether ARP


Solution Detection or
BFD Can Be
Enabled

The L2 port is Port faults on the base station Yes


configured as an controller side do not trigger
STP edge port. STP recalculation, fault
recovery, or rapid switchover.
When the L2 port on the
switch receives an STP
packet, the L2 port disables
itself automatically. This way,
the port cannot be connected
to another switch, avoiding
improper operations.
The STP is Port faults on the base station A switch may be unreliable because Yes
enabled for the L2 controller side do not cause man-made errors cannot be avoided.
port. STP recalculation, fault If the port is connected to another
recovery, or rapid switchover. switch, a loop may be created.
The L2 port is The STP port is a non-edge 1. Port faults on the base station No
configured as an port by default. controller side do not cause STP
STP non-edge recalculation. It may take 30s for the
port. switch to enter the forwarding state,
causing slow fault recovery and port
switchovers.
2. When ARP flow control is
performed on the peer switch or
router, if the L2 port changes
between the Up and Down state,
other ports may be switched over
repeatedly.

Conclusion:
1. If the STP is enabled for the peer switch or router, the L2 port connecting the switch or
router to the base station controller cannot be configured as an STP non-edge port (default
setting). If the port mode is RSTP or MSTP, change it to the STP edge mode.
2. If the STP edge mode is unavailable, disable STP for the port.

 For Huawei devices, check and change (if necessary) the port configuration following instructions
provided in the following precaution notice: [CIP-P-201755]Precaution Notice of a Service Interruption Due to No
STP Edge Port Configured on an NE40E&NE80E&CX600&NE20E&ME60&PTN 6900-20171019-A
 For non-Huawei devices, contact the customer to check whether the STP is enabled for third-party
devices. If it is, configure the L2 port directly connecting the switch or router to the base station
controller as an STP edge port.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 3


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

2.3 Solution 1
Preferred fault checking scheme:
2 x BFD for Active + ARP for Standby

RT 1
RT 2
VRRP1
BFD2 IP19 ARP
IP10 IP12

BFD1
IP11 IP13

INT
IP200 RNC

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 4


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Device IP IP Address VLAN Description


Description

BSC IP11 Physical IP address


of the active port on
the interface board

IP13 Physical IP address The IP address of the standby


used for the ARP board used for detection needs
detection on the to be re-planned. The IP
standby port of the address must be in the same
interface board network segment as the IP
address of the active port.

RT1 IP10 Physical IP address If VLAN exists,


of RT1 VLANs of the three IP
addresses must be
RT2 IP12 Physical IP address configured on the
of RT2 interface board.
RT2 & IP19 Virtual Router
RT1 Redundancy
Protocol (VRRP)
virtual address

Device Detection Mechanism Detection IP Address (Local) Detection IP Address (Peer)

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)

RT1 BFD detection IP10 BFD1: port IP address of an


interface board (IP11)

RT2 BFD detection IP12 BFD2: port IP address of an


interface board (IP11)

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.

2.3.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

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 5


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

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. WHETHERAFFECTSWAP must be set to YES(YES). The base station controller
automatically triggers an active/standby port switchover when detecting active-link
faults.

2.3.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=××;
5. For versions later than R018C10, if the customer cannot provide an IP address for the
standby port and the VRRP router supports ARP forwarding, you can enable
active/standby link ARP detection for the standby port.
6. A port switchover is triggered only when dual BFDs on the active port fail.

2.3.3 MML Examples


1. Active/standby ports
STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=SBFD, CARRYT=ETHPORT,
PN=x, MODE=CHECK_ON_PRIMARY_PORT, PEERIP=IP10,
WHETHERAFFECTSWAP=YES;
STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=SBFD, CARRYT=ETHPORT,
PN=x, MODE=CHECK_ON_PRIMARY_PORT, PEERIP=IP12,
WHETHERAFFECTSWAP=YES;
STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=ARP, CARRYT=ETHPORT,
PN=×, MODE=CHECK_ON_STANDBY_PORT, BAKIP=IP13, BAKMASK=IP11
mask, PEERIP=IP19, ARPTIMEOUT=10, ARPRETRY=4;
2. Active/standby trunk groups

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 6


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=SBFD, CARRYT=TRUNK,


WORKMODE=ACTIVE_STANDBY, TRUNKN=x, PEERIP=IP10,
WHETHERAFFECTSWAP=YES;
STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=SBFD, CARRYT=TRUNK,
WORKMODE=ACTIVE_STANDBY, TRUNKN=x, PEERIP=IP12,
WHETHERAFFECTSWAP=YES;
STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=ARP, CARRYT=TRUNK,
WORKMODE=ACTIVE_STANDBY, TRUNKN=x,
MODE=CHECK_ON_STANDBY_TRUNKLINK, BAKIP= BAKIP=IP13,
BAKMASK= BAKMASK=IP11 mask, PEERIP=IP19, ARPTIMEOUT=10,
ARPRETRY=4;

2.3.4 Verification
1. Run the DSP IPCHK command to check whether the detection status is normal.
2. Perform the port switchover and steps 1 and 2. Ensure that the switchover is normal.
3. After the switchover, check whether new alarms, such as ALM-21346 IP Connectivity
Check Failure, are generated. 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.

2.3.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.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 7


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

2.4 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

Device IP IP Address Description VLAN Description

BSC IP11 Physical IP address of the active


port on the interface board

IP13 Physical IP address used for the Re-plan the IP address


ARP detection on the standby port of the standby board
of the interface board only for the detection.

RT2 & RT1 IP19 VRRP virtual address

Device Detection Mechanism Detection IP Address (Local) Detection IP Address (Peer)

BSC One ARP detection on the ARP: active port IP address ARP1: VRRP IP (IP19)
active port: ARP1 (IP11) ARP2: VRRP IP (IP19)
One ARP detection on the ARP: standby port IP address
standby port: ARP2 (IP13)

2.4.1 Parameters
1. The recommended ARP detection period is 10s (2s x 5).
2. WHETHERAFFECTSWAP must be set to YES(YES). The base station controller
automatically triggers an active/standby port switchover when detecting active-link faults.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 8


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

2.4.2 Precautions
None

2.4.3 MML Examples


1. Active/standby ports
STR IPCHK: SRN=x, SN=x, CHKN=x, CHKTYPE=ARP, CARRYT=ETHPORT,
PN=x, MODE=CHECK_ON_PRIMARY_PORT, PEERIP=IP19,
WHETHERAFFECTSWAP=YES, ARPTIMEOUT=2, ARPRETRY=5;
STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=ARP, CARRYT=ETHPORT,
PN=×, MODE=CHECK_ON_STANDBY_PORT, BAKIP=IP13,BAKMASK=IP11
mask, PEERIP=IP19,ARPTIMEOUT=2, ARPRETRY=5;
2. Active/standby trunk groups
STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=ARP, CARRYT=TRUNK,
WORKMODE=ACTIVE_STANDBY, TRUNKN=x, MODE=
CHECK_ON_PRIMARY_TRUNKLINK, PEERIP=IP19,
WHETHERAFFECTSWAP=YES,ARPTIMEOUT=2, ARPRETRY=5;
STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=ARP, CARRYT=TRUNK,
WORKMODE=ACTIVE_STANDBY, TRUNKN=x,
MODE=CHECK_ON_STANDBY_TRUNKLINK, BAKIP= BAKIP=IP13,
BAKMASK= BAKMASK=IP11 mask, PEERIP=IP19,ARPTIMEOUT=2,
ARPRETRY=5;

2.4.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.

2.4.5 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 9


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

2.5 Solution 3
See the preceding solutions for active-port detection. Use the active/standby link ARP
detection solution for standby port detection.

2.5.1 Active/Standby Link ARP Detection Solution Overview


Active/standby link ARP detection uses the ARP mechanism for versions later than R018C10.
The board where the active port resides periodically sends unicast ARP request packets. In
these packets, the source MAC address is the MAC address of the active port, the destination
MAC address is the MAC address of the standby port, and the source and destination IP
addresses are the CPUIDs of the active board. If a port is configured with a VLAN ID, ARP
detection packets are sent to each VLAN. If the port is not configured with a VLAN ID, only
the packets carrying no VLAN ID are sent. Upon receiving an ARP detection packet, the
standby port checks whether the received ARP detection packet is an ARP request packet with
source and destination IP addresses being the CPUID of the active board. If it is, an ARP
response packet is returned.
The base station controller determines the link connectivity based on whether it receives an
ARP response. If it does, it determines the link is normal. If it receives no ARP response
within a specified period, it determines the VRRP-based networking encounters an exception.

2.5.2 Parameters
None.

2.5.3 Precautions
1. If active/standby ports or active/standby trunk groups manually aggregated are connected
to a VRRP-based networking, you are advised to enable this function. Otherwise, do not
enable this function. If this function is enabled in non-VRRP networking scenarios, ALM-
21406 ARP Detection Failure may be reported. Simply ignore this alarm.
2. The active/standby port detection switch is activated by board.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 10


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

3. After a port is configured with VLANs, the ARP detection packet carries the VLAN ID.

2.5.4 MML Examples


SET INTBRDPARA: SRN=x, SN=x, BT=x, STANDBYPORTCHKSW=ON;

2.5.5 Verification
When the detection is enabled, if the standby port reports ALM-21406 ARP Detection Failure,
check standby transmission configurations.

2.5.6 Rollback
Run the SET INTBRDPARA command to disable the detection. The following is an
example:
SET INTBRDPARA: SRN=x, SN=x, STANDBYPORTCHKSW=OFF

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 11


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

3 Active/Standby Port or Active/Standby


Manual LAG+Non-VRRP Networking

Reflect the networking mode. To enable the BFD and ARP detections, contact Huawei
customer service center.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 12


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

4 Independent Port Networking

4.1 Configuration Solution Selection

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 13


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Configuratio Description Advantages Disadvantage Application


n Solution Policy

Solution 1 Independent 1. The detection is The peer device must Recommended


port single quick (300 ms by support the BFD by default
BFD default). The L3 detection.
detection is more
reliable than L2
detection.
2. The BFD detection
is a standard-
compliant
bidirectional
detection.

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.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 14


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

4.2 Solution 1
Figure 4-1 Active/standby board with independent ports

RT1
RT2
IP10 IP12
BFD1 BFD2

IP 1 IP13
1
INT
IP200
RNC

Device IP IP Address Description VLAN Description

BSC IP11 Physical IP address of the active interface


board

IP13 Physical IP address of the standby interface


board

RT2 & RT1 IP10, IP12 Physical IP address of RT2 & RT1

Device Detection Mechanism Detection IP Address Detection IP Address (Peer)


(Local)

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.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 15


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Figure 4-2 Independent board with independent ports

RT1
IP10
BFD

IP1
1
INT
IP200
RNC

Device IP IP Address Description VLAN Description

BSC IP11 Physical IP address of the active interface


board

RT1 IP10 Physical IP address of RT1

Device Detection Mechanism Detection IP Address Detection IP Address (Peer)


(Local)

BSC A BFD detection is enabled on Port IP address (IP11) Peer physical IP address (IP10)
the port of the active board.

4.2.2 Parameters
The default period of a BSC BFD detection is 300 ms, which is calculated as follows: 100 ms
x3

4.2.3 Precautions
The BFD complies with the bidirectional protocol, which must be enabled on routers.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 16


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

4.2.4 MML Examples


STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=SBFD, CARRYT=ETHPORT, PN=×,
MODE=CHECK_ON_INDEPENDENT_PORT, PEERIP=IP10;
STR IPCHK: SRN=×, SN=××, CHKN=x, CHKTYPE=SBFD, CARRYT=ETHPORT, PN=×,
MODE=CHECK_ON_INDEPENDENT_PORT, PEERIP=IP12;

4.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.

4.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.

4.3 Solution 2
Figure 4-1 Active/standby board with independent ports

RT1
RT2
IP10 IP12
ARP1 ARP2

IP 1 IP13
1
INT
IP200
RNC

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 17


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Device IP IP Address Description VLAN Description

BSC IP11 Physical IP address of the active interface


board

IP13 Physical IP address of the standby interface


board

RT2& RT1 IP10, IP12 Physical IP address of RT2 & RT1

Device Detection Mechanism Detection IP Address Detection IP Address (Peer)


(Local)

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.

Figure 4-2 Independent board with independent ports

RT1

ARP
IP10

IP1
1
INT
IP200
RNC

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 18


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Device IP IP Address Description VLAN Description

BSC IP11 Physical IP address of the active interface


board

RT1 IP10 Physical IP address of RT1

Device Detection Mechanism Detection IP Address Detection IP Address (Peer)


(Local)

BSC An ARP detection is enabled on Port IP address (IP11) Peer physical IP address (IP10)
the port of the active board.

4.3.2 Parameters
The default period of an ARP detection is 10 seconds, which is calculated as follows: 2s x 5

4.3.3 Precautions
None

4.3.4 MML Examples


STR IPCHK: SRN=x, SN=x, CHKN=x, CHKTYPE=ARP, CARRYT=ETHPORT, PN=x,
MODE=CHECK_ON_INDEPENDENT_PORT, PEERIP=IP10, ARPTIMEOUT=2,
ARPRETRY=5;
STR IPCHK: SRN=x, SN=x, CHKN=x, CHKTYPE=ARP, CARRYT=ETHPORT, PN=x,
MODE=CHECK_ON_INDEPENDENT_PORT, PEERIP=IP12, ARPTIMEOUT=2,
ARPRETRY=5;

4.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.

4.3.6 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 19


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

5 Load-Sharing LAG Networking or Static


Active/Standby LAG Networking

5.1 Configuration Solution Selection

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 20


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

Configuratio Description Advantages Disadvantage Application


n Solution Policy

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.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 21


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

5.2 Solution 1

Device IP IP Address Description VLAN Description

BSC IP11 Trunk group IP address of the interface board

RT1 IP19 Physical IP address of RT1

Device Detection Mechanism Detection IP Address (Local) Detection IP Address


(Peer)

BSC A BFD detection is enabled Port IP address (IP11) Peer physical IP address
on the port. (IP19)

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 22


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

5.2.1 Parameters
The default period of a BSC BFD detection is 300 ms, which is calculated as follows: 100 ms
x3

5.2.2 Precautions
The BFD complies with the bidirectional protocol, which must be enabled on routers.

5.2.3 MML Examples


1. Load-sharing trunk groups
STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=SBFD, CARRYT=TRUNK,
WORKMODE=LOAD_SHARING, TRUNKN=x, PEERIP=IP19;
2. Active/standby trunk groups
STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=SBFD, CARRYT=TRUNK,
WORKMODE=ACTIVE_STANDBY, TRUNKN=x, PEERIP=IP19,
WHETHERAFFECTSWAP=NO;

5.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.

5.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.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 23


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

5.3 Solution 2

Device IP IP Address Description VLAN Description

BSC IP11 Trunk group IP address of the interface board

RT1 IP19 Physical IP address of RT1

Device Detection Mechanism Detection IP Address (Local) Detection IP Address (Peer)

BSC An ARP detection is Port IP address (IP11) Peer physical IP address (IP19)
enabled on the port.

5.3.1 Parameters
The default period of an ARP detection is 10 seconds, which is calculated as follows: 2s x 5

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 24


Copyright © Huawei Technologies Co.,
Ltd.
3 Active/Standby Port or Active/Standby Manual
Guide on Enabling FBD & ARP Detections LAG+Non-VRRP Networking

5.3.2 Precautions
None

5.3.3 MML Examples


1. Load-sharing trunk groups
STR IPCHK: SRN=x, SN=xx, CHKN=x, CHKTYPE=ARP, CARRYT=TRUNK,
WORKMODE=LOAD_SHARING, TRUNKN=x, PEERIP=IP19,ARPTIMEOUT=2,
ARPRETRY=5;
2. Active/standby trunk groups
STR IPCHK: SRN=x, SN=xx, CHKN=x, MODE=
CHECK_ON_PRIMARY_TRUNKLINK,CHKTYPE=ARP, CARRYT=TRUNK,
WORKMODE=ACTIVE_STANDBY, TRUNKN=x, PEERIP=IP19,
WHETHERAFFECTSWAP=NO, ARPTIMEOUT=2, ARPRETRY=5;

5.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.

5.3.5 Rollback
1. Run the LST IPCHK command to query the detection index.
2. Run the STP IPCHK command to stop the detection.

Issue 012 (2015-11-125) Huawei Proprietary and Confidential 25


Copyright © Huawei Technologies Co.,
Ltd.

You might also like