I cannot PING VLAN 1 from the console on my Cisco Catalyst 2960


I made the following configurations on a freshly reset switch and I cannot PING it from the managmement console.

switch# conft
switch(config)#int VLAN 1
switch(config-if)#ip address
switch(config-if)# exit
switch# wr

When I try to ping from the console there are no replies.  Is there anything I am doing wrong?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Is the IP address you are pinging from on that subnet? If not, then you need to set the default gateway,

ip default-gateway 192.168.100.x

Also, at the switch console prompt, type "sh ip int Vlan3" and verify that the Vlan interface is up.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
evansjamAuthor Commented:
Yes it is.  I looked at the SH ip VLAN 1 and it is down.
The VLAN is probably administratively down then.. Go into the vlan config and type,

no shutdown

exit back to the main console screen and see if the ping works.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

From your config above, here would be the steps:

switch# conft
switch(config)#int VLAN 1
switch(config-if)# no shutdown
switch(config-if)# exit
switch# wr

afaik Interface VLAN will stay down until at least 1 port on that VLAN goes up.

Plug anything on a port on VLAN 1 and try again.

George FakisSenior Network EngineerCommented:
Try als to configure a default gateway to the switch and then try again

Switch(config)#ip default-gateway <ip_to_the_router>
@RKinsp is correct.
The VLAN will stay down until an assigned port comes up.
evansjamAuthor Commented:
Hello all and sorry for the late replies.  My Internet is back up and running again.  Two of the ports that are within VLAN 1 are up.  I do not have the switch attached to a router so do not need to configure a default gatway (I have not done this in the past).  Sadly I still cannot PING VLAN 1 from the console.  Is there anything else I can try?
George FakisSenior Network EngineerCommented:
Can you post the run config ?
George FakisSenior Network EngineerCommented:
Can you try to configure a loopback lets say and the try to ping...
evansjamAuthor Commented:
Hello all.

Thanks for your help but I managed to find the problem.  I did not issue the command "No Shut" on VLAN 1.  Now that this has been issued I can ping it.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.