Page 301 / 757 Scroll up to view Page 296 - 300
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.
Page 302 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
298
Example usage:
To set the ingress checking status, the sending and receiving GVRP information :
DGS-3627:admin# config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame
tagged_only pvid 2
Command: config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame
tagged_only pvid 2
Success.
DGS-3627:admin#
NOTE:
When the PVID Auto Assign function is disabled, users must
manually configure the PVID
for untagged ports or the host may not connect to the Switch correctly.
enable gvrp
Purpose
Used to enable GVRP on the Switch.
Syntax
enable gvrp
Description
This command, along with
disable gvrp
below, is used to enable and disable GVRP
globally on the Switch, without changing the GVRP configuration on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the generic VLAN Registration Protocol (GVRP):
DGS-3627:admin# enable gvrp
Command: enable gvrp
Success.
DGS-3627:admin#
disable gvrp
Purpose
Used to disable GVRP on the Switch.
Syntax
disable gvrp
Description
This command, along with
enable gvrp
above, is used to enable and disable GVRP on the
Switch, without changing the GVRP configuration on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Page 303 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
299
To disable the Generic VLAN Registration Protocol (GVRP):
DGS-3627:admin# disable gvrp
Command: disable gvrp
Success.
DGS-3627:admin#
show vlan
Purpose
Used to display the current VLAN configuration on the Switch.
Syntax
show vlan {[<vlan_name 32> | vlanid <vidlist>] | ports <portlist>}
Description
This command displays summary information about each VLAN including the VLAN ID,
VLAN name, the Tagging/Untagging status, and the Member/Non-member/Forbidden status
of each port that is a member of the VLAN.
Parameters
<vlan_name 32>
The VLAN name of the VLAN for which to display a summary of settings.
vlanid <vidlist>
Users may alternately choose the VLAN to be displayed by entering the
VLAN ID.
ports <portlist>
Users may also view VLANs by designated port.
Restrictions
None.
Example usage:
To display the Switch’s current VLAN settings:
DGS-3627:admin# show vlan
Command: show vlan
VID
: 1
VLAN Name
: default
VLAN Type
: Static
Advertisement : Enabled
Member Ports
: 1:1-1:25
Static Ports
: 1:1-1:25
Current Tagged Ports
:
Current Untagged Ports: 1:1-1:25
Static Tagged Ports
:
Static Untagged Ports : 1:1-1:25
Forbidden Ports
:
VID
: 4094
VLAN Name
: v1
VLAN Type
: Static
Advertisement : Disabled
Member Ports
: 1:4,1:8
Static Ports
: 1:4,1:8
Current Tagged Ports
: 1:4,1:8
Current Untagged Ports:
Static Tagged Ports
: 1:4,1:8
Static Untagged Ports :
Forbidden Ports
:
Total Entries: 2
DGS-3627:admin#
Page 304 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
300
show gvrp
Purpose
Used to display the GVRP status for a port list on the Switch.
Syntax
show gvrp {<portlist>}
Description
This command displays the GVRP status for a port list on the Switch.
Parameters
<portlist>
Specifies a range of ports for which the GVRP status is to be displayed.
The beginning and end of the port list range are separated by a dash. Non-contiguous
portlist entries are separated by a comma. (ex: 1-3,7-9)
Restrictions
None.
Example usage:
To display GVRP port status:
DGS-3627:admin# show gvrp
Command: show gvrp
Global GVRP : Disabled
Port
PVID
GVRP
Ingress Checking
Acceptable Frame Type
-------
----
--------
----------------
----------------------
1:1
1
Disabled
Enabled
All Frames
1:2
1
Disabled
Enabled
All Frames
1:3
1
Disabled
Enabled
All Frames
1:4
1
Disabled
Enabled
All Frames
1:5
1
Disabled
Enabled
All Frames
1:6
1
Disabled
Enabled
All Frames
1:7
1
Disabled
Enabled
All Frames
1:8
1
Disabled
Enabled
All Frames
1:9
1
Disabled
Enabled
All Frames
1:10
1
Disabled
Enabled
All Frames
1:11
1
Disabled
Enabled
All Frames
1:12
1
Disabled
Enabled
All Frames
1:13
1
Disabled
Enabled
All Frames
1:14
1
Disabled
Enabled
All Frames
1:15
1
Disabled
Enabled
All Frames
1:16
1
Disabled
Enabled
All Frames
1:17
1
Disabled
Enabled
All Frames
1:18
1
Disabled
Enabled
All Frames
CTRL+C ESC q
Quit
SPACE n
Next Page
Enter
Next Entry
a
All
enable double_vlan
Purpose
Used to enable the Double VLAN feature on the Switch.
Syntax
enable double_vlan
Description
This command, along with the
disable double_vlan
command, enables and disables the
Double Tag VLAN. When Double VLANs are enabled, the system configurations for VLANs
will return to the default setting, except IP address, log, user accounts and banner setting, in
order to enable the Double VLAN mode. In the Double VLAN mode, normal VLANs and
GVRP functions are disabled. The Double VLAN default setting is disabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 305 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
301
Example usage:
To enable the Double VLAN feature on the Switch, thus disabling normal VLANs and GVRP.
DGS-3627:admin# enable double_vlan
Command: enable double_vlan
Current Double VLAN mode : Disabled
Enable Double VLAN need to reset system config. Are you sure ?(y/n)y
Success.
DGS-3627:admin#
disable double_vlan
Purpose
Used to disable the Double VLAN feature on the Switch.
Syntax
disable double_vlan
Description
This command, along with the
enable double_vlan
command, enables and disables the
Double Tag VLAN. When Double VLANs are enabled, the system configurations for VLANs
will return to the default setting, except IP address, log, user accounts, and banner setting, in
order to enable the Double VLAN mode. In the Double VLAN mode, normal VLANs and
GVRP functions are disabled. The Double VLAN default setting is disabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the Double VLAN feature on the Switch
DGS-3627:admin# disable double_vlan
Command: disable double_vlan
Current Double VLAN mode : Enabled
Disable Double VLAN need to reset system config. Are you sure?(y/n)y
Success.
DGS-3627:admin#
create double_vlan
Purpose
Used to create a Double VLAN on the Switch.
Syntax
create double_vlan <vlan_name 32> spvid <vlanid 1-4094> {tpid <hex 0x0-0xffff>}
Description
This command is used to create a Double VLAN (service provider VLAN) on the Switch.
Parameters
vlan <vlan_name 32>
The name of the Double VLAN to be created. The user is to enter an
alphanumeric string of up to 32 characters to identify this VLAN.
spvid <vlanid 1-4094>
The VLAN ID of the service provider VLAN. The user is to identify
this VLAN with a number between 1 and 4094.
tpid <hex 0x0-0xffff>
The tag protocol ID. This ID, identified here in hex form, will help
identify packets to devices as Double VLAN tagged packets. The default setting is 0x8100.
Restrictions
Only Administrator and Operator-level users can issue this command. Users must have the
Switch enabled for Double VLANs.
Example usage:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top