21.4.3 Configuration of the port detachment restriction function
- Points to note
-
The port detachment restriction functionality is used to enable a channel group. For the command that enables this functionality, set either 0 or 7 as the maximum number of ports that can be detached. Specifying 7 is equivalent to disabling the functionality.
If a switch is to be connected to a device that supports the port detachment restriction functionality, make sure that the settings of the functionality on both devices match. If a switch is to be connected to a device that does not support this functionality, set a higher LACP system priority level on the Switch. A smaller LACP system priority value indicates a higher priority.
The port detachment restriction functionality is available only when LACP link aggregation is used.
Command examples
-
(config)# interface port-channel 10
Switches channel group 10 to port channel interface configuration mode.
-
(config-if)# channel-group max-detach-port 0
The port detachment restriction functionality is used to enable channel group 10. Sets 0 as the maximum number of ports that can be detached from the channel group. As a result, the port detachment restriction functionality is enabled. If at least one port in the channel group becomes faulty, the entire channel group is assumed to be faulty.
-
(config-if)# channel-group lacp system-priority 100
Sets 100 as the system priority for channel group 10.