Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
config vlan
specified VLAN.
Restrictions Only administrator-level users can issue this command.
Example usage:
To add 4 through 8 as tagged ports to the VLAN v1:
DGS-3400:4#config vlan v1 add tagged 1:4-1:8
Command: config vlan v1 add tagged 1:4-1:8
Success.
DGS-3400:4#
To delete ports from a VLAN:
DGS-3400:4#config vlan v1 delete 1:6-1:8
Command: config vlan v1 delete 1:6-1:8
Success.
DGS-3400:4#
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 Group VLAN Registration Protocol
on the Switch. Users may configure 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 enable GVRP. The port
list is specified by listing the lowest switch number and the beginning port
number on that switch, separated by a colon. Then the highest switch
number, and the highest port number of the range (also separated by a
colon) are specified. The beginning and end of the port list range are
separated by a dash. For example, 1:3 specifies switch number 1, port 3.
2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports
between switch 1, port 3 and switch 2, port 4 − in numerical order. Non-
contiguous portlist entries are separated by a comma. (ex: 1:1-1:3,1:7-1:9)
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 <vlanid 1-4094> – Specifies the default VLAN ID associated with the
port.
Restrictions Only administrator-level users can issue this command.
116