14
ppp lqm lcp-echo
[
packet
size
]
[
interval
interval
]
By default, an interface does not send LCP echo packets when LQM detects a low quality link.
This feature can avoid PPP link flapping caused by loss of large LCP packets.
Configuring the NAS-Port-Type attribute
About the NAS-Port-Type attribute
The NAS-Port-Type attribute is used for RADIUS authentication and accounting. For information
about the NAS-Port-Type attribute, see RFC 2865.
Restrictions and guidelines
The configuration of this feature does not affect existing users.
Procedure
1.
Enter system view.
system-view
2.
Enter VT interface view.
interface virtual-template
number
3.
Configure the NAS-Port-Type attribute.
nas-port-type
{
802.11
|
adsl-cap
|
adsl-dmt
|
async
|
cable
|
ethernet
|
g.3-fax
|
idsl
|
isdn-async-v110
|
isdn-async-v120
|
isdn-sync
|
piafs
|
sdsl
|
sync
|
virtual
|
wireless-other
|
x.25
|
x.75
|
xdsl
}
By default, the NAS-Port-Type attribute is determined by the service type and link type of the
PPP user (see
Table 1 Default NAS-Port-Type attribute
Service type
Link type
Nas-port-type attribute
PPPoE
VEth interface
xdsl
Other interfaces
ethernet
PPPoA Any
xdsl
L2TP Any
virtual
Enabling PPP accounting
About PPP accounting
PPP accounting collects PPP statistics, including the numbers of received and sent PPP packets
and bytes. AAA can use the PPP statistics for accounting. For more information about AAA, see
Security Configuration Guide
.
Procedure
1.
Enter system view.
system-view
2.
Enter interface view.
interface
interface-type interface-number
3.
Enable PPP accounting.
ppp account-statistics
enable
[
acl
{
acl-number
|
name
acl-name
}
]