Cisco 2950 Switch: Create a VLAN
The commands for creating a VLAN vary from one switch model to another. VLANs in a 2950 switch are configured in a manner similar to configuring an interface. This configuration is substantially different than a 2900 switch.
To create two VLANs on a 2950 switch, one with id 5 and name ‘engineering’ and the other with id 8 and name ‘mydesk’, use these commands:
2950# config t
2950(config)# vlan 5
2950(config-vlan)# name engineering
2950(config-vlan)# exit
2950(config)# vlan 8
2950(config-vlan)# name mydesk
In the 2950, the ‘vlan database’ command is being phased out. It will still work, but a warning will be given. The commands above are the preferred way to configure VLANs now and in the future (until Cisco changes it again ;-)






Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment