Configuring Link Aggregation 927

Configuring LACP Parameters

Beginning in Privileged EXEC mode, use the following commands to configure system and per-port LACP parameters.
hashing-mode

mode

Set the hashing algorithm on the LAG.
The

mode

value is a number from 1 to 7. The numbers
correspond to the following algorithms:
• 1 — Source MAC, VLAN, EtherType, source module, and
port ID
• 2 — Destination MAC, VLAN, EtherType, source
module, and port ID
• 3 — Source IP and source TCP/UDP port
• 4 — Destination IP and destination TCP/UDP port
• 5 — Source/destination MAC, VLAN, EtherType, and
source MODID/port
• 6 — Source/destination IP and sour ce/destination
TCP/UDP port
• 7 — Enhanced hashing mode
CTRL + Z Exit to Privileged EXEC mode.
show interfaces port-
channel [

port-channel

number
]
View LAG information for the specified LAG or for all
LAGs.
show statistics port-
channel

port-channel-

number
View interface statistics for the specified LAG.
Command Purpose
configure Enter global configuration mode.
lacp system-priority
value
Set the Link Aggregation Control Protocol priority for the
switch. the priority value range is 1–65535.
Command Purpose