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#
Содержание ZEQUO 2200
Страница 3: ...3 ...
Страница 86: ...7 ARP Commands 86 ...
Страница 93: ...9 Auto Configuration Commands 93 ...
Страница 273: ...30 IPv6 NDP Commands 273 ...
Страница 330: ...36 LLDP Commands 330 ...
Страница 361: ...39 MAC based Access Control Commands 361 ...
Страница 435: ...45 Network Monitoring Commands 435 Zxxx0 admin clear attack_log Command clear attack_log Success Zxxx0 admin ...
Страница 461: ...49 Protocol VLAN Commands 461 ...
Страница 483: ...50 QoS Commands 483 ...
Страница 504: ...53 SNMPv1 v2 v3 Commands 504 Only Administrator level users can issue this command ...
Страница 523: ...53 SNMPv1 v2 v3 Commands 523 ...
Страница 562: ...57 Subnet VLAN Commands 562 ...