xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
109
show vlan vlanid
Purpose
Used to display a previously configured VLAN by VLAN ID on the
Switch.
Syntax
show vlan vlanid <vidlist>
Description
The show VLAN by vlanid command is used to display a previously
configured VLAN on the Switch.
Parameters
<vidlist> -
Specifies the VID range from the configured VLANs set
on the Switch.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To display a previously created VLAN:
DES-3800:admin#show vlan vlanid 99
Command: show vlan vlanid 99
VID : 99 VLAN Name : robert
VLAN TYPE : static Advertisement : Enabled
Member ports : 1-4
Static ports : 1-4
Current Tagged ports : 1-4
Current Untagged ports :
Static Tagged ports : 1-4
Static Untagged ports :
Forbidden ports :
Total Entries : 1
DES-3800:admin#
config vlan vlanid
Purpose
Used to add additional ports to a previously configured VLAN.
Syntax
config vlan vlanid <vidlist> {add [ tagged | untagged | forbidden ]
| delete <portlist> | advertisement [enable | disable] | name
<name>}
Description
The config vlan vlanid command allows you to add or delete ports of
the port list of previously configured VLAN(s). You can specify the
additional ports as being tagged, untagged or forbidden.The same
port is allowed to be an untagged member port of multiple VLAN’s.
You can also specify if the ports will join GVRP or not with the
advertisement
parameter. The
name
parameter allows you to specify
the name of the VLAN that needs to be modified.
Parameters
<vidlist>
−
Specifies a range of VLAN ID’s to add ports to.
add
−
Entering the add parameter will add ports to the VLAN. There
are three types of ports to add:
•
tagged
−
Specifies the additional ports as tagged.
•
untagged
−
Specifies the additional ports as untagged.
•
forbidden
−
Specifies the additional ports as forbidden
delete-
Entering the delete the ports from the VLAN.
<portlist>
−
A port or range of ports to add to the VLAN.
advertisement-
Entering the advertisement parameter specifies if the