Enabling trunk load balancing
Enter the following command to enable load balancing.
Syntax:
trunk-load-balance L3-based | [L4-based >]
This option enables load balancing based on port layer information. The configuration is executed in global configuration context and applies to the entire switch.
Default: L3-based load balancing
L2-based: | Load balance based on Layer 2 information. |
L3-based: | Load balance based on Layer 3 information if present, or Layer 2 information. |
L4-based: | Load balance on Layer 4 port information if present, or Layer 3 if present, or Layer 2. |
Enabling L4-based trunk load balancing
switch(config)# trunk-load-balance L4 based
Output when L4-based trunk load balancing is enabled
Switch(config)# show trunk Load Balancing Method: L4-based Port | Name Type | Group Type ---- + ----------------------------- --------- + ------ ------- 41 100/1000T Trk1 Trunk 42 100/1000T Trk1 Trunk
Note in Running config file when L4-based trunk load balancing is enabled that in if L4 trunk load balancing is enabled, a line appears in the running-config file. If it is not enabled, nothing appears as this is the default and the default values are not displayed.
Running config file when L4-based trunk load balancing is enabled
switch(config)# show running-config Running configuration ; J9091A Configuration Editor; Created on release #XX.15.02.0001x hostname "Switch" module 1 type J8702A module 5 type J9051A module 7 type J8705A module 10 type J8708A module 12 type J8702A trunk-load-balance L4-based vlan 1 name "DEFAULT_VLAN" untagged A1-A24, G1-G24, J1-J4, L1-L24 ip address dhcp-bootp tagged EUP no untagged EDP exit snmp-server community "public" unrestricted