Autoselect

CiBCO.goni

After configuring the async mode interactive command, the second step is to configure the corresponding terminal line or lines with the autoselect ppp command:

Router(config)# line 1

Router(config-line)# autoselect ppp during-login

The PPP autoselect feature configures an access server terminal line to provide either a PPP session or an EXEC session, based on input from the remote host. Essentially, this feature allows the remote host to determine the session type. The access server automatically detects which type of session is being requested, and responds accordingly.

The autoselect command permits the access server to allow an appropriate process to start automatically when a starting character is received:

■ If the start character is a Return character, then the access server starts an EXEC session. Therefore, users who want to begin an EXEC session typically must press the Return key after establishing a dialup connection.

■ If the access server recognizes the start character as PPP, it will begin a session for whichever protocol it detects. Therefore, if an end user is using a program that sends a PPP frame, the access server will automatically start a PPP session.

Note PPP frames always start with a flag character having the value 7E in hexadecimal (or

01111110 in binary) format.

The during-login optional parameter of the autoselect command causes the username and password prompt to display in the remote host terminal window without the user having to press the Return key.

After a host has established an EXEC session, the remote user can switch to a PPP session at any time by issuing the ppp command from privileged EXEC mode router prompt.

Note With synchronous connections, there is no differentiation between an EXEC session and a

PPP session. Normally, the user would use the synchronous PPP connection the same as an asynchronous PPP session. A user who needed to start an EXEC session on the router would use Telnet to access the router CLI.

0 0

Post a comment