Register now or log in to join your professional community.
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
The interface configured as access,Switchport mode access, is used to ensure that a switch interface will never become a trunk and remain a member of a single VLAN.
Below is the command
# do switchport mode acces