![D-Link DES-3828 - xStack Switch - Stackable Скачать руководство пользователя страница 110](http://html.mh-extra.com/html/d-link/des-3828-xstack-switch-stackable/des-3828-xstack-switch-stackable_cli-manual_76456110.webp)
xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
106
Command Parameters
show pvid auto_assign
Each command is listed, in detail, in the following sections.
create vlan
Purpose
Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 1-4094> |
advertisement}
Description
This command allows the creation of a VLAN on the Switch.
Parameters
<vlan_name 32>
−
The name of the VLAN to be created.
<vlanid 1-4094>
−
The VLAN ID of the VLAN to be created. Allowed
values = 1-4094
advertisement
−
Specifies that the VLAN is able to join GVRP. If
this parameter is not set, the VLAN cannot be configured to have
forbidden ports.
Restrictions
Only Administrator or Operator-level users can issue this
command.Each VLAN name can be up to 32 characters. If the
VLAN is not given a tag, it will be a port-based VLAN. Up to 4k
static VLANs may be created per configuration.
Example usage:
To create a VLAN v1, tag 2:
DES-3800:admin#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DES-3800:admin#
show vlan
Purpose
Used to display the current VLAN configuration on the Switch
Syntax
show vlan {<vlan_name 32>}
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.
Restrictions
None.
Example usage:
To display the Switch’s current VLAN settings:
DES-3800:admin#show vlan
Command: show vlan
VID : 1 VLAN Name : default
VLAN TYPE : static Advertisement : Enabled