High availability 87Monitoring Uplink Failure DetectionThe UFD information menu displays the current status of the LtM and LtD, and their member ports or trunks. Forexample:>> Information# ufdUplink Failure Detection 1: EnabledLtM status: DownMember STG STG State Link Status--------- --- ------------ -----------port 24 down1 DISABLED10 DISABLED *15 DISABLED ** = STP turned off for this port.LtD status: Auto DisabledMember Link Status--------- -----------port 1 disabledport 2 disabledport 3 disabledport 4 disabledUplink Failure Detection 2: DisabledUplink Failure Detection 3: DisabledUplink Failure Detection 4: DisabledUse the /stats/ufd command to find out how many times link failure was detected on the LtM, how many timesSpanning Tree blocking state was detected on the LtM, and how many times UFD disabled ports in the LtD.Configuring Uplink Failure DetectionThe preceding figure shows a basic UFD configuration. Port 21 on Blade Switch 1 is connected to a Layer 2/3routing switch outside of the chassis. Port 20 and port 22 on Blade Switch 2 form a trunk that is connected to adifferent Layer 2/3 routing switch. The interconnect ports (17-18) are disabled.In this example, the port 1 of a NIC is the primary network adapter, the port 2 of the NIC is a non-primary adapter.The port 1 of the NIC on the CPU blade server 1 and the CPU blade server 2 are connected to port 1 and port 2 onthe Switch 1. The port 2 of the NIC on the CPU blade server 1 and the CPU blade server 2 are connected to port 1and port 2 on the Switch 2.Configuring UFD on Switch 1 (AOS CLI example)1. Assign uplink ports (20-24) to be monitored for communication failure.>> Main# /cfg/ufd/fdp 1/ena (Enable Failure Detection Pair 1)>> FDP# ltm (Select Link to Monitor menu)>> Failure Link to Monitor# addport 21 (Monitor uplink port 21)2. Assign downlink ports (1-16) to disable when an uplink failure occurs.>> /cfg/ufd/fdp 1/ltd (Select Link to Disable menu)>> Failure Link to Disable# addport 1 (Add port 1 as a Link to Disable)>> Failure Link to Disable# addport 2 (Add port 2 as a Link to Disable)3. Turn UFD on.>> /cfg/ufd/on (Turn Uplink Failure Detection on)>> Uplink Failure Detection# apply (Make your changes active)>> Uplink Failure Detection# save (Save for restore after reboot)When a link failure or Spanning Tree blocking occurs on port 21, Switch 1 disables port 1 and port 2.