135
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure BAS-IP for IPv4
portal packets sent to the
portal authentication
server.
portal
bas-ip
ipv4-address
By default, the BAS-IP attribute of an IPv4
portal response packet sent to the portal
authentication server is the source IPv4
address of the packet, and that of an IPv4
portal notification packet is the IPv4
address of the interface.
4.
Configure BAS-IPv6 for
IPv6 portal packets sent to
the portal authentication
server.
portal
bas-ipv6
ipv6-address
By default, the BAS-IPv6 attribute of an
IPv6 portal response packet sent to the
portal authentication server is the source
IPv6 address of the packet, and that of an
IPv6 portal notification packet is the IPv6
address of the interface.
Applying a NAS-ID profile to an interface
By default, the device sends its device name in the NAS-Identifier attribute of any RADIUS requests.
A NAS-ID profile enables you to send different NAS-Identifier attribute strings in RADIUS requests from
different VLANs. The strings can be organization names, service names, or any user categorization
criteria, depending on the administrative requirements.
For example, map the NAS-ID
companyA
to all VLANs of company A. The device will send
companyA
in the NAS-Identifier attribute for the RADIUS server to identify requests from any Company A users.
You can apply a NAS-ID profile to a portal-enabled interface. If no NAS-ID profile is specified on the
interface or no matching NAS-ID is found in the specified profile, the device uses the device name as the
interface NAS-ID.
To apply a NAS-ID profile to an interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a NAS-ID profile and
enter NAS-ID profile view.
aaa
nas-id
profile
profile-name
For more information about this
command, see
Security
Commands Reference
.
3.
Configure a NAS ID and
VLAN binding in the profile.
nas-id
nas-identifier
bind
vlan
vlan-id
By default, no NAS ID and VLAN
binding exists.
For more information about this
command, see
Security
Commands Reference
.
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface
interface-type
interface-number
N/A
6.
Specify the NAS-ID profile on
the interface.
portal
nas-id-profile
profile-name
By default, no NAS-ID profile is
specified on the interface.