To configure a VLAN on a switch port, first access the switch's command-line interface (CLI) via console or SSH. Enter configuration mode by typing configure terminal, then select the specific interface using interface [type][number] (e.g., interface FastEthernet0/1). Assign the VLAN to the port with the command switchport access vlan [VLAN_ID], and if needed, set the port to access mode using switchport mode access. Finally, save the configuration with write memory or copy running-config startup-config.
Copyright © 2026 eLLeNow.com All Rights Reserved.