morgb
10-22-2002, 08:55 AM
Hi Folks,
Firstly I have no experiance in scripting at all :(
I need a script that will allow me to Login to a cisco router :-
- Telnet "IP Adress" enter
- I then need to present a "username" enter
- I then need to present a "password" enter
- After this I need to enter enable mode "enable" enter
-
I now need to isssue a command "clear nat *" enter
- Then exit the router with "quit" enter
Sounds simple, although I dont know any way of storing the above variables
any help would be appreciated.
Cheers. :D
Firstly I have no experiance in scripting at all :(
I need a script that will allow me to Login to a cisco router :-
- Telnet "IP Adress" enter
- I then need to present a "username" enter
- I then need to present a "password" enter
- After this I need to enter enable mode "enable" enter
-
I now need to isssue a command "clear nat *" enter
- Then exit the router with "quit" enter
Sounds simple, although I dont know any way of storing the above variables
any help would be appreciated.
Cheers. :D