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?
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.

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
from_expCommented:
please paste your switch config here
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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
from_expCommented:
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

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
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
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.