Creating and configuring a VLAN involves two commands: the vlan create command and the ifconfig command.
The vlan create command creates a VLAN interface, includes that interface in one or more VLAN groups as specified by the VLAN identifier, enables VLAN tagging, and enables (optionally) GVRP on that interface.
The ifconfig command enables you to configure the VLAN interface created by the vlan command.
By default, GVRP is disabled on VLAN interfaces created using the vlan create command; however, you can enable it with the -g flag available with the command.
If you enable GVRP on an interface that is configured down, the state of the interface and all associated VLAN interfaces is automatically configured up. This state change occurs so that the interface can start sending VLAN registration frames to register its VLAN membership with the switch.
To create a VLAN on a filer, complete the following step.
Note
You must be familiar with Guidelines for setting up VLANs in Data ONTAP before proceeding with the following procedure.
You can create VLANs with identifiers 10, 20, and 30 on interface e4 of a filer using the following command:
vlan create e4 10 20 30
As a result, VLAN interfaces e4-10, e4-20, and e4-30 are created. The ifconfig command output displays e4 as a VLAN interface as follows:
e2: flags=80008042<BROADCAST,RUNNING,MULTICAST,VLAN> mtu 1500
Using the ifconfig command, you can configure all the parameters for a VLAN interface that you can for a physical interface. The parameters you can configure are
For detailed information about the ifconfig command, see Chapter 1, Network Interface Configuration.
To configure the IP address and network mask for a VLAN interface, complete the following step.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00321
File: vlans5.htm
Last updated: 01/20/03 14:17:00