Skip navigation
Login   |   Register
Cisco Learning Home > Learning Center > Discussions


36657 Views 4 Replies Latest reply: Apr 13, 2011 8:37 PM by Rolando RSS

Currently Being Moderated

Lab problem with % Invalid input detected at '^' marker

Apr 9, 2011 9:15 AM

David 11 posts since
Apr 5, 2011

I can't seem to figure out what I'm doing wrong. I'm working on a lab in Packet Tracer, and I'm running into a problem. The lab is asking me to rename the  hostname on a switch, connected to a laptop. I open the 'Terminal", press my enter key, and type 'hostname LOCAL-SWITCH'. It responds by giving me this: "% Invalid input detected at '^' marker." I'm a little stumped. I can type hostname, and it'll try to resolve a hostname unsuccessfully, but that's it.

  • Keith Barker - CCIE RS/Security, CISSP 5,327 posts since
    Jul 3, 2009

    Hello David-


    On the switch you are connected to, does the prompt look similar to this:




    If so, we need to type in "enable" to go into privileged mode, where the prompt will look like this:




    If we are in privileged mode (as above), we would need to go into configuration mode, using:


    configure terminal


    and the prompt should change to this:




    From here, we can change the hostname, using the commands mentioned in the original post.


    Best wishes, and happy studies.



    Join this discussion now: Login / Register
  • Martin 13,882 posts since
    Jan 16, 2009

    this usually means you are in wrong mode (configuration mode); or PT does not support that command or IOS does not support command;


    you can always use ? mark to see all comands avaiable.

    Join this discussion now: Login / Register
  • Scott Morris - CCDE/4xCCIE/2xJNCIE 8,426 posts since
    Oct 7, 2008

    As has been pointed out, commands are certainly context-sensitive whether in user, exec or config modes.


    The good news is that the help feature is ALSO context-sensitive!


    So use "?" and see if you can find the "hostname" command as an option.  





    Join this discussion now: Login / Register
  • Rolando 193 posts since
    Apr 13, 2011

    Scott made a great explanation!

    Is also valid to say that the ^ marker is very helpful it can also marks where could be de problem if we type incorrectly a command.


    For example


    If I type:

    Router(config-if)#ip address 192..168.243.1


    The marker will indicate where is the problem, in the above example the result will be:


    Router(config-if)#ip address 192..168.243.1


    Invalid input detected at '^' marker.



    Which indicate that I type two times the point in the IP address so it will easier to edentify the problem




    Join this discussion now: Login / Register


More Like This

  • Retrieving data ...

Bookmarked By (0)