|
This chapter describes the function and displays the syntax for modem and modem line commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Dial Solutions Command Reference.
To support the extended BOOTP request specified in RFC 1084, and to specify information that will be sent in response to BOOTP requests, use the async-bootp global configuration command. To clear the list, use the no form of this command.
async-bootp tag [:hostname] datatag | Item being requested; expressed as filename, integer, or IP dotted decimal address. |
:hostname | (Optional) This entry applies only to the specified host. The argument can be either an IP address or a logical host name. |
data | List of IP addresses entered in dotted decimal notation or as logical host names, a number, or a quoted string. |
The peer default ip address command replaces the async default ip address command.
To enable RIP, OSPF, and IGRP routing protocols on an asynchronous interfaces when using the /routing keyword with the ppp and slip EXEC commands, use the async default routing interface command. To disable this function, use the no form of this command.
async default routingTo specify dynamic asynchronous addressing, use the async dynamic address interface configuration command. To disable dynamic addressing, use the no form of this command.
async dynamic addressTo allow the use of routing protocols on an interface, use the async dynamic routing interface configuration command. To disable the use of routing protocols, use the no form of this command.
async dynamic routingTo configure the Cisco IOS software to automatically execute a command when a user connects to a particular line, use the autocommand line configuration command.
autocommand commandcommand | Any appropriate EXEC command, including the host name and any switches that occur with the EXEC command. |
To configure automatic line disconnect, use the autohangup line configuration command. This command causes the EXEC to issue the exit command when the last connection closes.
autohangupTo return a terminal line to idle state, use the clear line EXEC command.
clear line line-numberline-number | Absolute line number. |
To allow an EXEC process on a line, use the exec line configuration command. Use the no form of this command to turn off the EXEC process for the specified line.
execTo set the interval that the EXEC command interpreter waits until user input is detected, use the exec-timeout line configuration command. Use the no form of this command to remove the timeout definition.
exec-timeout minutes [seconds]minutes | Integer that specifies the number of minutes. |
seconds | (Optional) Additional time intervals in seconds. An interval of zero specifies no timeouts. |
To set the method of data flow control between the terminal or other serial device and the router, use the flowcontrol line configuration command. Use the no form of this command to disable flow control.
flowcontrol {none | software [lock] [in | out] | hardware [in | out]}none | Turns off flow control. |
software | Sets software flow control. An optional keyword specifies the direction: in causes the Cisco IOS software to listen to flow control from the attached device, and out causes the software to send flow control information to the attached device. If you do not specify a direction, both are assumed. |
lock | Used to make it impossible to turn off flow control from the remote host when the connected device needs software flow control. This option applies to connections using the Telnet or rlogin protocols. |
hardware | Sets hardware flow control. An optional keyword specifies the direction: in causes the software to listen to flow control from the attached device, and out causes the software to send flow control information to the attached device. If you do not specify a direction, both are assumed. For more information about hardware flow control, see the hardware manual that was shipped with your router. |
To create a list of member asynchronous interfaces (associated with a group interface), use the group-range interface configuration command. Use the no form of the command to remove an interface from the member list.
group-range low-end-of-range high-end-of-rangelow-end-of-range | Beginning interface number to be made a member of the group interface. |
high-end-of-range | Ending interface number to be made a member of the group interface. |
To limit the size of the IP output queue, use the hold-queue interface configuration command. To return the output queue to the default size, use the no form of this command.
hold-queue packetspackets | Maximum number of packets. The range of values is 0 to 65535. |
To configure an access list to be used for packets transmitted to and from the asynchronous host, use the ip access-group interface configuration command. To disable control over packets transmitted to or from an asynchronous host, use the no form of this command.
ip access-group access-list-number {in | out}access-list-number | Assigned IP access list number. |
in | Defines access control on packets transmitted from the asynchronous host. |
out | Defines access control on packets being sent to the asynchronous host. |
To specify the size of the largest Internet packet, use the ip mtu interface configuration command. To return to the default MTU size of 1500 bytes, use the no form of this command.
ip mtu bytesbytes | Maximum number of bytes. The range of values is 64 to 1000000. |
To identify a specific line for configuration and start the line configuration command collection mode, use the line global configuration command.
line [aux | console | tty | vty] line-number [ending-line-number]aux | (Optional) Auxiliary EIA/TIA-232 DTE port. Must be addressed as relative line 0. The auxiliary port can be used for modem support and asynchronous connections. |
console | (Optional) Console terminal line. The console port is DCE. |
tty | (Optional) Standard asynchronous line. |
vty | (Optional) Virtual terminal for remote console access. |
line-number | The relative number of the terminal line (or the first line in a contiguous group) that you want to configure when the line type is specified. Numbering begins with zero. |
ending-line-number | (Optional) The relative number of the last line in a contiguous group that you want to configure. If you omit the keyword, then line-number and ending-line-number are absolute rather than relative line numbers. |
To alter the configuration of an asynchronous interface that is a member of a group, use the member interface configuration command. Use the no form of the command to restore defaults set at the group master interface.
member number interface-commandnumber | Number of the asynchronous interface to be altered. |
interface-command | One or more of the following commands entered for this specific interface:
· peer default ip address · description |
To support dial-in modems that use the data terminal ready (DTR) signal to control the off-hook status of the modem, use the modem callin line configuration command. Use the no form of this command to disable this feature.
modem callinTo configure a line for reverse connections, use the modem callout line configuration command. Use the no form of this command to disable this feature.
modem calloutThe modem printer command replaces the modem cts-required command. Refer to the description of the modem printer command for more information.
To configure a line to enable a modem attached to the router to accept incoming calls only, use the modem dialin line configuration command. Use the no form of this command to disable this feature.
modem dialinTo configure a line to leave data terminal ready (DTR) signals low, unless the line has an active incoming connection or an EXEC process, use the modem dtr-active line configuration command. Use the no form of this command to disable this feature.
modem dtr-activeTo configure a line for reverse connections where hardware flow control is also required, use the modem host line configuration command. Use the no form of this command to disable the line modem control for reverse connections.
modem hostTo configure a line for both incoming and outgoing calls, use the modem inout line configuration command. Use the no form of this command to disable this feature.
modem inoutTo configure a line to require a data set ready (DSR) signal, use the modem printer line configuration command. Use the no form of this command to use CTS instead of DSR.
modem printerThe modem dialin command replaces the modem ri-is-cd command. Refer to the description of the modem dialin command for more information.
To enable the NetBIOS Frames Protocol (NBF) on an interface, use the netbios nbf interface configuration command. To disable NetBIOS Frames Protocol support on an interface, use the no form of this command.
netbios nbfTo specify the mode of a slow-speed serial interface on a router as either synchronous or asynchronous, use the physical-layer interface configuration command. Use the no form of this command to return the interface to its default mode, which is synchronous.
physical-layer {sync | async}sync | Place the interface in synchronous mode. |
async | Place the interface in asynchronous mode. |
To define a group of lines consisting of one of more lines, use the rotary line configuration command. Use the no form of this command to remove a line or group of lines from a rotary group.
rotary groupgroup | Integer between 1 and 100 that you choose to identify the rotary group. |
To specify that a chat script start on a physical terminal line any time the line is activated, use the script activation line configuration command. Use the no form of this command to disable this feature.
script activation regexpregexp | Regular expression that specifies the set of modem scripts that might be executed. The first script name that matches the argument regexp will be used. |
To specify that a chat script start on a physical terminal line any time a remote network connection is made to a line, use the script connection line configuration command. Use the no form of this command to disable this feature.
script connection regexpregexp | Specifies the set of modem scripts that might be executed. The first script name that matches the argument regexp will be used. |
To specify that a chat script start on a physical terminal line any time the specified line is reset, use the script reset line configuration command. Use the no form of this command to disable this feature.
script reset regexpregexp | Specifies the set of modem scripts that might be executed. The first script name that matches the argument regexp will be used. |
To specify that a chat script start on a physical terminal line any time the router is powered up, use the script startup line configuration command. Use the no form of this command to disable this feature.
script startup regexpregexp | Specifies the set of modem scripts that might be executed. The first script that matches the argument regexp will be used. |
To display the parameters that have been configured for extended BOOTP requests, use the show async bootp privileged EXEC command.
show async bootpTo display the status of activity on all lines configured for asynchronous support, use the show async status privileged EXEC command.
show async statusTo display a terminal line's parameters, use the show line EXEC command.
show line [line-number]line-number | (Optional) Absolute line number of the line for which you want to list parameters. |
To display the values set for the current modem, use the show modemcap command. This display lists the modems for which the router has entries. To display the attributes associated with a specific modem, use the show modemcap modem-name command.
show modemcap modem-namemodem-name | The name of the modem (such as Codex_3260). |
Use the show nbf cache user level EXEC command to display NetBIOS name cache contents.
show nbf cacheUse the show nbf sessions user level EXEC command to view NetBEUI connection information.
show nbf sessionsTo display information about the active lines on the router, use the show users user EXEC command.
show users [all]all | (Optional) Specifies that all lines be displayed, regardless of whether anyone is using them. |
To set the flow control start character, use the start-character line configuration command. Use the no form of this command to remove the character.
start-character ascii-numberascii-number | Decimal representation of the start character. |
To specify that a chat script start on a specified line at any point, use the start-chat privileged EXEC command. Use the no form of this command to stop the chat script.
start-chat regexp [line-number [dialer-string]]regexp | Specifies the name of a regular expression or modem script to be executed. If there is more than one script with a name that matches the argument regexp, the first script found will be used. |
line-number | (Optional) Indicates the line number on which to execute the chat script. If you do not specify a line number, the current line number is chosen. If the specified line is busy, the script is not executed and an error message appears. If the dialer-string argument is specified, line-number must be entered; it is not optional if you specify a dialer string. This command functions only on physical terminal (TTY) lines. It does not function on virtual terminal (VTY) lines. |
dialer-string | (Optional) String of characters (often a telephone number) to be sent to a DCE. If you enter a dialer string, you must also specify line-number, or the chat script regexp will not start. |
To set the flow control stop character, use the stop-character line configuration command. Use the no form of this command to remove the character.
stop-character ascii-numberascii-number | Decimal representation of the stop character. |
|