Adding VLANs when Creating a Local Network Login Account
To specify the destination VLAN (Virtual LAN) 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.
The following example:
- Creates a new local network login user name.
- Creates a password associated with the local network login user
name.
- Adds the VLAN test1 as the destination VLAN.
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.>