hashing-mode
Use the hashing-mode command to set the hashing algorithm on trunk ports.
Use the no hashing-mode command to set the hashing algorithm on Trunk
ports to the default (3).
Syntax
hashing-mode
mode — Mode value in the range of 1 to 7.
•
Range: 1–7:
•
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 source/destination TCP/UDP port
•
7 — Enhanced hashing mode
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (port-channel)
User Guidelines
No specific guidelines.
Example
console(config)#interface port-channel l
console(config-if-po1)#hashing-mode 4
console(config-if-po1)#no hashing mode
580
Port Channel Commands
mode