Troubleshoot a BgpPeeringTor Health Alert v2.2 New
Troubleshoot a BgpPeeringTor Health Alert v2.2 New
Use this playbook when a managed host or DPU reports BgpPeeringTor. The alert
can identify an unavailable top-of-rack (ToR) uplink or an established session
that did not negotiate the required IPv6 unicast address family.
Symptoms and Impact
- HBN reports
p0_iforp1_ifasIdleorActiveinstead of established, or reports that IPv6 unicast was not negotiated on an established session. ethtoolreports that the affected link is not detected.ip linkreportsNO-CARRIERandstate DOWN.- Optical diagnostics report no transmit or receive power.
An unavailable session prevents the DPU from peering with the ToR switch over
the affected link. A primary p0 failure can block normal PXE provisioning
even when p1 remains established. An address-family warning does not show
that the physical link or transport session failed.
For the health-policy behavior, refer to
Waiting for Network Configuration and DPU Health.
Access the DPU OS directly or through its BMC serial console. Most diagnostic commands require root privileges.
Check BGP State
Run show bgp summary in the doca-hbn container:
An affected interface remains in Idle or Active, often with never in the
Up/Down column:
A healthy interface has nonzero message counters and uptime. Depending on the
FRR output format, an established session displays a received-prefix count in
State/PfxRcd rather than the word Established.
Interpret the Alert
Read the complete alert message before applying physical remediation:
- If the session is established but the message says that IPv6 unicast was not negotiated, treat the alert as an address-family configuration warning. Inspect the IPv6 unicast summary and the HBN and ToR address-family configuration. Do not reseat or replace a cable unless the physical-link checks independently show a failure.
- If the expected session is missing or not established, continue with the physical-link checks for the interface named by the alert.
The number of ToR sessions required for general health comes from
min_dpu_functioning_links. When the field is unset, its effective default is
2, which requires both sessions for a clean report. A value of 1 allows
either established session to satisfy that minimum, but p0 remains separately
required for normal PXE. Do not require both p0 and p1 unless the configured
or effective minimum is 2.
Check the Physical Links
Set <interface> to the p0 or p1 interface named by the alert, and check
only the affected link unless another alert identifies the other link.
-
Check link detection:
-
Check carrier state:
NO-CARRIERandstate DOWNindicate a physical-link failure. -
Inspect optical power and module temperature on each affected interface:
Near-zero transmit and receive power with a normal module temperature points to an unplugged, loose, or failed active optical cable.
Restore the Link
- Ask the data center operator to reseat the affected cable.
- Replace the cable if reseating it does not restore carrier.
- Identify both the logical interface and physical port in the request. DPU
physical ports 1 and 2 correspond to
p0andp1, respectively. - If the DPU reports carrier but BGP remains down, have the networking team verify that the corresponding ToR port is enabled and correctly configured.
- Consider DPU replacement only after the cable and ToR port have been ruled out.
Verify Recovery
-
Confirm that
ethtoolreportsLink detected: yesandip linkreportsstate UPwithoutNO-CARRIER. -
Run the HBN BGP summary again. Confirm that the number of established ToR sessions satisfies
min_dpu_functioning_links. For normal PXE, also confirm thatp0is established. If the alert was an address-family warning, confirm that IPv6 unicast is now negotiated on the affected session. -
Confirm that the
BgpPeeringToralert clears from the NICo health report:
For additional probe variants and configuration checks, refer to DPU ToR Uplink Health.