trunk-threshold
The trunk threshold is set to 1.
LAG configuration mode
When a LAG is shut down because the number of ports drops below the configured threshold, the LAG is kept intact and it is re-enabled if enough ports become active to reach the threshold.
The
trunk-threshold command should be configured only at one end of the LAG. If it is set on both ends,
link failures will result in race conditions and the LAG not function properly. Use
a short LACP timeout when setting the
trunk-threshold value equal to the number of links in the LAG or connecting to third-party devices.
The
no form of the command removes the
trunk-threshold configuration.
The following example shows how to establish a LAG group consisting of four ports, and then establish a threshold for this LAG group of three ports. If the number of active ports drops below three, then all the ports in the LAG group are disabled.
device# configure terminal device(config)# lag blue static device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4 device(config-lag-blue)# trunk-threshold 3