This command enables link trap notifications for the port-channel (LAG). The interface is a logical unit/slot/portfor a configured port-channel. The option all sets every configured port-channel with the same administrative mode setting.
Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag- intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
| Default | Enabled |
| Format | port-channel linktrap {logical unit/slot/port | all} |
| Mode | Global Config |