VLAN Related Commands
Add VLAN Entry
Command Name |
| vlan add |
|
Description |
| To create a Port based Virtual LAN | |
Syntax |
| vlan add <vlan id> <mgmt port> | |
|
| ||
|
| ||
|
| ||
Parameters |
|
| |
|
| Unique vlan id (2 ~ 4094). | |
|
| mgmt port |
|
|
| Either 1 or 0. „1‟ sets this vlan as a management vlan. | |
|
| vlan name |
|
|
| Unique vlan name, which can be used to identify the | |
|
| group. The name may include characters and numbers, | |
|
| but should start with an alphabetic. Maximum number of | |
|
| characters must not exceed 25. | |
|
|
| |
|
| 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 | |
|
| exceed the maximum number of ports on the board. | |
|
|
| |
|
| Tagged port mask values can be specified in the same way as that of | |
|
| an untagged port mask. | |
|
|
| |
|
| Allow | |
|
|
|
|
|
| Optional parameter. Port number that data should be mirrored to. | |
Examples |
| ||
|
| vlan2 |
|
|
| ||
|
| 3” | |
NOTES |
| Ensure that the ports included in the tagged port list do not exist in the | |
|
| untagged | |
|
| RSTP on all VLANs as a precautionary measure. | |
Show List of Configured VLANs |
|
| |
Command Name |
| vlan show config |
|
Description |
| Displays the list of configured VLANs | |
Syntax |
| vlan show config |
|
Parameters |
| None |
|
Examples |
| ||
NOTES |
| It displays the information of the default vlan if no vlan is configured. | |
Display Information of a particular VLAN |
| ||
Command Name |
| vlan get info |
|
Description |
| Displays the details of a particular VLAN. | |
Syntax |
| vlan get info | |
Parameters |
|
| |
|
| Vlan id of the existing vlan whose individual | |
|
| configuration is required. | |
Examples |
| ||
|
| vlan ID | : 2 |
|
| vlan Name | : “vlan 2” |
|
| port list | : |
|
| tagged port mask: | |
|
| management port : NO | |
NOTES |
|
|
|
(Revised | page 118 of 145 |