Reference Guide
show vlan
Assigning an IP Address to a Port Channel
You can assign an IP address to a port channel and use port channels in Layer 3 routing protocols.
To assign an IP address, use the following command.
• Configure an IP address and mask on the interface.
INTERFACE mode
ip address ip-address mask [secondary]
– ip-address mask: enter an address in dotted-decimal format (A.B.C.D). The mask must be in slash
format (/24).
– secondary: the IP address is the interface’s backup IP address. You can configure up to eight secondary
IP addresses.
Deleting or Disabling a Port Channel
To delete or disable a port channel, use the following commands.
• Delete a port channel.
CONFIGURATION mode
no interface portchannel channel-number
• Disable a port channel.
shutdown
When you disable a port channel, all interfaces within the port channel are operationally down also.
Load Balancing Through Port Channels
FTOS uses hash algorithms for distributing traffic evenly over channel members in a port channel (LAG).
The hash algorithm distributes traffic among electronic commerce messaging protocol (ECMP) paths and LAG members.
The distribution is based on a flow, except for packet-based hashing. A flow is identified by the hash and is assigned to
one link. In packet-based hashing, a single flow can be distributed on the LAG and uses one link.
Packet based hashing is used to load balance traffic across a port-channel based on the IP Identifier field within the
packet. Load balancing uses source and destination packet information to get the greatest advantage of resources by
distributing traffic over multiple paths when transferring data to a destination.
FTOS allows you to modify the hashing algorithms used for flows and for fragments. The load-balance and hash-
algorithm commands are available for modifying the distribution algorithms.
NOTE: Hash-based load-balancing on multi-protocol label switching (MPLS) does not work when you enable
packet-based hashing (load-balance ip-selection packet-based).
Load-Balancing on the S4820T
For LAG hashing on the S4820T, the source IP, destination IP, source transmission control protocol (TCP)/user datagram
protocol (UDP) port, and destination TCP/UDP port are used for hash computation by default. For packets without a
Layer 3 header, FTOS automatically uses
load-balance mac source-dest-mac.
Do not configure IP hashing or MAC hashing at the same time. If you configure an IP and MAC hashing scheme at the
same time, the MAC hashing scheme takes precedence over the IP hashing scheme.
374










