Configuring EtherChannels
Command
switch# show port-channel database
switch# show port-channel load-balance
Verifying the Load-Balancing Outgoing Port ID
Command Guidelines
The show port-channel load-balance command allows you to verify which ports a given frame is hashed to
on a port channel. You need to specify the VLAN and the destination MAC in order to get accurate results.
Certain traffic flows are not subject to hashing, for example when there is a single port in a port-channel.
Note
To display the load-balancing outgoing port ID, perform one of the tasks listed in the table below.
Command
switch# show port-channel load-balance
forwarding-path interface port-channel
port-channel-id vlan vlan-id dst-ip src-ip dst-mac
src-mac l4-src-port port-id l4-dst-port port-id
Example
The following example shows the output of the short port-channel load-balance command.
switch#show port-channel load-balance forwarding-path interface port-channel 10 vlan 1 dst-ip
1.225.225.225 src-ip 1.1.10.10 src-mac aa:bb:cc:dd:ee:ff l4-src-port 0 l4-dst-port 1
Missing params will be substituted by 0's.Load-balance Algorithm on switch:
source-dest-portcrc8_hash: 204 Outgoing port id: Ehernet1/1 Param(s) used
to calculate load-balance:
dst-port: 1
src-port: 0
dst-ip: 1.225.225.225
src-ip: 1.1.10.10
dst-mac: 0000.0000.0000
src-mac: aabb.ccdd.eeff
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
Verifying the Load-Balancing Outgoing Port ID
Purpose
Displays information on current running of the
EtherChannel feature.
Displays information about load-balancing using
EtherChannels.
Purpose
Displays the outgoing port ID.
71