|
Cisco 2900 Switch: Create a VLAN |
|
|
|
|
Written by Amanatullah khalil
|
|
Sunday, 24 May 2009 |
|
A VLAN (Virtual Local Area Network) makes a single physical switch behave like several separate switches. A host connected to one VLAN cannot communicate through the switch to a host connected to another (although a router can permit communication between VLANs if desired). Here’s how to configure a new VLAN on a 2900 switch. To create a VLAN number 5 called ‘engineering’ use these commands: # vlan database (vlan)# vlan 5 name engineering (vlan)# exit # The ‘vlan database’ command is necessary to enter VLAN configuration mode (analagous to entering an interface configuration mode when configuring a router or switch interface). Note that the switch’s prompt changes after this command. Once in the VLAN configuration mode, more than one VLAN may be created using multiple ‘vlan id# name vlan-name’ commands, one per line. The exit command leaves the VLAN configuration mode. courtesy http://www.tech-recipes.com/rx/1518/cisco_2900_switch_create_vlan/
|