blacklist aging-time

Function

The blacklist aging-time command configures the aging time of the addresses in the HTTPS redirection blacklist.

The undo blacklist aging-time command restores the default configuration.

By default, the aging time of the addresses in the blacklist generated during HTTPS redirection is 259200 seconds. That is, the BRAS deletes an address from the blacklist 259200 seconds after the address is added to the blacklist.

This command is supported only on the NetEngine 8000 F1A.

Format

blacklist aging-time aging-time

undo blacklist aging-time [ aging-time ]

Parameters

Parameter Description Value
aging-time aging-time

Specifies the aging time, in seconds.

The value is an integer ranging from 30 to 4294967295.

Views

HTTPS redirect view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
portal write

Usage Guidelines

Usage Scenario

If an IPv4 or IPv6 address (except for the web server address) is added to the HTTPS redirection blacklist and then web authentication is performed on the user access network, using HTTPS to access this address does not trigger HTTPS redirection. You can run the blacklist aging-time command to configure the aging time of the addresses in the HTTPS redirection blacklist. After the time an IP address is within the HTTPS redirection blacklist reaches the aging time, the IP address will be deleted from the blacklist.

Prerequisites

The function to insert the JavaScript script during web redirection has been enabled using the js enable command.

Precautions

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

The aging time of the blacklist is affected by the change of the system time. After the system is changed to the aging time, the blacklist ages out.

Example

# Configure the aging time of the addresses in the HTTPS redirection blacklist as 60 seconds.
<HUAWEI> system-view
[~HUAWEI] access https-redirect
[*HUAWEI-access-https-redirect] js enable
[*HUAWEI-access-https-redirect] blacklist aging-time 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >