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

Creating a single-mode vif

About creating a single-mode vif  Top

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  Top

You need the following information to create a single-mode vif:

Creating a single-mode vif  Top

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

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