xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
27
3-6
config vlan vlanid
Description
This command allows you to configure multiple VLANs at one time. But conflicts will be generated
if you configure the name of multiple VLANs at one time.
Format
config vlan vlanid <vidlist> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable] | name <vlan_name 32>}(1)
Parameters
<vidlist>
- Enter a list of VLAN IDs to configure.
add
- (Optional) Specify to add tagged, untagged or forbidden ports to the VLAN.
tagged
- Specify the additional ports as tagged.
untagged
- Specify the additional ports as untagged.
forbidden
- Specify the additional ports as forbidden.
delete
- (Optional) Specify to delete ports from the VLAN.
<portlist>
- (Optional) Enter the list of ports used for the configuration here.
advertisement
- (Optional) Specify the GVRP state of this VLAN.
enable
- Specify to enable advertisement for this VLAN.
disable
- Specify to disable advertisement for this VLAN.
name
- (Optional) The new name of the VLAN.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add 4 through 8 of unit 2 as tagged ports to the VLAN ID from 10-20:
DGS-3120-24TC:admin# config vlan vlanid 10-20 add tagged 2:4-2:8
Command: config vlan vlanid 10-20 add tagged 2:4-2:8
Success.
DGS-3120-24TC:admin#
3-7
config port_vlan
Description
This command is used to set the ingress checking status, the sending and receiving GVRP
information.
Format
config port_vlan [<portlist> | all] {gvrp_state [enable | disable] | ingress_checking [enable |
disable] | acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}(1)
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...