Command
Exit
Use
This command exits the VLAN database and applies any changes. Leaving the VLAN database by any other method will discard any changes.
Syntax
Switch(vlan)#exit
Example
In the below example we will enter the VLAN database, configure VLAN 99 and exit without using the exit command. Looking at show vlan brief afterwards, we see that VLAN99 was not created.
Cat1#vlan database Cat1(vlan)#vlan 99 VLAN Name Status Ports |
This time we will use the exit command after creating vlan 99. Now, we see the vlan was properly created.
Cat1#vlan database Cat1(vlan)#vlan 99 VLAN Name Status Ports |