Gigabyte 7014 Switch User Manual


 
Rev. 051208 page 124 of 152
Display Information of a particular VLAN
Command Name
vlan get info
Description Displays the details of a particular VLAN.
Syntax vlan get info <vlan-id>
Parameters
vlan-id
Vlan id of the existing vlan whose individual
configuration is required.
Examples
N-TRON/Admin#[1]> vlan get info 2
vlan ID : 2
vlan Name : “vlan 2”
port list : 1-4,11
tagged port mask: 10-15
management port : NO
NOTES
Modify an existing VLAN
Command Name
vlan modify
Description Modifies an existing VLAN.
Syntax
vlan modify <vlan id> <mgmt port>
<at least one of: [-untagged <port mask>] or [-tagged <port mask>]>
[-name <vlan name>] [-admit <tagged-only|all>] [-mirror <port-no>]
Parameters
vlan-id
unique vlan id ( 2 ~ 4094).
mgmt port
Management Port, yes or no (1 or 0).
-untagged port mask
List of ports that are to be included under this VLAN.
Commas can be used to separate individual ports (2,5,9)
and the range can be specified using a hyphen (10-15).
The port numbers cannot exceed the maximum number
of port on the board.
-tagged port mask
Tagged port list values can be specified in the same way as that of
-untagged port mask.
vlan name
unique clan name, which can be used to identify.
admit
tagged-only or all. Type of packets can enter the port.
port-no
Optional parameter. Port number that data should be mirrored to.
Examples
N-TRON/Admin#[1]> vlan modify 2 1 –tagged 11-12 –name
“newvlan2”
N-TRON/Admin#[2]> vlan modify 3 1 –untagged 1-10 –name “vlan
3” –admit all
NOTES Changing anything on a VLAN will turn on RSTP on all VLANs as a
precautionary measure.