configure cisco switch port with no role

I want to configure a port on a cisco catalyst 2960 to use a particular vlan without a role.

When I try to do this in the GUI I cannot configure the port vlan without assigning it a role.   When I try to de-select a role in the smartports section, it clears my vlan assignment and checks "assign selected role to all ports". Can someone give me the command line on how to configure the port in a putty session?  or, tell me how to configure it in the GUI.
Who is Participating?
Assign port gi1/0/1 to vlan 10.

interface gi1/0/1
 switchport mode access
 switchport access vlan 10
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.