Полезная информация http://www.grossprint.info/

cc/td/doc/product/software/ios120/12cgcr/dial_r
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Asynchronous Callback Commands

Asynchronous Callback Commands

This chapter describes the commands used to configure the Cisco IOS software to call back an asynchronous device that dials in and requests a callback from the router, then disconnects.

For configuration tasks and examples, refer to the chapter "Configuring Asynchronous Callback" in the Dial Solutions Configuration Guide.

arap callback

To enable an ARA client to request a callback, use the arap  callback global configuration command. Use the no form of this command to disable callback requests.

arap callback
no arap callback

Syntax Description

This command has no arguments or keywords.

Default

Callback requests are not accepted on lines configured for ARA.

Command Mode

Global configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 11.1.

This command enables the router to accept callback requests from ARA clients. You first have to enable AppleTalk routing on the router and then enable automatic ARA startup on the line. You can use this command with either local username authentication or TACACS+ authentication.

Example

The following example accepts a callback request from an ARA client:

arap callback

Related Commands

You can use the master indexes or search online to find documentation of related commands.

arap authentication
autoselect ara
callback forced-wait
ppp  authentication
ppp callback
service exec-callback
username

callback forced-wait

To force the Cisco IOS software to wait before initiating a callback to a requesting client, use the callback  forced-wait global configuration command. Use the no form of this command to disable the forced waiting period.

callback forced-wait
no callback forced-wait

Syntax Description

This command has no arguments or keywords.

Default

The forced waiting period is not set.

Command Mode

Global configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 11.1.

Use this command when the router is calling back a modem that initiated a call, then dropped the connection, but requires a rest period before subsequent input is accepted.

Example

The following example sets a waiting period during which a callback chat script is delayed from being sent on an outgoing target line:

callback-forced-wait 

Related Commands

You can use the master indexes or search online to find documentation of related commands.

arap callback
chat-script
debug callback
ppp callback
service exec-callback
username

ppp callback

To enable a PPP client to dial into an asynchronous interface and request a callback, use the ppp  callback interface configuration command. Use the no form of this command to disable callback acceptance.

ppp callback {accept | initiate}
no ppp callback

Syntax Description

accept

Accept callback requests from RFC1570-compliant PPP clients on the interface.

initiate

Initiate a callback to non-RFC1570-compliant PPP clients dialing in to an asynchronous interface.

Default

Callback requests are not accepted on asynchronous interfaces.

Command Mode

Interface configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 11.0.

This command enables the Cisco IOS software to accept callback requests entering asynchronous interfaces configured for PPP callback. PPP callback can only be initiated if the interface is configured for authentication using CHAP or PAP.

Examples

The following example accepts a callback request from an RFC-compliant PPP client:

ppp callback accept

The following example accepts a callback request from a non-RFC-compliant PPP client:

ppp callback initiate

Related Commands

You can use the master indexes or search online to find documentation of related commands.

arap callback
autoselect ppp
callback-forced-wait
ppp  authentication
username

script arap-callback

To specify that a chat script start on a line any time an AppleTalk Remote Access (ARA) client requests a callback, use the script arap-callback line configuration command. Use the no form of this command to disable this feature.

script arap-callback regexp
no script arap-callback

Syntax Description

regexp

Regular expression that specifies the set of modem scripts that might be executed. The first script name that matches the argument regexp is used.

Default

Not assigned to terminal lines

Command Mode

Line configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 11.1.

This command specifies that if an originating ARA client requests callback, the device will be disconnected and the chat script defined by the argument regexp will be executed to call back the client. The first available line specified for callback, and for which a chat script has been applied, will be used for the callback.

Create a chat script using the chat script command.

The script arap-callback command functions only on physical terminal (TTY) lines. It does not function on virtual terminal (VTY) lines.

Example

The following example specifies that a chat script with a name that includes usr4 will be activated whenever a client requests a callback on line 4:

line 4
 script arap-callback usr4

Related Commands

You can use the master indexes or search online to find documentation of related commands.

chat-script
script activation
script callback
script connection
script dialer
script reset
script startup
start-chat

script callback

To specify that a chat script start on a line any time a client requests a callback, use the script callback line configuration command. Use the no form of this command to disable this feature.

script callback regexp
no script callback

Syntax Description

regexp

Regular expression that specifies the set of modem scripts that might be executed. The first script name that matches the argument regexp is used.

Default

Not assigned to terminal lines

Command Mode

Line configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 11.1.

This command specifies that if an originating client requests callback, the device will be disconnected and the chat script defined by the argument regexp will be executed to call back the client. The first available line specified for callback, and for which a chat script has been applied, will be used for the callback.

Create a chat script using the chat script command.

The script callback command functions only on physical terminal (tty) lines. It does not function on virtual terminal (vty) lines.

Example

The following example specifies that the chat script with a name that includes supra4 will be activated whenever a client requests a callback on line 4:

line 4
 script callback supra4

Related Commands

You can use the master indexes or search online to find documentation of related commands.

chat-script
script activation
script connection
script dialer
script reset
script startup
start-chat

service exec-callback

To enable the Cisco IOS software to call back clients who request a callback from the EXEC level, use the service exec-callback global configuration command.

service exec-callback

Syntax Description

This command has no arguments or keywords.

Default

Callback is not enabled.

Command Mode

Global configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 11.1.

This command enables the Cisco IOS software to return a call to a device that dials in, connects to the EXEC, and requests callback.

Example

The following example enables EXEC level callback:

service exec-callback

Related Commands

You can use the master indexes or search online to find documentation of related commands.

arap callback
callback forced-wait
debug callback
debug confmodem
ppp callback
username


hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.