Configuring the nas-port-type attribute, Displaying and maintaining ppp – H3C Technologies H3C SecPath F5020 User Manual
Page 24
16
To enable PPP accounting:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Enable PPP accounting.
ppp account-statistics enable [ acl
{ acl-number | name acl-name } ]
By default, PPP accounting is
disabled.
Configuring 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.
To configure the nas-port-type attribute:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VT interface view.
interface virtual-template number N/A
3.
Configure the nas-port-type
attribute.
nas-port-type { 802.11 | adsl-cap
| adsl-dmt | async | cable |
ethernet | g.3-fax | hdlc | 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
Layer 3 virtual Ethernet interface
xdsl
Other interfaces
ethernet
PPPoA Any
xdsl
L2TP
Any
virtual
Displaying and maintaining PPP
Execute display commands in any view and reset commands in user view.
Task
Command
Display information about PPP access users.
display ppp access-user { interface interface-type
interface-number [ count ] | ip-address ip-address |
ipv6-address ipv6-address | username user-name }