Creating a single-mode vif
About creating a single-mode vif
This procedure enables you to create a vif in which only one interface is active at a time and the others are ready to take over in case the active interface fails. If you want a specific interface in a vif to be active, you need to specify that interface as preferred. For more information, see Changing an active interface in a single-mode vif.
Prerequisites
You need the following information to create a single-mode vif:
- A case-sensitive name for the vif that meets the following criteria:
- It must begin with a letter.
- It must not contain any spaces.
- It must not contain more than 15 characters.
- It must not already be in use for a vif.
- A list of the interfaces you want to combine into the vif.
Creating a single-mode vif
To create a vif in which only one interface is active at a time, complete the following steps.
Note
The operation performed using the vif create command is not persistent across reboots unless the command is added to the /etc/rc file.
Step
|
Action
|
|
1 |
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 the vif to consist of.
Note You must ensure that all interfaces to be included in the vif are configured down. You can use the ifconfig command to configure an interface down. Example
You can create a single-mode vif with the following command:
vif create single SingleTrunk1 e0 e1
|
|
2 |
Enter the following command to configure an address on the vif:
ifconfig vif_name address
vif_name is the name of the vif.
address is the IP address for this interface.
Example
You can configure an IP address of 10.120.5.74 and a netmask of 255.255.255.0 on the single-mode vif SingleTrunk1, created in the previous step, with the following command:
ifconfig SingleTrunk1 10.120.5.74 netmask 255.255.255.0
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00474
File: vifs5.htm
Last updated: 11/17/03 15:56:28