Switch ports are Layer 2 interfaces that are used to carry layer 2 traffic. The vlan command in global configuration mode creates a new VLAN and updates an existing VLAN. Setting switch interfaces to access mode is required sometimes where there is a need to connect to endpoints as some. Configuring VLANs involves two main components: configuring the VLANs themselves, which refers to creating the VLANs on layer 2 (switches), and then configuring inter-VLAN routing, which is performed on layer 3 (routers). This guide provides a step-by-step walkthrough on how to configure VLAN on Cisco switch, covering VLAN creation, assigning ports to VLAN Cisco switches, configuring trunk ports, best.