Adds or removes a Link Aggregation Group (LAG) or port-channel from the ingress or egress group.
Config mode
This command is available only to users with admin role.
The packets are load balanced on member port-channel ports when a port-channel is added as part of the egress-group.
The no interface port-channel channel-number command deletes the LAG group.
The following example configures the link aggregation group.
device# configure terminal device(config)# interface port-channel 1 device(config-if-po-1)# no shutdown Show running: device# show running-configuration interface port-channel 1 device(config)# no interface port-channel 1 Error: first delete member ports from port-channel 1
The following example adds a port-channel to the specified ingress-group.
device# configure terminal device(config)# ingress-group ingress1 device(config-ingress-group)# interface port-channel 2
The following example adds a port-channel to the specified egress-group.
device# configure terminal device(config)# egress-group egress1 device(config-egress-group)# interface port-channel 2