328
C
20: DCC C
HAPTER
Example
dialer timer wait-carrier
Syntax
View
Parameter
Description
Example
dialer user
Syntax
View
Parameter
C
ONFIGURATION
OMMANDS
A link idle-timeout timer starts upon setup of a link. If no interesting packets are
present before the timer expires, DCC disconnects the link.
If the timer is set to 0, the link will never be disconnected, regardless of whether
there are interesting packets on the link or not.
# Set the link idle-timeout timer to 50 seconds on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] dialer timer idle 50
dialer timer wait-carrier seconds
undo dialer timer wait-carrier
Dial interface (physical or dialer) view
seconds: Wait-carrier timer value, setting the time waiting for call setup. This
argument ranges from 0 to 65,535 (in seconds).
Use the
dialer timer wait-carrier
Use the
undo dialer timer wait-carrier
The wait-carrier timer defaults to 60 seconds.
Sometimes, the time that DCC waits for a connection to be established may vary
call by call. To handle this situation, you may use a wait-carrier timer. A wait-carrier
timer starts when a call is placed. If the connection is not established upon
expiration of the timer, DCC terminates the call.
# Set the wait-carrier timer to 100 seconds on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] dialer timer wait-carrier 100
dialer user username
undo dialer user
Dialer interface view
username: Remote username for PPP authentication, a string of 1 to 80
characters.
command to set the wait-carrier timer.
command to restore the default.