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
00020531 10000460.
<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
Default command level
2: System level
Parameters
profile-name: Name of the profile that defines the binding relationship between VLANs and NAS IDs, a
case-insensitive string of 1 to 16 characters. The profile can be configured by using the aaa nas-id profile
command. For more information about this command, see "AAA configuration commands."
Usage guidelines
If an interface is specified with a NAS ID profile, the interface prefers to use the binding defined in the
profile. If no NAS ID profile is specified for an interface or no matching binding is found in the specified
profile:
179