interface port-channel

Creates a port-channel or changes the configuration mode to an already created port-channel or a range of port-channels.

Syntax

interface port-channel PORANGE
no interface port-channel PORANGE

Parameters

PORANGE
Specifies the channel number or range of multiple channel numbers. The valid range is 1 through 255.

Modes

Config mode

Usage Guidelines

This command is available only to users with the admin role.

The packets are load balanced on member port-channel ports when a port-channel is added as part of the egress.

The no interface port-channel PORANGE command deletes the LAG group.

Examples

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