Link Aggregation Commands
4-139
4
Example
Link Aggregation CommandsPorts can be statically grouped into an aggregate link (i.e., trunk) to increase the
bandwidth of a network connection or to ensure fault recovery. Or you can use the
Link Aggregation Control Protocol (LACP) to automatically negotiate a trunk link
between this switch and another network device. For static trunks, the switches have
to comply with the Cisco EtherChannel standard. For dynamic trunks, the switches
have to comply with LACP. This switch supports up to six trunks. For example, a
trunk consisting of two 1000 Mbps ports can support an aggregate bandwidth of
4 Gbps when operating at full duplex.
Guidelines for Creating Trunks
General Guidelines –
• Finish configuring port trunks before you connect the corresponding network
cables between switches to avoid creating a loop.
• A trunk can have up to eight ports.
• The ports at both ends of a connection must be configured as trunk ports.
• All ports in a trunk must be configured in an identical manner, including
communication mode (i.e., speed, duplex mode and flow control), VLAN
assignments, and CoS settings.
Console(config)#interface ethernet 1/1
Console(config-if)#rate-limit input 600
Console(config-if)#
Table 4-46 Link Aggregation Commands
Command Function Mode Page
Manual Configuration Commands
interface port-channel Configures a trunk and enters interface
configuration mode for the trunk
GC 4-125
channel-group Adds a port to a trunk IC (Port Channel) 4-140
Dynamic Configuration Command
lacp Configures LACP for the current interface IC (Ethernet) 4-141
lacp system-priority Configures a port's LACP system priority IC (Ethernet) 4-142
lacp admin-key Configures a port's administration key IC (Ethernet) 4-143
lacp admin-key Configures an port channel’s administration key IC (Port Channel) 4-144
lacp port-priority Configures a port's LACP port priority IC (Ethernet) 4-144
Trunk Status Display Command
show interfaces status
port-channel
Shows trunk information NE, PE 4-133
show lacp Shows LACP information PE 4-145