
xStack
config vlan add
Description | This command allows the user to add ports to the port list of a |
| previously configured VLAN. Additional ports may be specified as |
| tagging, untagging, or forbidden. The default is to assign the ports |
| as untagging. |
Parameters | <vlan_name 32> − The name of the VLAN to which to add or |
| delete ports. |
| add − Specifies which ports to add. The user may also specify if |
| the ports are: |
| tagged − Specifies the additional ports as tagged. |
| untagged − Specifies the additional ports as untagged. |
| forbidden − Specifies the additional ports as forbidden. |
| <portlist> − A range of ports to add to the VLAN. The port list is |
| specified by listing the lowest slot number and the beginning port |
| number on that slot, separated by a colon. Then the highest slot |
| number, and the highest port number of the range (also separated |
| by a colon) are specified. The beginning and end of the port list |
| range are separated by a dash. For example, 1:3 specifies slot |
| number 1, port 3. 2:4 specifies slot number 2, port 4. |
| specifies all of the ports between slot 1, port 3 and slot 2, port 4 − |
| in numerical order. |
| advertisement [enabled disabled] − Enables or disables GVRP |
| on the specified VLAN. |
Restrictions | Only |
|
|
Example usage:
To add 4 through 8 of module 2 as tagged ports to the VLAN v1:
Command: config vlan v1 add tagged
Success.
config vlan delete
Purpose | Used to delete ports from a previously configured VLAN. |
Syntax | config vlan <vlan_name 32> delete <portlist> |
Description | This command is used to delete ports from the port list of a |
| previously configured VLAN. |
Parameters | <vlan_name 32> − The name of the VLAN from which to delete |
| ports. |
| <portlist> − A range of ports to delete from the VLAN. The port list |
| is specified by listing the lowest slot number and the beginning |
| port number on that slot, separated by a colon. Then the highest |
| slot number, and the highest port number of the range (also |
| separated by a colon) are specified. The beginning and end of the |
| port list range are separated by a dash. For example, 1:3 specifies |
| slot number 1, port 3. 2:4 specifies slot number 2, port 4. |
122