Modify an existing VLAN
Command Name | vlan modify |
Description | Modifies an existing VLAN. |
Syntax | vlan modify <vlan id> <mgmt port> |
| |
| |
| |
Parameters | |
| unique vlan id ( 2 ~ 4094). |
| mgmt port |
| Management Port, yes or no (1 or 0). |
|
|
| 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 |
| The port numbers cannot exceed the maximum number |
| of port on the board. |
| |
| Tagged port list values can be specified in the same way as that of |
| |
| vlan name |
| unique clan name, which can be used to identify. |
| admit |
| |
|
|
| Optional parameter. Port number that data should be mirrored to.. |
Examples | |
| “newvlan2” |
| |
| “vlan 3” |
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 |
Parameters | |
| Vlan id of the existing vlan which has to be deleted |
Examples | |
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 |
Parameters | |
| Vlan id of the vlan |
| enabledisable |
| Enable or Disable management of the specified vlan. |
Examples | |
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. |
(Revised | page 119 of 145 |