XG700 User's Guide
145/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.11.2 vlan
Function
Creates a VLAN. Also, it can name the VLAN to allow its easy identification.
Up to 128 VLANs can be created.
Use the no form to delete the VLAN.
Prompt
xg(config)#
Command syntax
vlan <1-4094> [ name VLAN_NAME ]
no vlan <2-4094>
Parameter
vlan <1-4094>
Specifies an ID of the VLAN to be created. The VLAN ID (or VID) can be an integer of 1 to 4094.
You cannot delete the default VLAN (having VID value 1 and name “default”).
name VLAN_NAME
Names the VLAN using ASCII characters. The name can be up to 15 alphanumeric characters.
The default VLAN name is “VLAN****” (where, **** is the VID).
Command type
Configuration command
Default
The default VLAN (VID=1, VLAN name=default) is only registered.
Message
% Vlan name length is max over
Explanation
The VLAN name length has exceeded 15 characters.
Solution
Specify a VLAN name consisting of up to 15 alphanumeric characters.
% Can't add vlan. Max entry over.
Explanation
You can create no more VLANs as the limit of VLAN entries (128 entries) have been registered on the system.
Solution
Delete unnecessary VLANs and reissue the command.
% Can't delete vlan. same pvid entry
Explanation
You cannot delete the VLAN because the specified port has been set to have the port VLAN ID (“port-vlan-id”).
Solution
Make sure that each port does not have the “port-vlan-id” of the same VLAN ID. If not required, delete it using “no
port-vlan-id” first. Then, delete the VLAN.
Note
As the VLAN name is not checked for its duplication, you must name each VLAN unique on the network.
Example
First, create a VLAN having VID 2 by assigning the VLAN name “vlan-floor1”. Second, create a VLAN having VID 3 by
assigning the VLAN name “vlan-floor2”.
Finally, make sure that those VLAN names are displayed on the VLAN information list using the “show” command.
xg(config)# vlan 2 name vlan-floor1
xg(config)# vlan 3 name vlan-floor2
xg(config)# exit
xg# show vlan
Vlan Information 2005/08/22-16:20:15
==========================================================================
Vlan Vlan-name Port-Membership
1 2 3 4 5 6 7 8 9 10 11 12
---- --------------- -- -- -- -- -- -- -- -- -- -- --
1 default U U U U U U U U U U U U
2 vlan-floor1 - - - - - - - - - - - -
3 vlan-floor2 - - - - - - - - - - - -
==========================================================================