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. |
port-desc port-desc-string |
Specify the description to add the port with that description to the VLAN. |
Specify one or both of the following options: |
|
vnet vnet-name |
Specify the vNET name 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. |
Version 7.0.0 |
The parameter port-desc 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