Cisco Cat2900 switch VLAN 1 config

Unanswered Question
May 31st, 2007
User Badges:

Can please some one help me

I have a Cisco CAT2900 switch and im having trouble pinging it, even though it is processing data and makes my home network live. My PC is connected to fa0/2 port annd port fa0/1 is plugged into my Linksys router acting as the gateway to the Internet.

Now all is fine on the network I can browse the web and router but I cant ping the switch.

I have a been onto the switch using a console cable in back of the switch and configured the IP as on VLAN1 (Bare in mind that the Linksys router uses the private IP of but im still unable to ping the switch.

Would I have to ensure VLAN 1 is still the default vlan, could it of been changed for example to vlan 2??? I have noticed when I do a show runing-config that every port has VLAN 200, what is this?? Why the 200.

What is the basic way to configure an IP for a switch so that I can ping it, im sure ive set it correct at the privelage prompt -

switch>#ip address

Just this cmd give the switch a IP so you can telnet into it and ping it or is there more I need to do, like assign it to a port etc..

Any help much appreciated.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
glen.grant Thu, 05/31/2007 - 07:27
User Badges:
  • Purple, 4500 points or more

No every port should not be in vlan 200. Do a "write erase" on the switch then reload it , this will wipe everything out to defaults . In order to ping the switch it would have to have a address in the 192.168.1.X address space , all ports should be in vlan 1.

ankbhasi Thu, 05/31/2007 - 07:30
User Badges:
  • Cisco Employee,

Hi Friend,

This is a paure layer 2 switch so will not do any routing. Now your pc is on vlan 200 as you said all your ports are configured for vlan 200 I believe you linksys router is also on vlan 200 on port 1.

So I will say to configure vlan interface on your 2900 switch for same vlan which is vlan 200 and assign same subnet ip address which is on your linksys router which is 192.168.1.x subnet and your machine.

Something like this

interface vlan 200

ip address 192.168.1.x

no shut

I believe you will be able to ping and telnet to your switch.



*Pls rate all helpfull post

gsalmon444 Sun, 06/03/2007 - 12:05
User Badges:

Ok thanks for reply, both of you. I will first try the vlan200 setup as we are almost there on this 200 vlan. I will change the switch vlan ports to vlan200 and see if we can go from there.

If not I wwilol want to do a write-erase on the switch to set to defaults, can anyone pleae advise how to do this, in case I go down this route.


mark.j.hodge Mon, 06/04/2007 - 03:04
User Badges:
  • Bronze, 100 points or more

To completely clear the switch configuration, from "enable" mode run

write erase

you may also want to remove any VLAN counfiguration the command

delete vlan.dat

Then reboot the swith with the reload command.

gsalmon444 Mon, 06/04/2007 - 03:26
User Badges:

ok thanks again for help, much appreciated ill let you now how i get on in the week.

gsalmon444 Thu, 06/07/2007 - 10:06
User Badges:

Ok, so I ended up setting the switch back to its defaults using the write-erase cmd. It now works like I want it to. There must of been something stopping me from setting up how it is now!

Well thanks for help guys. For now anyway


This Discussion