Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Displaying the status of a vif

Displaying vif status  Top

You can display the current status of a specified vif or all single-mode and multi-mode vifs on a filer.

To display the status of a vif, complete the following step.

Step

Action

1

Enter the following command:

vif status [vif_name]

vif_name is the name of the vif whose status you want to display.

If you don't specify the vif name, the status of all vifs is displayed.

Example of displaying vif status  Top

The following example displays the status of vif1 on a filer called toaster:

toaster> vif status vif1
default: transmit 'IP Load balancing', VIF Type 'multi_mode', fail 
'log'
vif1: 1 link, transmit 'none', VIF Type 'single_mode' fail 
'default'

 
VIF Status     Up      Addr_set 
        up:
        e10: state up, since 05Oct2001 17:17:15 (05:23:05)
                mediatype: auto-1000t-fd-up
                flags: enabled
                input packets 20, input bytes 1280
                output packets 2, output bytes 84
                up indications 1, broken indications 0
                drops (if) 0, drops (link) 0
                indication: up at boot
                        consecutive 3, transitions 1
        down:
        e5: state down, since 05Oct2001 17:17:03 (05:22:00)
                mediatype: auto-unknown-cfg_down
                flags: disabled
                input packets 0, input bytes 0
                output packets 0, output bytes 0
                up indications 0, broken indications 0
                drops (if) 0, drops (link) 0
                indication: down at boot
                        consecutive 4, transitions 0

The following table describes the console output.

Field Name

Sub-field Name

Description

Value

default

Indicates the default values for fields such as transmit, VIF Type, and fail. These values apply if no values are specified for these fields when a vif is created.

transmit

Indicates the default load-balancing method.

IP Load balancing

VIF Type

Indicates the default vif type.

multi_mode

fail

Indicates the default location where the errors will be logged.

log (that is, system log)

vif1

Indicates that the data following this field pertains to the vif vif1.

transmit

Indicates the load- balancing method used.

none (load- balancing methods are used for multi-mode vifs only)

VIF type

Indicates the type of vif1.

single_mode

fail

Indicates the location where errors will be logged for vif1.

default (system log)

VIF Status

Indicates the current status of vif1.

Up

Addr_set

Indicates that a MAC address has been configured for vif1 and all of its interfaces.

up

Indicates that the interface following this sub-field is up. In this example, because vif1 is a single-mode vif, e10 is up while e5 is down.

state

Indicates the current link-state of the interface.

up

since

Indicates the date, time, and number of hours since the interface has been up.

05Oct2001 17:17:15 (05:23:05)

flags

Indicates that the interface is enabled to send and receive data (enabled).

enabled

consecutive

Indicates the number of consecutively received Up or Broken indications from the switch and link interaction.

3

transitions

Indicates the number of indications received that caused a state transition from Up to Broken or Down to Up.

1

down

Indicates that the interface following this sub-field is down. In this example, e5 is the standby interface for the single-mode vif, vif1.

For more information about the vif status command, see the NetApp vif(1) man page.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments