334
C
20: DCC C
HAPTER
Example
ppp callback
Syntax
View
Parameter
Description
Example
ppp callback ntstring
Syntax
C
ONFIGURATION
OMMANDS
The physical interfaces in C-DCC and Resource-Shared DCC do not use individual
network addresses. Instead, they use the addresses of the corresponding dialer
interfaces.
In both C-DCC and RS-DCC, physical interfaces use the network addresses of their
associated dialer interface rather than being assigned separate addresses.
# Create dialer interface Dialer1.
<Sysname> system-view
[Sysname] interface dialer 1
ppp callback { client | server }
undo ppp callback { client | server }
Dial interface (physical or dialer) view
client: Sends callback requests as the PPP callback client.
server: Accepts callback requests as the PPP callback server.
Use the
ppp callback
send or accept PPP callback requests.
Use the
undo ppp callback
callback server or client.
By default, callback is disabled.
PPP callback adopts the client/server model where the calling party is the callback
client and the called party is the callback server. The client first originates a call,
and the server decides whether to originate a return call. If a return call is needed,
the callback server disconnects and then originates a return call according to the
information such as username or callback number.
This is useful for saving cost in the case that the call rates in two directions are
different.
# Configure interface Serial 2/0 as the PPP callback server to accept callback
requests.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp callback server
ppp callback ntstring dial-number
command to specify the interface as the server or client to
command to disable the interface as the PPP