< Home

display time-range

Function

The display time-range command displays the current configuration and status of a time range.

Format

display time-range { time-range-name | all }

Parameters

Parameter Description Value
time-range-name Specifies the name of a time range. The value must be the name of an existing time range.
all Indicates all time ranges. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The status of an enabled time range is active, while the status of a disabled time range is inactive.

Example

# Display all time ranges.

<sysname> display time-range all
Current time is 23:20:03 6-4-2013 Tuesday

Time-range : aaa ( Inactive )
  period-range 11:25:00 to 12:23:00 Sat
  absolute-range 12:01:00 2013/6/6 to 23:59:59 2099/12/31

Time-range : bbb ( Inactive )
  period-range 11:01:00 to 12:23:00 Sat
  absolute-range 12:01:00 2013/6/6 to 23:59:59 2099/12/31

Time-range : ccc ( Active )
  period-range 00:00:00 to 00:00:00 Wed
  absolute-range 00:00:00 2013/6/4 to 00:00:00 2013/6/5

# Display time range ddd.

<sysname> display time-range ddd
Current time is 19:39:17 6-4-2013 Tuesday

Time-range : ddd ( Inactive )
  period-range 00:15:00 to 01:45:00 off-day Thu
  absolute-range 00:00:00 2013/6/2 to 00:00:00 2013/6/30
Table 1 Description of the display time-range command output

Item

Description

Current time is

Indicates the current system time.

Time-range

Indicates the name of a time range.

Inactive

Indicates that the time range is not activated at present.

Active

Indicates that the time range is activated at present.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >