< Home

safe-search tag

Function

The safe-search tag command sets a safe search tag for a search engine.

The undo safe-search tag command restores the default setting.

Format

safe-search tag { bing | google | yahoo | yandex | youtube } tag

undo safe-search tag { bing | google | yahoo | yandex | youtube }

Parameters

Parameter Description Value
bing

Indicates Bing.

-
google

Indicates Google.

-
yahoo

Indicates Yahoo.

-
yandex

Indicates Yandex.

-
youtube

Indicates YouTube.

-
tag

Specifies the safe search tag of a search engine.

The value is a string of 1 to 128 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the tag indicates the most strict safe search tag of each search engine.

The tag is used to mark search traffic so that the search engine can filter search results. For example, after safe search is enabled on the Google browser, the safe search tag in the URL contained in a search request is safe=active. When the safe search tag of a search engine changes, the safe search function does not take effect for the search engine. Therefore, the safe-search tag command ensures that the configured safe search tag is the same as the actual one so that the safe search function can take effect. When the FW software version is updated, the tag is updated based on the safe search tag of the latest search engine.

Example

# Set the safe search tag of Google search engine to safe=active, which is consistent with the safe search tag of the actually used search engine.

<sysname> system-view
[sysname] safe-search tag google safe=active
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >