161
Configuring Web redirect
Web redirect is a simplified portal feature. With Web redirect, a user does not perform portal
authentication but is directly redirected to the specified URL on the first Web access attempt in a
browser. After the specified redirect interval, the user is redirected from the visiting website to the
specified URL again.
Web redirect can provide ISPs with extended services. For example, the ISPs can place
advertisements and publish information on the redirected webpage.
When you configure Web redirect, follow these restrictions and guidelines:
•
Web redirect does not work when both Web redirect and portal authentication are enabled.
•
The Web redirect feature takes effect only on HTTP packets that use the default port number
80.
To configure Web redirect:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure Web redirect.
web-redirect
[
ipv6
]
url
url-string
[
interval
interval
]
By default, Web redirect is
disabled.
Applying a NAS-ID profile to an interface
By default, the device sends its device name in the NAS-Identifier attribute of all 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
Command Reference
.
3.
Configure a NAS ID and
VLAN binding in the profile.
nas-id
nas-identifier
bind
vlan
vlan-id
For more information about this
command, see
Security
Command Reference
.
Portal access matches only the
inner VLAN ID of QinQ packets.
For more information about QinQ,
see
Layer 2—LAN Switching
Configuration Guide
.
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...