Question

Locked

Cant change Ip address of Cisco 2950 Switch

By fayaz ·
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

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

2950

by CG IT In reply to Cant change Ip address of ...

config t
2950(config)#int vlan1
2950(config-ip)#ip<space>address<space> 192.168.0.24<space>255.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.

Collapse -

2950 catalyst

by muddin In reply to 2950

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.

Collapse -

Cisco 2950

by muddin In reply to Cant change Ip address of ...

Hi Fayaz,

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

Best Regards.

Collapse -

cisco 2950

by ctmoore1998 In reply to Cant change Ip address of ...

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.

Collapse -

Cisco 2950

by muddin In reply to Cant change Ip address of ...

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

Collapse -

Configure it by vlan

by bzaidipk In reply to Cant change Ip address of ...

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

Back to Networks Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums