Simple Steps to Create a Non-Routed VLAN on Cisco Switch

DL380 Gen10

VLAN (Virtual Local Area Network) is a network industry standard configuration that creates a virtual network container for all devices connected to ports or wireless networks included in the VLAN. Regardless of the brand of network device implementing a VLAN, network traffic from devices inside a VLAN cannot be forwarded to other VLANs or networks unless a router or routing service is enabled on the VLAN. Create a non-routed VLAN on a Cisco switch when an isolated network is required for testing or security.

How to Create a Non-Routed VLAN on Cisco Switch

Things you’ll need to prepare for creating a Non-Routed VLAN on Cisco Switch

  • Enable password for the Cisco Catalyst switch obtained from the switch administrator
  • IP address for the Cisco Catalyst switch obtained from the network administrator
  • List of switch ports you wish to add to the VLAN

 

How to Create a Non-Routed VLAN on Cisco Switch?

1. Click the “Start” button on the Windows 7 task bar and type “command prompt” in the text box that displays “Search programs and files” in gray letters. Click the command-line icon that appears.

2. Write “pkgmgr /iu:”TelnetClient” at the command prompt window and press the “Enter” key. Click “Continue” if a “User Account Control” dialog box displays and wait for the command prompt to reappear.

3. Plug the eight-pin RJ45 phone style connector on one end of the Cisco serial console cable into the port labelled “Console” on the Cisco switch. Plug the nine-pin connector on the other end of the Cisco serial console cable into the Windows 7 computer serial port.

4. Download and save the PuTTY or PuTTYtel (chiark.greenend.org.uk) terminal emulation program to the Windows 7 computer. Double-click on the downloaded PuTTY or PuTTYtel terminal emulation file. Click the “serial” link in the lower left column of the window that displays. Write “COM1” or the name of the COM port connected to the Cisco serial cable in the “Serial line to connect to” field. Click the “Flow control” menu box and click the “None” option and then click “Open.”

5. Tap the “Enter” key three times. Enter “enable” at the Cisco command prompt when the command prompt appears. Write the Enable password on the command line if prompted and press the “Enter” key. Type “config t” at the command prompt and press the “Enter” key.

6. Enter ” line vty 0 15″ and press the “Enter” key. Type “password my_password” at the command prompt except replace “my_password” with a password you wish to set for Telnet access. Write “login” on the command line and tap the “Enter” key.

7. Type “exit” at the command prompt and press the “Enter” key. Enter “interface vlan 1” on the command line and press the “Enter” key. Write “IP address 192.168.1.1 255.255.255.0” at the command prompt, replacing the “192.168.1.1 255.255.255.0” with an IP address and subnet mask assigned to the switch and touch the “Enter” key.

8. Enter “end” on the command line and press the “Enter” key. Write “copy run start” at the command prompt and press the “Enter” key to save the configuration.

9. Type “telnet x.x.x.x” in the Windows 7 command line window, but replace the “x.x.x.x” with the IP address of the switch and press the “Enter” key. Enter the telnet password on the command line and press the “Enter” key.

10. Enter “enable” at the command prompt and press the “Enter” key. Type the Enable password for the Cisco switch if prompted and press the “Enter” key.

11. Type “config t” at the command prompt and touch the “Enter” key. Type “vlan 10” at the command prompt except replace the “10” with the number of the vlan you wish to create.

12. Enter “name my-vlan” at the command prompt except replace “my-vlan” with a name you wish to assign to the VLAN. Press the “Enter” key. Type “exit” and tap the “Enter” key.

13. Type “interface fa 0/1” at the command prompt except replace the “fa 0/1” with the name of a port you wish to add to the VLAN. Tap the “Enter” key. Enter “switchport mode access” at the command prompt and touch the “Enter” key. Type “switchport access vlan 10” on the command line except replace the “10” with the number of the VLAN created earlier. Press the “Enter” key. Write “exit” at the command prompt and press the “Enter” key.

14. Repeat the previous step for each port you wish to add to the VLAN. Type “end” and press the “Enter” key. Type “copy run start” to save the configuration.

—From eHow by Dave Wilson

 

Reference Resources

Creating Ethernet VLANs on Catalyst Switches

More Related Cisco switch tutorials:

How to Configure a Cisco Layer 3 switch-Inter VLAN Routing?

Configuring VTP on a Cisco Switch

Share This Post

Post Comment