Table of ContentsLibraryView in Frames

The vif command

You can manage vifs on your storage system by using the vif command. This command enables you to create vifs, add interfaces to vifs, delete interfaces from vifs, view status and statistics of vifs, and destroy vifs.

The following table gives the vif command syntax:

Command Description

vif create [single|multi|lacp] vif_name -b [rr|mac|ip|port] [interface_list]

Create a single-mode or multimode vif

vif {favor|nofavor} interface_name

Designate a favored or nonfavored interface in a single-mode vif

vif add vif_name interface_list

Add network interfaces to a vif

vif delete vif_name interface_name

Delete a network interface from a vif

vif destroy vif_name

Destroy a vif

vif status [vif_name]

View the status of a vif

vif stat vif_name [interval]

View the statistics of data packets on the network interfaces of a vif
The following vif commands are not persistent if used from the command-line interface; however, you can put any of these commands in the /etc/rc file to make it persistent across reboots:

For more information about the vif command and all the options available with this command, see the na_vif(1) man page.