65. VLAN Commands
625
65.1. create vlan
Description
This command is used to create a VLAN on the Switching Hub. The VLAN ID must be
always specified for creating a VLAN.
Format
create vlan <vlan_name 32 > tag <vlanid 2-4094> {type [1q_vlan | private_vlan]}
{advertisement}
Parameters
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a VLAN with the name "v2" and VLAN ID 2:
show vlan vlanid <vidlist>
show vlan ports {<portlist>}
show gvrp
config private_vlan [<vlan_name 32> | vid <vlanid 1-4094>] [add [isolated | community] | remove]
[<vlan_name 32> | vlanid <vidlist>]
show private_vlan {[<vlan_name 32> | vlanid <vidlist>]}
<vlan_name 32 >
Specify the name of the VLAN to be created. The maximum length is 32 characters.
tag
Specify the VLAN ID of the VLAN to be created.
<vlanid 2-4094>
The range is from 2 to 4094.
type
(Optional) Specify the type of VLAN to be created.
1q_vlan
Specify the VLAN is a 802.1q VLAN.
private_vlan
Specify the VLAN is a private VLAN.
advertisement
(Optional) Specify to allow the Switch sending out GVRP packets to outside sources,
notifying that they may join the existing VLAN.
Zxxx0:admin#create vlan v2 tag 2 type 1q_vlan advertisement
Command: create vlan v2 tag 2 type 1q_vlan advertisement
Success.
Zxxx0:admin#
Summary of Contents for ZEQUO 2200
Page 3: ...3 ...
Page 86: ...7 ARP Commands 86 ...
Page 93: ...9 Auto Configuration Commands 93 ...
Page 273: ...30 IPv6 NDP Commands 273 ...
Page 330: ...36 LLDP Commands 330 ...
Page 361: ...39 MAC based Access Control Commands 361 ...
Page 461: ...49 Protocol VLAN Commands 461 ...
Page 483: ...50 QoS Commands 483 ...
Page 504: ...53 SNMPv1 v2 v3 Commands 504 Only Administrator level users can issue this command ...
Page 523: ...53 SNMPv1 v2 v3 Commands 523 ...
Page 562: ...57 Subnet VLAN Commands 562 ...