N-Tron 9000 Switch User Manual


 
(Revised 2010-7-2) page 119 of 145
Modify an existing VLAN
Command Name
vlan modify
Description
Modifies an existing VLAN.
Syntax
vlan modify <vlan id> <mgmt port>
-untagged <port mask> | -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 1untagged 1-10 name
“vlan 3” –admit all
NOTES
Changing anything on a VLAN will turn on RSTP on all VLANs as a
precautionary measure.
Delete VLAN
Command Name
vlan delete
Description
Removes an existing VLAN from the list of configured VLANs.
Syntax
vlan delete <vlan-id>
Parameters
vlan-id
Vlan id of the existing vlan which has to be deleted
Examples
N-TRON/Admin#[1]> vlan delete 2
NOTES
Please ensure that a port based vlan with the given vlan id exists. Changing
anything on a VLAN will turn on RSTP on all VLANs as a precautionary
measure.
Set VLAN as a management VLAN
Command Name
vlan set mgmtvlan
Description
Enable or disable a Vlan as a management vlan. User can connect and
monitor the device activity of this VLAN.
Syntax
vlan set mgmtvlan <vlan-id> <enable|disable>
Parameters
vlan-id
Vlan id of the vlan
enable|disable
Enable or Disable management of the specified vlan.
Examples
N-TRON/Admin#[1]> vlan set mgmtvlan 2 disable
NOTES
Please ensure that the vlan with that vlan id already exists. Changing
anything on a VLAN will turn on RSTP on all VLANs as a precautionary
measure.