vlan database
When you have modified VLAN or VTP parameters, you can use these editing buffer manipulation
commands:
•
•
•
•
•
•
•
•
•
You can verify that VLAN database changes have been made or aborted by using the show vlan
privileged EXEC command. This output is different from the show VLAN database configuration
command output.
Examples
This example shows how to enter the VLAN configuration mode from the privileged EXEC mode and
to display VLAN database information:
Switch# vlan database
Switch(vlan)# show
VLAN ISL Id: 1
VLAN ISL Id: 2
Catalyst 2960 Switch Command Reference
2-524
abort: exits the mode without applying the changes. The VLAN configuration that was running
before you entered VLAN configuration mode continues to be used.
apply: applies current changes to the VLAN database, increments the database configuration
revision number, propagates it throughout the administrative domain, and remains in VLAN
configuration mode.
You cannot use this command when the switch is in VTP client mode.
Note
exit: applies all configuration changes to the VLAN database, increments the database configuration
number, propagates it throughout the administrative domain, and returns to privileged EXEC mode.
no: negates a command or set its defaults; valid values are vlan and vtp.
reset: abandons proposed changes to the VLAN database, resets the proposed database to the
implemented VLAN database on the switch, and remains in VLAN configuration mode.
show: displays VLAN database information.
show changes [vlan-id]: displays the differences between the VLAN database on the switch and the
proposed VLAN database for all normal-range VLAN IDs (1 to 1005) or the specified VLAN ID (1
to 1005).
show current [vlan-id]: displays the VLAN database on the switch or on a selected VLAN (1 to
1005).
show proposed [vlan-id]: displays the proposed VLAN database or a selected VLAN (1 to 1005)
from the proposed database. The proposed VLAN database is not the running configuration until
you use the exit or apply VLAN configuration command.
Name: default
Media Type: Ethernet
VLAN 802.10 Id: 100001
State: Operational
MTU: 1500
Translational Bridged VLAN: 1002
Translational Bridged VLAN: 1003
Name: VLAN0002
Media Type: Ethernet
VLAN 802.10 Id: 100002
State: Operational
MTU: 1500
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
78-16882-01