command question
hectorjhrdz
Member Posts: 127
in CCNP
hi everybody i have the next problem
when i perform a telnet on a 7200 router and i write a wrong ip address
the router yields this:
Trying 129.56.81.111 ...
that's not the problem, the problem is when i want to interrupt this process i perform ctrl+z, or ctrl+c, or crtl+break and i can't stop it after 30 secs which is a long time!!
can you give some advice or some command or combination to interrupt immeadtly any process like that?
thnks a lot guys
when i perform a telnet on a 7200 router and i write a wrong ip address
the router yields this:
Trying 129.56.81.111 ...
that's not the problem, the problem is when i want to interrupt this process i perform ctrl+z, or ctrl+c, or crtl+break and i can't stop it after 30 secs which is a long time!!
can you give some advice or some command or combination to interrupt immeadtly any process like that?
thnks a lot guys
Comments
-
BubbaJ Member Posts: 323Use no ip domain-lookup. This will prevent a lookup when you type a bogus command. otherwise, you will need to change the config-register to respond to a break.
-
EdTheLad Member Posts: 2,111 ■■■■□□□□□□I dont think BubbaJ read the question correctly, to stop the telnet do ctrl+shift+6 afew times and that should do the trick.What bubbaJ mentioned will disable the domain lookup which can be annoying after entering the wrong command.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
-
BubbaJ Member Posts: 323ed_the_lad wrote:I dont think BubbaJ read the question correctly, to stop the telnet do ctrl+shift+6 afew times and that should do the trick.What bubbaJ mentioned will disable the domain lookup which can be annoying after entering the wrong command.
-
BubbaJ Member Posts: 323You could also use ip host to put in the correct address so you don't mistype it. This is useful if you use the same address a lot, and makes reverse telnet much easier.
-
hectorjhrdz Member Posts: 127m mmmmm i already was wondering about that idea but it's imperative that i need to check with my boss.............
thnks a lot guys -
Yankee Member Posts: 157The question really was how do I break out of a failed telnet attempt and the answer is there is no good way other than wait for the annoying timeout. I do not advise using the ip host command on production routers, especially if your network is large. Save that command for use on term servers.
What you saw will occur if you attempt to telnet to an unreachable address (either a typo or a down remote site/interface).
Yankee -
BubbaJ Member Posts: 323Yankee wrote:I do not advise using the ip host command on production routers, especially if your network is large. Save that command for use on term servers.