Uplink failure detection

Uplink Failure Detection (UFD) is a network path redundancy feature that works in conjunction with NIC teaming functionality. UFD continuously monitors the link state of the ports configured as links-to-monitor (LtM), and when these ports lose link with their partners, UFD will disable the set of ports configured as links-to-disable (LtD.) When an uplink port goes down, UFD enables the switch to auto-disable the specific downlinks connected to the NICs. This allows the NIC teaming software to detect link failure on the primary NIC port and fail over to the secondary NIC in the team.

NIC teams must be configured for switch redundancy when used with UFD, that is, the team spans ports on both Switch A and Switch B. The switch automatically enables the downlink ports when the uplink returns to service. For an example of teamed NICs in conjunction with UFD, see Teamed NICs in conjunction with UFD.) For an example of teamed NICs with a failed uplink, see Teamed NICs with a failed uplink.


[NOTE: ]

NOTE: For UFD functionality to work as expected, the NIC teaming must be in Network Fault Tolerance (NFT) mode.


Teamed NICs in conjunction with UFD

Teamed NICs in conjunction with UFD

Teamed NICs with a failed uplink

Teamed NICs with a failed uplink

Configuration Guidelines for UFD

Below is a list of configuration guidelines to be followed for UFD. These are applicable only to blade switches where there is a clear distinction between downlink and uplink ports.

  1. UFD is required only when uplink-path redundancy is not available on the blade switches.

  2. An LtM can be either one or more uplink ports or one or more multi-link trunk group of uplink ports.

  3. Ports that are already members of a trunk group are not allowed to be assigned to an LtM or LtD.

  4. A trunk group configured as an LtM can contain multiple uplink ports, but no downlink ports or ISL (Inter-Switch-Link) ports.

  5. A port cannot be added to a trunk group if it already belongs to an LtM or LtD.

  6. An LtD can contain one or more ports, and/or one or more trunks

  7. A trunk group configured as an LtD can contain multiple downlink ports, but no uplink ports or ISL (Inter-Switch-Link) ports.

A common API will be provided for higher layers, like CLI and SNMP, which will determine if a port-list can be an LtM or LtD. The API will handle the platform specific details and ensure a uniform code flow for blade and other switch families.


[NOTE: ]

NOTE: ProCurve and TOR switches do not have a clear distinction between uplink and downlink ports so some of the points listed above may not be applicable.


UFD enable/disable

Syntax

uplink-failure-detection

Used to globally enable UFD. The [no] option globally disables UFD.

UFD track data configuration

syntax

uplink-failure-detection-track track-id links-to-monitor port-list links-to-disable port-list

Used to configure ports given as LtM and ports given as LtD for track-id. This command will also accept trunk interfaces.

Options

[no]ufd track-id track-id

From within track-id context:

[no]links-to-monitor port-list

[no]links-to-disable port-list

uplink-failure-detection-track

ProCurve 6120XG Blade Switch(config)# uplink-failure-detection-track 10 links-to-monitor 18,19,20 links-to-disable 1,2,3

The above command is used to configure ports 18,19,20 as LtM and ports 1,2,3 as LtD for track-id 10.

ProCurve 6120XG Blade Switch(config)# no uplink-failure-detection-track 10

This command will remove any track data associated with track-id 10.

ProCurve 6120XG Blade Switch(config)# no uplink-failure-detection-track 10 links-to-monitor 18 links-to-disable 1

This command will remove port 18 as LtM and port 1 as LtD from track-id 10. This command can be issued from track-id context as well.

UFD enable/disable

Syntax

uplink-failure-detection

Used to globally enable UFD. The [no] option globally disables UFD.

UFD track data configuration

syntax

uplink-failure-detection-track track-id links-to-monitor port-list links-to-disable port-list

The above command is used to configure ports given as LtM and ports given as LtD for track-id. This command will accept trunk interfaces as well.

Options

[no]ufd track-id track-id

From within track-id context:

[no]links-to-monitor port-list

[no]links-to-disable port-list

uplink-failure-detection-track

ProCurve 6120XG Blade Switch(config)# uplink-failure-detection-track 10 links-to-monitor 18,19,20 links-to-disable 1,2,3

The above command is used to configure ports 18,19,20 as LtM and ports 1,2,3 as LtD for track-id 10.

ProCurve 6120XG Blade Switch(config)# no uplink-failure-detection-track 10

This command will remove any track data associated with track-id 10.

ProCurve 6120XG Blade Switch(config)# no uplink-failure-detection-track 10 links-to-monitor 18 links-to-disable 1

This command will remove port 18 as LtM and port 1 as LtD from track-id 10. This command can be issued from track-id context as well.

UFD minimum uplink threshold configuration

Syntax

uplink-failure-detection-track track-id minimum-uplink-threshold treshold value

Configures the minimum uplink threshold value to a number which is the same as the number of LtM ports that must fail to trigger the disabling of LtD ports. This number of LtM ports must be up to enable the LtD ports if in disable state.

failure-count

Specify the number of monitored links that must fail before disabling links-to-disable ports.

all

Set the failure-count equal to the number of links-to-monitor ports configured. Default is all.

<NUMBER>

The number of ports to be set as links-to-monitor ports failure count.

Options

Inside a track-id context:

monitor-threshold treshold value | all

show uplink-failure-detection

Syntax

show uplink-failure-detection

ProCurve 6120G/XG Blade Switch(config)# show uplink-failure-detection

Uplink Failure Detection Information
UFD Enabled   : Yes
Track | Monitored    Links to     LtM    LtD            LtM      LtD
ID    | Links        Disable      State  State          Lacp Key Lacp Key
----- + ------------ ------------ ------ -------------- -------- --------
1     | Dyn1         Dyn2         Up     Up             100      200
2     |                           Down   Auto-Disabled  300      400
3     | 1            D3           Up     Up
10    | 2,3          D4,D5        Down   Auto-Disabled
11    | Trk1         D6           Up     Up

UFD operating notes

  • A port cannot be added to a trunk group if it already belongs to an LtM or LtD.

  • Ports that are already members of a trunk group cannot be assigned to an LtM or LtD.

  • Trunks that are configured as LtM or LtD cannot be deleted.

Configuring ports as LtM and LtD for track 3

(HP_Switch_name#) uplink-failure-detection track 3 links-to-monitor 5,6,7
links-to-disable 8,9,10

Removing a LtM port and an LtD port for track 3

(HP_Switch_name#) no uplink-failure-detection track 3 links-to-monitor 5
links-to-disable 8

Error log

UFD will log messages in the following scenarios

  • Admin status change.

  • When an LtM looses link to its partner and as a result number of LtM ports down becomes equal or greater then the LtM failure count,UFD will disable the LtD.

  • When an LtM returns to service and as a result the number of LtM ports down becomes lesser than the LtM failure count, UFD auto-enables the LtD.

Invalid port error messages

  • When a user specifies an invalid LtM port, a message similar to the following is displayed.Invalid port(s) specified as links-to-monitor.

  • When a user specifies an invalid LtD port, a message similar to the following is displayed.Invalid port(s) specified as links-to-disable.

  • When user specifies an invalid threshold value an error message similar to the following is displayed.
    Invalid threshold value.

  • When user tries to configure threshold value greater then number of LtM ports configuredan error message similar to the following is displayed.
    Invalid port(s) specified as links-to-disable.

  • When a user specifies an invalid LtD port an error message similar to the following is displayed.
    Invalid port(s) specified as links-to-disable.