No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
force-push

force-push

Function

The force-push command enables the forcible URL template or URL push function.

The undo force-push command disables the forcible URL template or URL push function.

By default, the forcible URL template or URL push function is disabled.

Format

force-push { url-template template-name | url url-address }

undo force-push

Parameters

Parameter

Description

Value

url-template template-name

Specifies the name of a pushed URL template.

The value must be the name of an existing URL template.

url url-address

Specifies a pushed URL.

It is a string of 1 to 200 case-sensitive characters that do not contain spaces and question marks (?). When double quotation marks are used around the string, spaces are allowed in the string.

Views

AAA domain view, authentication profile view

Default Level

3: Management level(AAA domain view)

2: Configuration level (authentication profile view)

Usage Guidelines

Usage Scenario

After a user is successfully authenticated, the device forcibly redirect the user to a web page when receiving the HTTP or HTTPS packet from the user who accesses web pages for the first time. In addition to pushing advertisement pages, the device can obtain user terminal information through the HTTP or HTTPS packets sent by the users, and apply the information to other services. There are two ways to push web pages:
  1. URL: pushes the URL corresponding to the web page.
  2. URL template: pushes the URL template. A URL template must be created. The URL template contains the URL of the pushed web page and URL parameters.

Prerequisites

The URL configured using the url (URL template view) command in the URL template view cannot be a redirection URL; otherwise, the command does not take effect.

Precautions

If an application program that actively sends HTTP or HTTPS packets is installed on the user terminal, the terminal has sent the HTTP or HTTPS packet before the user accesses a web page. Therefore, the user is unaware of the web page push process.

For HTTPS packets, the forcible push function takes effect only when a redirection ACL is used. If the user table always contains redirection ACLs, a web page is forcibly pushed when HTTPS packets from users match redirection ACL rules. Usually, you can configure the RADIUS server to authorize the Huawei extended RADIUS attribute HW-Redirect-ACL to users for redirection ACL implementation, or run the redirect-acl command to configure a redirection ACL.

The priority of this command in the authentication profile is higher than that in the AAA domain view.

Example

# Push the URL template abc in the domain huawei.

<Huawei> system-view
[Huawei] url-template name abc
[Huawei-url-template-abc] quit
[Huawei] aaa
[Huawei-aaa] domain huawei
[Huawei-aaa-domain-huawei] force-push url-template abc

# Configure a pushed URL in the authentication profile test.

<Huawei> system-view
[Huawei] authentication-profile name test
[Huawei-authentication-profile-test] force-push url www.huawei.com
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212071

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next