Command
Show
Use
This is the legacy way to view VLANs configured on a switch. While this mode is being depreciated, you will still encounter it on older switches or routers with switch modules. On newer IOS releases, use the show vlan command.
Syntax
Switch(vlan)#show
OR
Switch(vlan)#show <changes or current or proposed>
Options
<changes> | Only shows changes to the VLAN database |
<current> | Shows how the VLAN database is configured as of the last save |
<proposed> | Shows the VLAN database, including the current changes |
Example
In this example we will explore the differences in the various show commands. First we will add and remove a vlan on the database. Then we will try out the different show commands before we save.
2950-XL#vlan database 2950-XL(vlan)#vlan 70 |
Looking at show changes we see our two changes to the VLAN database.
2950-XL(vlan)#show changes ADDED: |
Looking at show current, we see that VLAN 55 still exists and VLAN 70 doesn’t, This is because we haven’t saved yet.
2950-XL(vlan)#show current VLAN ISL Id: 1 Name: default Media Type: Ethernet VLAN 802.10 Id: 100001 State: Operational MTU: 1500 Translational Bridged VLAN: 1002 Translational Bridged VLAN: 1003 VLAN ISL Id: 55 VLAN ISL Id: 1002 VLAN ISL Id: 1003 VLAN ISL Id: 1004 VLAN ISL Id: 1005 |
Finally, looking at show or show proposed, we see how the final modifiations would look. Notice that VLAN 70 exists and VLAN 55 is gone.
2950-XL(vlan)#show changes ADDED: |