Table of ContentsLibraryView in Frames

Creating a single-mode vif

You can create a single-mode vif in which only one interface is active at a time and the others are ready to take over if the active interface fails. A single-mode vif increases the redundancy for providing more availability.

Before you begin

Steps

  1. Configure all interfaces that are to be included in the vif to the down status by entering the following command: ifconfig interface_list down

    interface_list is a list of the interfaces you want as part of the vif.

    Example

    ifconfig e0a e0b down

  2. To create a vif, enter the following command: vif create single vif_name [interface_list]

    vif_name is the name of the vif.

    interface_list is a list of the interfaces you want as part of the vif.

    Note: The operation performed using the vif create command is not persistent across reboots unless you add the command to the /etc/rc file.

  3. To configure the vif, enter the following command: ifconfig vif_name IP_address

    vif_name is the name of the vif.

    IP_address is the IP address for this interface.

    Note: If you have enabled IPv6 on your storage system, you can create a vif and then configure the vif to the up status. After this, the vif has two IPv6 addresses automatically configured on it. Therefore, you need not manually configure the IP address for a vif.

Example: Creating a single-mode vif with an IPv4 address

  1. To create a single-mode vif, enter the following command: vif create single SingleTrunk1 e0 e1
  2. To configure an IP address of 192.0.2.4 and a netmask of 255.255.255.0 on the single-mode vif SingleTrunk1, enter the following command: ifconfig SingleTrunk1 192.0.2.4 netmask 255.255.255.0
  1. To create a single-mode vif, enter the following command: vif create single SingleTrunk1 e0 e1
  2. Configure the vif by using one of the following methods:
    • To automatically configure the vif, configure the interface to the up status by entering the following command: ifconfig SingleTrunk1 up
      The vif now has two automatically configured addresses, as shown below:
      system1> ifconfig SingleTrunk1
      SingleTrunk1: flags=0x20608862<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
      inet6 2001:0db8:a0:98ff:fe08:618a prefixlen 64 scopeid 0x9 autoconf
      inet6 2001:0db8:a0:98ff:fe08:618a prefixlen 64 autoconf
      ether 02:a0:98:08:61:8a (Enabled virtual interface)
    • To manually configure an IPv6 address of 2001:0db8:85a3:0:0:8a2e:0370:99 for the vif, enter the following command: ifconfig SingleTrunk1 2001:0db8:85a3:0:0:8a2e:0370:99
Related concepts
Single-mode vif
Related tasks
Changing the status of an interface