xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
297
config vlan
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan <vlan_name 32> {[add [ tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable]}
Description
This command is used to add ports to the port list of a previously configured VLAN.
Additional ports may be specified as tagging, untagging, or forbidden. The default is to
assign the ports as untagging.
Parameters
<vlan_name 32>
−
The name of the VLAN to add or delete ports to.
add
−
Specifies which ports to add. The user may also specify if the ports are:
•
tagged
−
Specifies the additional ports as tagged.
•
untagged
−
Specifies the additional ports as untagged.
•
forbidden
−
Specifies the additional ports as forbidden.
delete
- Specifies which ports to delete.
<portlist>
−
A port or range of ports to add to the VLAN. The beginning and end of the port
list range are separated by a dash.
advertisement [enable | disable]
−
Enables or disables GVRP on the specified VLAN.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add 4 through 8 as tagged ports to the VLAN v1:
DGS-3627:admin# config vlan v1 add tagged 1:4-1:8
Command: config vlan v1 add tagged 1:4-1:8
Success.
DGS-3627:admin#
config gvrp
Purpose
Used to configure GVRP on the Switch.
Syntax
config gvrp [<portlist> | all] {state [enable | disable] | ingress_checking [enable | disable] |
acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}
Description
This command is used to configure the GARP VLAN Registration Protocol on the Switch.
Configurable settings include ingress checking, the sending and receiving of GVRP information,
and the Port VLAN ID (PVID).
Parameters
<portlist>
−
A port or range of ports for which to configure GVRP. The beginning and end of the
port list range are separated by a dash.
all
−
Specifies all of the ports on the Switch.
state [enable | disable]
−
Enables or disables GVRP for the ports specified in the port list.
ingress_checking [enable | disable]
−
Enables or disables ingress checking for the specified port
list.
acceptable_frame [tagged_only | admit_all]
– This parameter states the frame type that will be
accepted by the Switch for this function
. tagged_only
implies that only VLAN tagged frames will
be accepted, while
admit_all
implies tagged and untagged frames will be accepted by the
Switch.
pvid
– Specifies the default VLAN ID associated with the port.
Restrictions
Only Administrator and Operator-level users can issue this command.