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). The idsl, isdn-async-v110, isdn-async-v120, and isdn-sync keywords are not supported in the current software version. |
Table 1: Default nas-port-type attribute
Service type | Nas-port-type attribute |
---|---|
PPPoE | ethernet |
L2TP | virtual |