The time-range command sets the time range during which a security policy rule takes effect.
The undo time-range command cancels the time range during which a security policy rule takes effect.
| Parameter | Description | Value |
|---|---|---|
| time-range-name | Specifies the name of a time range. | The specified time range must exist. |
You must run the time-range or absolute-range command to set a time range and then run the time-range command to specify the time range for a security policy.
If you delete the effective duration of a security policy or do not configure an effective duration for a security policy, the security policy is always effective.