Port VLAN Commands
port-vlan-add
This command is used to add a VLAN to a specific port.
Syntax port-vlan-add
port port-number |
Specify the port number for the VLAN. |
Specify one or both of the following options: |
|
vnet vnet-name |
Specify the name of the VNET for the port. |
vlans vlans-list |
Specify the list of VLANs to apply to the port. |
untagged-vlan vlan-id |
Specify an untagged VLAN to apply to the port. The value can be from 0-4095. |
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.3 |
The parameters, ports, description, and active-vlans deprecated. |
Version 2.4.1 |
The parameter, vnet, added. |
Usage Use this command to add a VLAN to a specific port.
Examples To add an untagged VLAN with the identifier 25 to port 11, use the following command:
CLI network-admin@switch > port-vlan-add port 11 untagged-vlan 25