You can improve throughput by creating a dynamic multimode vif. With a dynamic multimode vif, all interfaces in the vif are active and
share a single MAC address. This logical aggregation of interfaces
provides higher throughput than a single-mode vif.
Dynamic multimode vifs can detect not only the loss of link status (as do static mulitmode vifs),
but also a loss of data flow.
Before You Begin
You need to meet the following prerequisites to create a
multimode vif:
-
Identify or install a switch that supports LACP
over multiple port connections in your network, configured
according to your switch vendor's instructions.
- Decide on a case-sensitive name for the vif that meets the
following criteria:
- It must begin with a letter.
- It must not contain a space.
- It must not contain more than 15 characters.
- It must not already be in use for a vif.
- Decide on the interfaces you want the vif to consist of.
- Configure all interfaces that will be included in the vif to be
down using the ifconfig command.
Steps
- Enter the following command:
vif create lacp vif_name -b ip
[interface_list]
-b specifies the load balanciing method.
ip specifies IP-address based (default)
vif_name
is the name of the vif.
interface_list
is a
list of the interfaces that make up the vif.
- Enter the following command:
ifconfig vif_name IP_address netmask mask
Example
You can create a dynamic multimode vif, comprising interfaces e0, e1, e2,
and e3 and using IP-based load balancing, with the following
command:
vif create lacp MultiTrunk1 -b ip e0 e1 e2 e3