05-30-2012 04:49 PM
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
05-30-2012 05:27 PM
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
05-30-2012 06:06 PM
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
05-30-2012 06:19 PM
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
05-31-2012 03:15 PM
Where's your command to enable routing??
05-31-2012 03:36 PM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: