Cisco 1005 - 1005 Router Manual do Utilizador Página 7

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 10
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 6
Note 1: The initialization string in the modemcap edit command is entered without a preceding AT and
without the terminating &W.
Note 2: The modemcap_name in the above commands should not be the same as one of the predefined
entries listed by the show modemcap command.
Note 3: The initialization string should begin with the command to reset to defaults (typically &F or &F1).
Note 4: For this method to work, the modem must be configured with echo and response codes turned on.
Modems usually come from the factory with these values set, but you may need to manually reverse telnet
to the modem and issue the command to turn on echo and response. The usual command to do this is
ATE1Q0. Check your modem documentation.
Creating a Chat Script
To configure a chat script for configuring a modem, use the global configuration command:
chat-script <script-name> AT OK "initialization string" OK
The chat script can be invoked manually for a single line with the command:
start-chat <script-name> <line-number>
The chat script can also be invoked automatically by adding the command below to the line configuration:
script startup <script-name>
script reset <script-name>
The chat script will be invoked every time the system reloads, the line resets at the termination of a session,
or the line is cleared manually.
To verify that the chat script is functioning properly, use the debug chat command.
Note: For this method to work, the modem must be configured with echo and response codes turned on.
Modems usually come from the factory with these values set, but you may need to manually reverse telnet
to the modem and issue the command to turn on echo and response. The usual command to do this is
ATE1Q0. Check your modem documentation.
Reverse Telnetting
To establish a reverse telnet connection, issue the following command:
telnet x.x.x.x 2yyy or [2000+yyy]
The x.x.x.x represents the IP address of any up/up interface on the Cisco router (for example, an Ethernet or
Loopback) and yyy is the line number to which you want to connect. If the TTY line has already been
configured, you can issue the telnet command from anywhere on the network that can ping the x.x.x.x
interface.
Keep in mind that the AUX port of any router is the last async line number + 1. You can use the show line
or show line aux 0 command to see which line number this is.
If your connection is refused, this usually means that there is already a connection to that port, or there is an
EXEC (prompt) running on that port. The cause could be that the modem failed to lower CD after a call
disconnected, resulting in an EXEC that remains after the disconnect. In order to force the line back into an
idle state, you can clear the line from the console to try again. If it still fails, make sure that you have set the
modem inout and transport input all | telnet commands for that line. Also be sure that the modem is not
set to override DTR (for example, as the USR modems can do with DIP switch settings). If you don't have
modem control (as in pre-9.21 AUX ports), be sure to set the no exec command on the line before making a
reverse connection. You can also try to configure the modem using an external terminal. As a last resort,
Vista de página 6
1 2 3 4 5 6 7 8 9 10

Comentários a estes Manuais

Sem comentários