Question Locked

Cant change Ip address of Cisco 2950 Switch

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Dear can any body tell me the Problem

i had start Switch
Switch>
Switch>Enable
Switch# Config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
switch(config)#interface fastEthernet 0/1
switch(config-if)#
switch(config-if)#ip ?
Interface IP configuration subcommands:
access-group Specify access control for packets
dhcp DHCP
igmp IGMP interface commands
********************************
switch(config-if)#ip address 192.168.0.24 255.255.255.0
^
% Invalid input detected at '^' marker.

*****************************************
i am facing these problem so can any body helpto change the Ip oris there any mistakein my procedure
thanks
Regards
Fayaz ahmed
fayaz@frcpk.com

7 replies

by cg it

config t
2950(config)#int vlan1
2950(config-ip)#ipaddress 192.168.0.24255.255.255.0
2950(config-if)#no shut
2950(config-if)#exit

note: all ports on 2950 Catalyst are, by default, members of Vlan1. your output looks like configuring a 1900 Catalyst.

by muddin

I had the same issue. Could not change IP address on the switch.
just done with your help! by int vlan1

I thought you assign IP to actual switch, not on any VLAN. please clarify.

Thanks.

by muddin

Hi Fayaz,

Did you receive your answer? I am having same problem with a cisco 2950.

Best Regards.

by ctmoore1998

Yes you are assigning an IP to the fast interface 0/1 which is not the IP address of the switch itself. You need to access the VLAN properties to change the address of the switch itself. do a running config to get the current settings.

by muddin

Try this

config t
2950(config)#int vlan1
2950(config-ip)#ipaddress 192.168.0.24255.255.255.0
2950(config-if)#no shut
2950(config-if)#exit

by bzaidipk

2950>enable
2950#configure terminal
2950(config)#hostname 2950
2950(config)#interface vlan1
2950(config-vlan)#ip address 172.16.2.3 255.255.255.0
2950(config-vlan)#exit
2950(config)#ip default-gateway 172.16.2.2
2950(config)#end
2950#copy running-config startup-config

This discussion is closed to new replies.