C
REATING
T
RUNK
G
ROUPS
9-11
CLI – This example creates trunk 1 with ports 9 and 10. Just connect
these ports to two static trunk ports on another switch to form a trunk.
Enabling LACP on Selected Ports
Command Usage
To avoid creating a loop in the network,
be sure you enable LACP before
connecting the ports, and also
disconnect the ports before disabling
LACP.
If the target switch has also enabled
LACP on the connected ports, the trunk
will be activated automatically.
Console(config)#interface port-channel 1 25-2
Console(config-if)#exit
Console(config)#interface ethernet 1/9 25-2
Console(config-if)#channel-group 1 26-3
Console(config-if)#exit
Console(config)#interface ethernet 1/10
Console(config-if)#channel-group 1
Console(config-if)#end
Console#show interfaces status port-channel 1 25-13
Information of Trunk 1
Basic information:
Port type: 100TX
Mac address: 00-30-F1-D4-73-A2
Configuration:
Name:
Port admin: Up
Speed-duplex: 100full
Capabilities: 100full
Flow control: Disabled
Port security: Disabled
Max MAC count: 0
Current status:
Created by: User
Link status: Up
Port operation status: Up
Operation speed-duplex: 100full
Flow control type: None
Member Ports: Eth1/9, Eth1/10,
Console#