F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Access Control Command Reference-6PW100

128
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.
Examples
# Specify the NAS-Port-Type value of GigabitEthernet 0/1 as IEEE 802.11 standard wireless interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] portal nas-port-type wireless
portal redirect-url
Use portal redirect-url to specify the autoredirection URL for authenticated portal users.
Use undo portal redirect-url to restore the default.
Syntax
portal redirect-url url-string [ wait-time period ]
undo portal redirect-url
Default
An authenticated portal user is redirected to the URL that the user entered in the address bar before portal
authentication.
Views
System view
Default command level
2: System level
Parameters
url-string: Autoredirection 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.
period: Time that the device must wait before redirecting an authenticated portal user to the
autoredirection URL. It ranges from 1 to 90 and defaults to 5, in seconds.
Usage guidelines
To use this feature for remote Layer 3 portal authentication, the portal server must be an IMC portal server
that supports the page auto-redirection function.
The wait-time keyword is effective only on local portal authentication.
Examples
# Configure the device to redirect a portal user to http://www.testpt.cn after the user passes portal
authentication.
<Sysname> system-view
[Sysname] portal redirect-url http://www.testpt.cn