24-Port Layer 3 Switch Management Guide

C
OMMAND
L
INE
I
NTERFACE
4-138
All the ports in a trunk have to be treated as a whole when moved
from/to, added or deleted from a VLAN via the specified
port-channel.
STP, VLAN, and IGMP settings can only be made for the entire trunk
via the specified port-channel.
channel-group
Use this command to add a port to a trunk. Use the no form to remove a
port from a trunk.
Syntax
channel-group channel-id
no channel-group
channel-id - Trunk index (Range: 1-6)
Default Setting
The current port will be added to this trunk.
Command Mode
Interface Configuration (Ethernet)
Command Usage
When configuring static trunks, the switches must comply with the
Cisco EtherChannel standard.
•Use no channel-group to remove a port group from a trunk.
•Use no interfaces port-channel to remove a trunk from the switch.
Example
The following example creates trunk 1 and then adds port 11:
Console(config)#interface port-channel 1
Console(config-if)#exit
Console(config)#interface ethernet 1/11
Console(config-if)#channel-group 1
Console(config-if)#