pppoe-url

Function

The pppoe-url command sets the URL for forcibly redirecting an authenticated PPPoE user to a portal.

The undo pppoe-url command cancels the set URL.

By default, no URL is set for forcibly redirecting an authenticated PPPoE user to a portal.

This command is supported only on the NetEngine 8000 F1A.

Format

pppoe-url url-string

undo pppoe-url

Parameters

Parameter Description Value
url-string

Specifies the URL for forcibly redirecting an authenticated PPPoE user to a portal. The value is in the form of "http://www.huawei.com.".

The value is a string of 1 to 200 characters.

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

After a PPPoE user is authenticated, the device can send a PADM packet instructing the PPPoE dialer to start the Web browsing software and access the specified URL. In this manner, the forcible portal service for the PPPoE user is implemented. The pppoe-url command sets this URL.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the URL of the mandatory portal to which the PPPoE users in the domain isp1 are redirected to http://www.huawei.com.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain isp1
[*HUAWEI-aaa-domain-isp1] commit
[~HUAWEI-aaa-domain-isp1] pppoe-url http://www.huawei.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >