Help with Cisco Switch Configuration

board2death986

[H]ard|Gawd
Joined
Aug 13, 2005
Messages
1,404
I have someone I'm trying to help out with a simple network that inherited some cisco switches. Apparently they were defaulted but VLAN 1 is still disabled (I understand why, not arguing that), but they need it re-enabled. I'm not too familiar with Cisco IOS as I haven't touched Cisco since taking some classes for the CCNA over 5 years ago. . .can anyone help a guy out with some tips on the commands I will need? I believe the models of switches are the 2950 for the rooms and a couple of 3750 switches for the main closet.

I already ordered the usb->console->RJ45 cable I'm going to need to connect, then I suppose I'll have to install drivers and use putty to access the console. . .that's where I'm currently at.
 
I didn't think that VLAN 1 could be removed or disabled, per se.

I knew that you can isolate it by not assigning any trunk or access ports, but not outright disable it
 
You are probably right about that, as I said I'm not too familiar with switch configurations. I'm trying to help this guy out so if you have any tips or links that would help that would be awesome.
 
I do believe you need to remove the vlan.dat configuration file on the flash memory.
 
That looks like a good lead, I've found some documentation from Cisco on that process. Thanks Dark Shade.
 
Can you post the existing config?

No, I do not have access to the switches again until I am onsite. The issue concerning VLAN1 was confirmed from another technician who simply showed up to verify that the hardware wasn't the problem since the equipment is covered under their warranty, but as the issue was confirmed to be from the configuration they simply picked up their bags and left. I believe one of the switches was configured already so I can confirm the VLAN situation there before changing the others.
 
You have to be careful when incorporating inherited Cisco switches and placing them into a production environment.

VTP information and VLAN information persists through mem erases. You will need to delete the VLAN Database and also set the VTP to revision 0.

You can see here further about removing the VLAN.dat file on the switch:
http://www.mcmcse.com/cisco/guides/vlandat.shtml

Here you can see how to reset VTP revision to 0 by means of setting VTP mode to "transparent":
http://www.freeccnaworkbook.com/workbooks/ccna/configuring-vtp-transparent-mode-and-vtp-pruning
 
Well luckily it's reversed and the users were placed into the Cisco environment. They inherited a space that had the switches already installed.
 
You should probably just figure out what the current config is before doing anything...but....

Factory Default:
wr erase
delete flash:vlan.dat
reload

If you see any files like:
private-config.text
config.text

I'd delete those too

:)
 
The VLAN1 is the default for that switch. It's to give the switch an IP so you can configure it without the console cable. I would try giving it an IP address first, and see if that does what you're looking for.

conf t
int vlan1
ip add 192.168.x.x 255.255.255.0 <------ IP/Subnet on your network
no shut
exit
ip route 192.168.x.x <----- your gateway
exit
wr mem


You don't need to give each interface an IP/VLAN if you don't want to.
 
ip route doesn't work or do anything unless ip routing is enabled and 2950s don't have that capability.

ip default-gateway is the correct command.
 
Are you strictly talking about the management interface on VLAN1? Your question is unclear.. I'm not sure what you mean by 'VLAN1 was disabled' and you 'understand why'.

Are there other VLANs configured? What are the trunks like? The only way we can truly help is if you post configs and explain what it does and then what you'd like it to do instead.
 
No config.. we cant really help you through assumption. Get that config and lets see where we stand. :)
 
Back
Top