Руководство пользователя
2. Configuring Dialup
25
www.qtech.ru
Command
Function
Qtech(config)#
interface dialer dialer-number
Enters the specified logical interface.
Qtech(config-if)#
ip address negotiate
Obtains address from negotiation .
Qtech(config-if)#
dialer pool pool-number
Associates the dialer pool, with the one in the Ethernet
interface one-by-one.
Qtech(config-if)#
dialer idle-timeout seconds
(Optional) Configures the timeout time to disconnect the
line when the specified idle time times out.
Qtech(config-if)#
encapsulation ppp
Encapsulates PPP because PPPoE is based on PPP.
Qtech(config-if)#
mtu 1488
Configures the maximum transmission unit as 1488.
Qtech(config-if)#
dialer-group
dialer-group-number
Sets the dialer group associated with the dialup
activation rule.
Qtech(config-if)#
ppp pap sent-username
username
password
password
Configures
the
username
and
password
for
authentication.
Except for the command in step 4, all other commands are required. Especially in step 6, the MTU value must be
1488 for normal communication.
If the IP address of the logical interface is modified after a PPPoE connection has been set up, run the
clear pppoe tunnel
command to trigger PPPoE re-negotiation for the modification to take effect in
privileged mode.
2.1.2.3
Configuring the necessary global parameters
The necessary PPPoE global parameters include:
Define the dialup activation rule
Configure the dialup route
To use PPPoE with other functions, such as NAT, it is required to configure other global parameters. The global
parameters must be configured according to the actual conditions.
Use the following command to define the dialup activation rule in global configuration mode.
Command
Function
Qtech(config)#
dialer-list
dialer-group- number protocol
protocol-name
{
permit
|
deny
|
list
access-list-number
}
Defines the dialup activation rule.
Since the IP address of the interface is generally obtained from the negotiation and there is no directly-connected
route of the logical interface, it is required to configure a dialup route to the destination for the logical interface with
the PPPoE dialup, so that the data can be forwarded via the PPPoE interface.
Use the following command to configure the dialup route in global configuration mode.
Command
Function
Qtech(config)#
ip route
0.0.0.0 0.0.0.0 dialer
dialer-
number
[
permanent
]
Sets the default route. The
permanent
option enables
the route always valid, even when the logical interface
is in the line invalid period (enable-timeout) (here, the
logical interface is in the down status).
It is also possible that the dialup route is not configured as the default route, and the specified route is configured as
required. In whatever conditions, a dialup route must be configured to make dialup possible.
2.1.3
Monitoring PPPoE
Use the following commands to monitor the PPPoE in privileged EXEC mode.
Содержание QSR-2830
Страница 1: ...www qtech ru QSR 2830...