This is a basic configuration of a VLAN (Virtual Local Area Network). A VLAN partitions networks into separate broadcast domains or segments. It separates network traffic for a more efficient flow of data, minimizing bottlenecks and congestion.<\/p>\n
This guide is used for general VLAN configurations on CISCO switches (e.g. Catalyst series). This requires the user to have elevated admin privileges with enable rights for terminal configuration. The switch Cisco device that provides data packets transmission and reception from other networks and devices. The switch does not deal with logical addresses, but with the MAC address, so IP settings are not going to be included.<\/p>\n
To begin, user must have access to the terminal on the switch. On older switches it is accessed via the RS-232 serial interface or TTY connection. This gives access to the CLI of the Cisco CatOS and IOS software. Most switches are accessed by terminal emulators that implement strong security like SSH (recommended) rather than by simple unencrypted telnet.<\/p>\n
The switch usually has a default VLAN set up, which is the default VLAN 1. In this tutorial we will be setting up another VLAN which we will call VLAN 2. Then we will configure the ports for the switch to create the VLAN.<\/p>\n
MySwitch>enable
\nMySwitch#configure terminal<\/p>\n
We enter EXEC mode and then enable privileged EXEC mode to configure the terminal.<\/p>\n<\/div>\n
MySwitch(config)#interface<\/span> vlan 2<\/p>\n Create the VLAN called ‘vlan 2’ in interface configuration.<\/p>\n<\/div>\n MySwitch(config-if)#description<\/span> accounting VLAN For this example we can describe the VLAN as accounting. In a real world scenario this can be used to describe the network segment for the accounting department.<\/p>\n<\/div>\n<\/a>Step 3: Give a description to the VLAN<\/h3>\n
\nMySwitch(config-if)#exit<\/span><\/p>\n