Adding VLANs when Creating a Local Network Login Account

To specify the destination VLAN when creating the local network login account, use the following command and specify the vlan-vsa option with the associated parameters:
create netlogin local-user user-name {encrypted} {password} {vlan-vsa [[{tagged | untagged} [vlan_name] | vlan_tag]]} {security-profile security_profile}
Where the following is true:
  • tagged—Specifies that the client be added as tagged.
  • untagged—Specifies that the client be added as untagged.
  • vlan_name—Specifies the name of the destination VLAN.
  • vlan_tag—Specifies the VLAN ID, tag, of the destination VLAN.

Example

The following example:

The following is a sample display from this command:

create netlogin local-user megtest vlan-vsa "test1"
password: <Enter the password. The switch does not display the password.>
Reenter password: <Re-enter the password. The switch does not display the password.>