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-channelPORANGE 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 device# configure terminal device(config)# interface port-channel 1-3,5,7-9 device(config-if-po-1-3,5,7-9)# no shutdown
Error | Description |
---|---|
Error: port-channel wrong format or range. Valid range is 1-255 |
The port-channel entry is out-of-range or
in the wrong format, the system displays:
9920(config)# interface port-channel 256 |
Error: Port-channel range too long, max 255 char supported |
The port-channel entry is too long. |
Error: first delete member ports from port-channel 1 |
The system requires that a member port be deleted. |