RE: autocommand

From: Mohammed Al-zubi (mohammed@sulafsolutions.com)
Date: Sat Feb 08 2003 - 05:14:29 GMT-3


Here you go, the command description:

autocommand
To automatically execute a command when a user connects to a particular
line, use the autocommand command in line configuration mode. To disable the
automatic execution, use the no form of this command.

autocommand command
no autocommand command
Syntax Description

command
 Any appropriate EXEC command, including the host name and any switches that
occur with the EXEC command.

Defaults

No commands are configured to automatically execute.

Command Modes

Line configuration

Command History

Release Modification
10.0
 This command was introduced.

Usage Guidelines

This command enables you to automatically execute an EXEC command when a
user connects to a line.

Examples

The following example forces an automatic connection to a host named host21
(which could be an IP address):

line vty 4
 autocommand connect host21

Hopefully that helps,
Mohammed

<><><><><><><><><><><><><><><><><><><><>
Mohammed Al-Zubi
VP Professional Services
24 Werner Ave. #21
Daly City, CA 94014
Tel: (650) 438-6384
Fax: (720) 293-4897
Email: mohammed@sulafsolutions.com
Web: www.sulafsolutions.com

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Ishaq
Sent: Friday, February 07, 2003 10:41 AM
To: ccielab@groupstudy.com
Subject: autocommand

hi, please can anyone advice where on cco i can find a authorative document
explaing the autocommand command. the documents that i have come across only
give one subcommand that can be used with the autocommand command, and tying
a
question mark after the autocommand whether under the username or the line
vty
does not give many options but i know that that there are commands that will
work even thou they're not listed when you type the question mark.

many thanks, in advance.

mohammad
.
.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:16 GMT-3