R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101
64
[Sysname-GigabitEthernet0/1] portal nas-ip 2.2.2.2
portal nas-port-type
Syntax
portal nas-port-type { ethernet | wireless }
undo portal nas-port-type
View
Interface view
Default level
2: System level
Parameters
ethernet: Specifies the access port type as Ethernet, which corresponds to code 15.
wireless: Specifies the access port type as IEEE 802.11 standard wireless interface, which corresponds to
code 19. This keyword is usually specified on an interface for wireless portal users, making sure that the
NAS-Port-Type value delivered by the access device to the RADIUS server is wireless.
Description
Use portal nas-port-type to specify the access port type (indicated by the NAS-Port-Type value) on the
current interface. The specified NAS-Port-Type value will be carried in the RADIUS requests sent from the
firewall to the RADIUS server.
Use undo portal nas-port-type to restore the default.
By default, the access port type of an interface is not specified, and the NAS-Port-Type value carried in
RADIUS requests is the user access port type obtained by the access device.
Examples
# Specify the NAS-Port-Type value of GigabitEthernet 0/1 as Ethernet interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] portal nas-port-type ethernet
portal redirect-url
Syntax
portal redirect-url url-string
undo portal redirect-url
View
System view
Default level
2: System level
Parameters
url-string: Auto redirection URL for authenticated portal users, a string of 1 to 127 characters. It must start
with http:// or https:// and must be a fully qualified URL.