Command
Apply
Use
This command applies any changes to the VLAN database but doesn’t exit the VLAN database. In fact, the exit command is a macro that runs the applycommand before exiting.
Syntax
Swtich(vlan)#apply
Example
In the below example we will enter the VLAN database, configure VLAN 99 and exit without using the exit or the apply 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 |