87. VLAN Commands
979
87.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 6400
Page 160: ...12 Basic IP Commands 161 ...
Page 189: ...17 Command Logging Command List 190 ...
Page 554: ...49 MAC based Access Control Commands 555 ...
Page 812: ...69 QoS Commands 813 ...
Page 839: ...73 SNMPv1 v2 v3 Commands 840 Only Administrator level users can issue this command ...
Page 962: ...85 Virtual Router Redundancy Protocol VRRP Command List 963 ...
Page 1050: ...91 System Log Lists 1051 ...