Show Run & Show VLAN Questions....

Answered Question
May 20th, 2008

On a CAT2950G24 switch, .....


I can enter the command show vlan and everything is fine, however when I enter the show run command the vlan definitions are not being displayed. The switch has several servers connected to it and is functioning properly. But why can't we see the vlan names on the show run command?

Correct Answer by Martin Ermel about 8 years 9 months ago

I asume that all switches that show vlan configuration in the running config are running in VTP transparent mode where as the one that does not show vlan information in running config is set to VTP server or VTP client. Do a `show vtp stat` to see if this is the difference.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Pravin Phadte Tue, 05/20/2008 - 07:17

The vlan information is stores in vlan.dat file.


You will not able to see the the vlan config in running config.


check show flash: and you will find the vlan.dat file.

jknipp208 Tue, 05/20/2008 - 09:17

I agree that I will not be able to see vlan config


The show run command lists the names of the vlans. I've done this on other switches.

That's what is not being displayed.


I think the vlan.dat may be corrupted.


Pravin Phadte Tue, 05/20/2008 - 09:59

may i know the ios used on this switch. Do u have any other switch with the same ios faceing this problem ?

jknipp208 Tue, 05/20/2008 - 10:02

IOS: flash:c2950-i6k2l2q4-mz.121-22.EA9.bin


This is the only switch with this problem.


thanks

Correct Answer
Martin Ermel Tue, 05/20/2008 - 14:44

I asume that all switches that show vlan configuration in the running config are running in VTP transparent mode where as the one that does not show vlan information in running config is set to VTP server or VTP client. Do a `show vtp stat` to see if this is the difference.

jknipp208 Wed, 05/21/2008 - 05:42

That was it!


The vtp operating mode was set to server. I changed it to transparent and I can now see the vlans names.


My thanks to you and the other person who took time to respond.

Actions

This Discussion