Giving IP address for cisco 2950 that is part of the VLAN

Dear All,

  I have several VLAns configured on my network,  now Im trying to give an IP address for the switches ( cisco 2950) and enable the telnet access, what Im doing is as follow

1- Interface vlan1
2- Ip address 192.168.1.1 255.255.255.0
3- No shut

but still i can not access ot ping this ip from the same vlan( my pc), please advice in what has to be done in order to give the IP or telnet.
Do I have to reload the router?

Thanks
LVL 2
ibmas4002Asked:
Who is Participating?
 
from_expConnect With a Mentor Commented:
no, you don't need to reload the switch.
can you ping switch from the switch itself?
does all ports are under vlan1? or some different vlan?
if they are all under some vlan X do the following:
conf t
int vlan1
no ip address
int vlanX
ip address x.x.x.x 255.255.255.0
no shu
end
0
 
from_expCommented:
do you have ports in this vlan?
it is possible ports of the switch are within different vlan.
if you are trying to connect your switch from another subnet, don't forget to configure default-gateway for the switch.

post here your config also
0
 
ibmas4002Author Commented:
Hi

I have configured the Gateway but same
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
from_expCommented:
please paste your switch config here
0
 
ibmas4002Author Commented:
Im a way now from office, but see the switch ports are all under the same VLAN, do I need to reload the switch?


0
 
ibmas4002Author Commented:
Yes I can ping the switch from inside, and yes all the ports are part of VLANx not VLAN1, do you think that I have to do

conf t
int vlan1
no ip address
int vlanX
ip address x.x.x.x 255.255.255.0
no shu
end
Thanks
0
 
that1guy15Commented:
If you want to be able to access via telnet then you need the following commands

line vty 0 4
password "yourpassword"
login
exit
service password-encryption (this encrypts your service passwords so they do not display in show run)

If the vlan all your devices in and the ip address assigned to the Admin vlan?
0
All Courses

From novice to tech pro — start learning today.