< Home

time-range (SACG interworking policy rule view)

Function

The time-range command sets the validity period of a SACG interworking policy rule.

The undo time-range command cancels the validity period setting of a SACG interworking policy rule.

Format

time-range time-range-name

undo time-range

Parameters

Parameter Description Value
time-range-name Specifies the name of a time range. The value is a character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "name for test").

Views

SACG interworking policy rule view

Default Level

2: Configuration level

Usage Guidelines

If no validity period is configured for a SACG interworking policy, the SACG interworking policy takes effect after it is created until it is deleted.

Before you set a validity period for a policy, run the time-range command to create a schedule object.

Example

# Set the validity period of SACG interworking policy 1 to the time range defined in schedule aa.

<sysname> system-view
[sysname] rightm-policy
[sysname-policy-rightm] rule name rule1
[sysname-policy-rightm-rule-rule1] time-range test
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic