ZyXEL Communications 3.1 ユーザーズマニュアル

ページ / 386
 Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
91
6.12.1  Auxiliary Interface Command Examples
The following commands show you how to set up the auxiliary interface aux with the following 
parameters: phone-number 0340508888, tone dialing, port speed 115200, initial-string ATZ, 
timeout 30 seconds, username kk, password kk@u2online, chap-pap authentication, and 
description “I am aux interface”.
The following commands show how to dial, disconnect, and stop the auxiliary interface.
[no] phone-number phone
Specifies the phone number of the auxiliary interface. You can use 1-20 
numbers, commas (,), or plus signs (+). Use a comma to pause during dialing. 
Use a plus sign to tell the external modem to make an international call. The 
no
 command clears the phone number.
[no] port-speed {9600 | 19200 | 
38400 | 57600 | 115200}
Specifies the baud rate of the auxiliary interface. The 
no
 command sets the 
baud rate to 115200.
[no] username username
Specifies the username of the auxiliary interface. The 
no
 command clears the 
username.
username
: You can use alphanumeric, underscores (_), dashes (-), periods (.), 
and 
/@$
 characters, and it can be up to 64 characters long.
Table 39   
interface Commands: Auxiliary Interface (continued)
COMMAND
DESCRIPTION
Router# configure terminal
Router(config)# interface aux
Router(config-if-aux)# phone-number 0340508888
Router(config-if-aux)# dialing-type tone
Router(config-if-aux)# port-speed 115200
Router(config-if-aux)# initial-string ATZ
Router(config-if-aux)# timeout 30
Router(config-if-aux)# username kk
Router(config-if-aux)# password kk@u2online
Router(config-if-aux)# authentication chap-pap
Router(config-if-aux)# description I am aux interface
Router(config-if-aux)# exit
Router# interface dial aux
Router# interface disconnect aux