R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101
51
Parameters
nas-identifier: NAS ID for the interface, a case-sensitive string of 1 to 16 characters. This value will be
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 through the interface.
Description
Use the portal nas-id command to specify a NAS ID for an interface.
Use the undo portal nas-id command to restore the default.
By default, the firewall name specified through the sysname command is used as the NAS ID of an
interface.
Examples
# Specify the NAS ID of GigabitEthernet 0/0 as 0002053110000460.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] portal nas-id 0002053110000460
portal nas-id-profile
Syntax
portal nas-id-profile profile-name
undo portal nas-id-profile
View
Interface
Default level
2: System level
Parameters
profile-name: Name of the profile that defines the binding relationship between VLANs and NAS IDs.
The profile can be configured by using the aaa nas-id profile command.
Description
Use the portal nas-id-profile command to specify a NAS ID profile for the interface.
Use the undo portal nas-id-profile command to cancel the configuration.
By default, an interface is not specified with any NAS ID profile.
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:
• If a NAS ID is configured using the portal nas-id command, the firewall uses the configured NAS
ID as that of the interface.
• If the interface has no NAS ID configured, the firewall uses the device name as the interface NAS
ID.
Examples
# Specify NAS ID profile aaa for VLAN-interface 2.
<Sysname> system-view