xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
23
Chapter 3
802.1Q VLAN Command List
create vlan
<vlan_name 32> tag <vlanid 2-4094> {type [1q_vlan | private_vlan]} {advertisement}
create vlan vlanid
<vidlist> {type [1q_vlan | private_vlan]} {advertisement}
delete vlan
<vlan_name 32>
delete vlan vlanid
<vidlist>
config vlan
<vlan_name 32> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable]}(1)
config vlan vlanid
<vidlist> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable] | name <vlan_name 32>}(1)
config port_vlan
[<portlist> | all] {gvrp_state [enable | disable] | ingress_checking [enable |
disable] | acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}(1)
show vlan
{<vlan_name 32>}
show vlan ports
{<portlist>}
show vlan vlanid
<vidlist>
show port_vlan
{<portlist>}
enable pvid auto_assign
disable pvid auto_assign
show pvid auto_assign
config gvrp
[timer [join | leave | leaveall] < value 100-100000> | nni_bpdu_addr [dot1d | dot1ad]]
show gvrp
enable gvrp
disable gvrp
config private_vlan
[<vlan_name 32> | vid <vlanid 2-4094>] [add [isolated | community] | remove]
[<vlan_name 32> | vlanid <vidlist>]
show private_vlan
{[<vlan_name 32> | vlanid<vidlist>]}
3-1
create vlan
Description
This command is used to create a VLAN on the Switch. 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
<vlan_name 32>
- Enter the VLAN name to be created. The VLAN name can be up to 32
characters long.
tag
- The VLAN ID of the VLAN to be created.
<vlanid 2-4094>
- Enter the VLAN ID here. The VLAN ID value must be between 2 and 4094.
type
- (Optional) Specify the type of VLAN here.
1q_vlan
- (Optional) Specify that the type of VLAN used is based on the 802.1Q standard.
private_vlan –
(Optional) Specify that the private VLAN type will be used.
advertisement
- (Optional) Specify the VLAN as being able to be advertised out.
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...