To assign switch interface f0/1/0
to VLAN 50 on a Cisco switch, you would use the following command sequence in the Command Line Interface (CLI):
-
Enter privileged EXEC mode:
enable
-
Enter global configuration mode:
configure terminal
-
Access the specific interface you want to configure:
interface f0/1/0
-
Assign the interface to VLAN 50:
switchport access vlan 50
-
(Optional) If the interface is currently configured as a trunk port (and you want it to be an access port), you may need to set it as an access port:
switchport mode access
-
Exit the interface configuration mode:
exit
-
(Optional) Exit global configuration mode:
exit
-
Finally, save the configuration (optional, but recommended):
write memory
or
copy running-config startup-config
So the full command sequence would look like this:
enable
configure terminal
interface f0/1/0
switchport mode access
switchport access vlan 50
exit
exit
write memory
This sequence effectively configures the interface f0/1/0
as an access port and assigns it to VLAN 50.