164
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 3/0/1 as IEEE 802.11 standard wireless
interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/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
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.
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.
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
portal server
Use
portal server
to configure a portal server for Layer 3 portal authentication.
Use
undo portal server
to remove a portal server, restore the default destination port and default
URL address, or delete the shared key or the VPN instance configuration.
Syntax
portal server
server-name
ip
ip-address
[
key
[
cipher
|
simple
]
key-string
|
port
port-id
|
server-type
{
cmcc
|
imc
} |
url
url-string
|
vpn-instance
vpn-instance-name
] *