< Home

add tag (SACG interworking policy rule view)

Function

The add tag command adds a tag to a policy rule.

The undo add tag command deletes a tag from a policy rule.

Format

add tag tag-name

undo add tag tag-name

Parameters

Parameter Description Value

tag-name

Specifies the name of a tag.

The specified tag must already exists.

Views

SACG interworking policy rule view

Default Level

2: Configuration level

Usage Guidelines

This command adds a tag to a SACG interworking policy rule. Before running this command, run the tag name command to create a tag. After running this command, run the display tag command to check whether the tag is successfully added to the policy rule.

Example

# Create a tag named Marketing.

<sysname> system-view
[sysname] tag name Marketing

# Add tag Marketing to SACG interworking policy rule test.

<sysname> system-view
[sysname] rightm-policy
[sysname-policy-rightm] rule name test
[sysname-policy-rightm-rule-test] add tag Marketing
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >