--- title: "Set two port link threshold" slug: "set-two-port-link-threshold" tags: ["Hardware", "IPS 11.1.x"] updated: 2026-09-17T07:33:43Z published: 2026-09-17T07:33:43Z canonical: "docs.trellix.com/set-two-port-link-threshold" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Set two port link threshold When a link failure occurs on **Net0** or **Net1**, its peer port (**Net1** or **Net0**, respectively) is brought down automatically, if the set threshold time is exceeded. For example, if a threshold of 5 seconds is set and a link failure occurs on **Net0**, **Net1** is brought down automatically when the failure lasts for more than 5 seconds. > [!NOTE] > Note > > if the port recovers before the set threshold time, its peer port is not brought down. Refer to the following steps to set the two port link threshold: **Steps:** 1. Open an **ssh** session to login to the 100G Active Fail-Open. 2. At the login prompt, enter the default username `Trellix00` and password `Trellix00`. 3. Type the following: 1. `IS100G_AFO> enable` 2. `IS100G_AFO# configure` 3. `IS100G_AFO(config)# afo segment <1.1/2.1> port two-ports-link-threshold <4-25 sec>` 4. `IS100G_AFO(config)# write memory` > [!NOTE] > Note > > The default threshold value is 4 sec. 4. To view the AFO configurations, execute the following command: `show afo configured` **Sample Output:** `IS100G_AFO(config)# show afo configured` `Segment 1.1 Configuration:` `ActiveOpMode : inline` `HbModeActive : on` `HbActiveRestore : on` `HbInterval(ms) : 3` `HbHoldTimer(ms) : 10` `HbRecoverTimer(ms) : 0` `HbActiveExpOpMode : bypass` `DevPowerOffBypass : on` `TwoPortLink : off` `TwoPortLinkThreshold(sec) : 4` `LinkSpeed : 100G` `DefaultVLAN : 1`