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).

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