cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1448
Views
0
Helpful
5
Replies

Catalyst 3560 telnet error - need help

over7volt
Level 1
Level 1

Hi,

I have a Catalyst 3560 and when trying to assign IPs to a port (using telnet to the switch's main IP) I keep getting an error.

Here is the commands as s I am trying to enter them and you can see the error I have highlighted in red below.

SC-153>enable

Password:

SC-153#config t

Enter configuration commands, one per line.  End with CNTL/Z.

SC-153(config)# interface FastEthernet0/23

SC-153(config-if)#IP Address xx.xx.xx.xx 255.255.255.248 Secondary (NOTE: IP  substituted with "xx")

                       ^

% Invalid input detected at '^' marker.

SC-153(config-if)#

========================================================

All  I'm  trying to do is bind a /29 ip block to port #23

Will someone please tell mee WHY I'm ting  what appears to be a syntex errror  or what ever kind of error it is

Thanks for any help

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

It keeps getting an error because you did not enable IP routing.

conf t

ip routing

int f0/23

no switchport

ip address 1.1.1.1 255.255.255.0

no shut

end

Hi,

Thanks for yoru quick reply.

So the commands I need to enter would be?

SC-153>enable

Password:

SC-153#config t

Enter configuration commands, one per line.  End with CNTL/Z.

SC-153(config)# interface FastEthernet0/23

SC-153(config)# no switchport

SC-153(config-if)#IP Address xx.xx.xx.xx 255.255.255.248 Secondary

Is that correct?

Thanks

Hi,

You need to be in interface mode to issue command no switchport

so

SC-153>enable

Password:

SC-153#config t

Enter configuration commands, one per line.  End with CNTL/Z.

SC-153(config)# interface FastEthernet0/23

SC-153(config-if)no switchort

than

SC-153(config-if)#IP Address xx.xx.xx.xx 255.255.255.248 Secondary

SC-153(config-if)no sh

HTH

Where's your command to enable routing??

Hi Guys,

Thanks for your help.

I got the ips routed to the correct port thanks to a Linux engineer I know.

I need a good tutorial on the bare basics for the most common telnet tasks. Something with  examples since I'm completely new to this.

Thanks again