N-Tron 7014FX2 User Manual

Page of 145
6/28/2007                                                                                                                                   page 118 of 145 
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. 
 
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.