02-19-2015 06:25 PM
Hi, all
I do not understand description of port-channel load-balance ethernet command.
switch(config)# port-channel load-balance ethernet ?
destination-ip Destination IP address
destination-mac Destination MAC address
destination-port Destination TCP/UDP port
source-dest-ip Source & Destination IP address (includes l2)
source-dest-ip-only Source & Destination IP addresses only
source-dest-mac Source & Destination MAC address
source-dest-port Source & Destination TCP/UDP port (includes l2 and l3)
source-dest-port-only Source & Destination TCP/UDP port only
source-ip Source IP address
source-mac Source MAC address
source-port Source TCP/UDP port
Please tell me what the following descriptions mean.
Source & Destination IP address (includes l2)
Source & Destination TCP/UDP port (includes l2 and l3)
What are the meaning of "includes l2" and "includes l2 and l3" ?
Thank you for your cooperation in advance.
Solved! Go to Solution.
02-20-2015 08:24 PM
Hi Satoru,
Source & Destination IP address (includes l2)
It means that hash will include L2/L3 information, if available.
Source & Destination TCP/UDP port (includes l2 and l3)
The same way, basically means that hash algorithm will include all L2/L3/L4 information, if available.
Otherwise, if you choose the option: source-dest-port-only Source & Destination TCP/UDP port only
It means the etherchannel hash will include only the L4 information in the hash algorithm to balance the traffic among the interfaces.
Regards,
Richard
02-25-2015 06:40 AM
Hi Satoru,
On the Nexus 5000/6000 platforms, all FEXs will inherit the global hashing algorithm from the parent device.
On the Nexus 7000 platform, hashing algorithms can be assigned on a per FEX basis (all load balancing changes must be made from the Admin VDC):
N7K-A(config)# port-channel load-balance src-dst ip-l4port fex 134
Any FEX without a hashing algorithm configured with inherit the global hash. Making changes to the modular/global hash will not alter FEX specific hashing algorithms.
To verify the configuration applied you can use this command:
N5K_A# show port-channel load-balance
On the Nexus 7000, the per FEX algorithm can be checked by appending the ‘fex <#>’ to the end of the command in the Admin VDC or the FEX’s respective VDC:
N7K-A(config)# show port-channel load-balance fex 134
Regards,
Richard
02-20-2015 08:24 PM
Hi Satoru,
Source & Destination IP address (includes l2)
It means that hash will include L2/L3 information, if available.
Source & Destination TCP/UDP port (includes l2 and l3)
The same way, basically means that hash algorithm will include all L2/L3/L4 information, if available.
Otherwise, if you choose the option: source-dest-port-only Source & Destination TCP/UDP port only
It means the etherchannel hash will include only the L4 information in the hash algorithm to balance the traffic among the interfaces.
Regards,
Richard
02-23-2015 05:21 PM
Hello richbarb,
Thank you for posting the comment.
Does that mean that L2 information is MAC address? Similarly, does L3 information mean IP address?
Kind regards,
Satoru
02-24-2015 08:04 AM
Hi Satoru,
That's it.
Richard
02-25-2015 01:22 AM
Hi richbarb,
Please let me ask one more question.
Does this configuration also work the port-channel interface operating in FEX-fabric mode?
Kind regards,
Satoru
02-25-2015 06:40 AM
Hi Satoru,
On the Nexus 5000/6000 platforms, all FEXs will inherit the global hashing algorithm from the parent device.
On the Nexus 7000 platform, hashing algorithms can be assigned on a per FEX basis (all load balancing changes must be made from the Admin VDC):
N7K-A(config)# port-channel load-balance src-dst ip-l4port fex 134
Any FEX without a hashing algorithm configured with inherit the global hash. Making changes to the modular/global hash will not alter FEX specific hashing algorithms.
To verify the configuration applied you can use this command:
N5K_A# show port-channel load-balance
On the Nexus 7000, the per FEX algorithm can be checked by appending the ‘fex <#>’ to the end of the command in the Admin VDC or the FEX’s respective VDC:
N7K-A(config)# show port-channel load-balance fex 134
Regards,
Richard
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: