An interface (switch port) of a Cisco Catalyst switch can be assigned to a dedicated VLAN. The example below shows how this can be done.
Configuring VLAN on interface:
interface FastEthernet 0/1
! configuring interface as access port
switchport mode access
! assign vlan to port
switchport access vlan [vlan #]
|