1900 Series Switch
2900 Series Switch
2950 Series Switch
For the 2900 series switch, you must apply the changes to the VLAN database for the changes to take effect. You can also use the command apply in the VLAN database, which will apply the changes, but not exit the mode. Using the command to exit out of the VLAN database will not apply the changes to the VLAN database. You must use the command exit to exit the VLAN database and have the changes successfully applied.
For the 2950 series switch, the use of the VLAN database is being phased out, in favor of creating VLANs in the manner demonstrated in the preceding command syntax. If you use the vlan database command at the 2950Switch# prompt, the 2950 IOS will tell you this but will still allow you to use commands the same as the 2900 series switch. Get used to this style; it is the method to be used on all future releases of switches.