xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
351
config vlan delete ports
Purpose
Used to delete one or more ports from a previously configured VLAN.
Syntax
config vlan <vlan_name> delete <portlist>
Description
This command is used to delete one or more ports from a previously configured VLAN.
If based on VLAN ID to configure VLAN, multiple VLANs can be configured at a time.
Parameters
vlan_name
– The name of the VLAN you want to delete ports from.
portlist
– Specifies a range of ports to be configured.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete configured VLAN ports:
D G S – 3 4 2 6 : 5 # c o n f i g v l a n v 1 d e l e t e 2 : 4 – 2 : 8
C o m m a n d : c o n f i g v l a n v 1 d e l e t e 2 : 4 – 2 : 8
S u c c e s s .
D G S – 3 4 2 6 : 5 #
config vlan advertisement
Purpose
Used to enable or disable VLAN advertisement.
Syntax
config vlan <vlan_name> advertisement [ enable | disable ]
Description
This command is used to enable or disable VLAN advertisement.
Parameters
vlan_name
– The name of the VLAN on which you want to configure.
advertisement
– Join GVRP or not. If not, the VLAN can’t join dynamically.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure VLAN advertisement:
D G S – 3 4 2 6 : 5 # c o n f i g v l a n d e f a u l t a d v e r t i s e m e n t e n a b l e
C o m m a n d : c o n f i g v l a n d e f a u l t a d v e r t i s e m e n t e n a b l e
S u c c e s s .
D G S – 3 4 2 6 : 5 #
enable gvrp
Purpose
Used to enable Generic VLAN Registration Protocol (GVRP).
Syntax
enable gvrp
Description
This command is used to enable the Generic VLAN Registration Protocol (GVRP). The
default setting is disabled.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the Generic VLAN Registration Protocol: