R3303-HP HSR6800 Routers Security Command Reference

169
portal nas-id
Use portal nas-id to specify the NAS ID value carried in a RADIUS request.
Use undo portal nas-id to restore the default.
Syntax
portal nas-id nas-identifier
undo portal nas-id
Default
The device name specified through the sysname command is used as the NAS ID of a RADIUS request.
For information about the sysname command, see Fundamentals Command Reference.
Views
Interface view, system view
Default command level
2: System level
Parameters
nas-identifier: NAS ID, a case-sensitive string of 1 to 20 characters. This value is used as the value of the
NAS-Identifier attribute in the RADIUS request to be sent to the RADIUS server when a portal user logs on
from an interface.
Usage guidelines
You can specify the NAS-identifier attribute value to be carried in a RADIUS request in system view or
interface view. The device prefers the value specified in interface view. If no NAS ID is configured for the
interface, the device uses the NAS ID configured in system view.
Examples
# Specify the NAS ID of a RADIUS request to be sent on GigabitEthernet 3/0/1 as
0002053110000460.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] portal nas-id 0002053110000460
portal nas-id-profile
Use portal nas-id-profile to specify a NAS ID profile for the interface.
Use undo portal nas-id-profile to cancel the configuration.
Syntax
portal nas-id-profile profile-name
undo portal nas-id-profile
Default
An interface is not specified with any NAS ID profile.
Views
Interface view