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

Hello,

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 192.168.100.3 255.255.255.0
switch(config-if)# exit
switch(config)#exit
switch# wr

When I try to ping 192.168.100.3 from the console there are no replies.  Is there anything I am doing wrong?
evansjamAsked:
Who is Participating?
 
wgray05Connect With a Mentor Commented:
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.
0
 
evansjamAuthor Commented:
Yes it is.  I looked at the SH ip VLAN 1 and it is down.
0
 
wgray05Connect With a Mentor Commented:
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.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
wgray05Commented:
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(config)#exit
switch# wr

0
 
RKinspConnect With a Mentor Commented:
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.

-RK
0
 
CigeoSenior 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>
0
 
kdearingConnect With a Mentor Commented:
@RKinsp is correct.
The VLAN will stay down until an assigned port comes up.
0
 
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?
0
 
CigeoSenior Network EngineerCommented:
Can you post the run config ?
0
 
CigeoConnect With a Mentor Senior Network EngineerCommented:
Can you try to configure a loopback lets say 10.0.0.0 255.255.255.255 and the try to ping...
0
 
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.

Cheers,
James
0
All Courses

From novice to tech pro — start learning today.