Table of ContentsLibraryView in Frames

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 both loss of link and loss of data flow.

Before you begin

You must 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 to select as part of the vif.
  • Configure all interfaces that are to be included in the vif to the down status, by using the ifconfig command.

About this task

Data ONTAP logs information about the LACP negotiation for dynamic multimode vifs in the /vol0/etc/log/lacp_log file.

Steps

  1. Enter the following command: vif create lacp vif_name -b {rr|mac|ip|port} [interface_list]

    -b specifies the load-balancing method.

    rr specifies round-robin load balancing.

    mac specifies MAC address load balancing.

    Note: Do not select the MAC address load-balancing method when creating vifs on a storage system that connects directly to a router. In such a setup, for every outgoing IP frame, the destination MAC address is the MAC address of the router. As a result, only one interface of the vif is used.

    ip specifies IP address based load balancing (default).

    port indicates port-based load balancing.

    vif_name is the name of a previously created vif.

    interface_list is a list of the interfaces that form the vif.

  2. Enter the following command: ifconfig vif_name IP_address netmask mask

Example

To create a dynamic multimode vif, comprising interfaces e0, e1, e2, and e3 and using IP address based load balancing, enter the following command: vif create lacp MultiTrunk1 -b ip e0 e1 e2 e3

Related concepts
Dynamic multimode vif
Load balancing in multimode vifs
Related tasks
Changing the status of an interface