O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

vlan database — EXEC

Synopsis

vlan database

Configures

Enters VLAN configuration mode.

Default

N/A

Description

This command enters the VLAN configuration mode. In this mode, you can use the following commands:

abort

Exits the VLAN configuration mode without saving the changes you have made.

apply

Saves and applies the current VLAN changes.

exit

Saves and applies the current VLAN changes then exits the VLAN configuration mode.

reset

Abandons any changes and reloads the saved VLAN information.

show

Displays the current VLAN database information.

vlan

Edit VLAN information. See the separate vlan command listing for more information.

vtp

Edits VLAN trunking protocol (VTP) information. See the separate vtp command listing for more information.

Example

This example shows entering the VLAN database and creating VLAN 100.

Router# vlan database
Router(vlan)#vlan 100
Router(vlan)#exit

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required