December 2001
Intermediate to advanced
608 pages
25h 14m
English
autocommand — line
autocommand command-string
no autocommandAutomatic execution of a command upon connection
Disabled
This command forces a specified line command, given by
command-string, to be executed
automatically when a login session is started. The command string can
be any valid command. Use the no form to delete
the selected autocommand.
The following code starts PPP automatically after a successful login on line 5:
Router(config)#line tty 5Router(config-line)#autocommand ppp
Read now
Unlock full access