display time-range
Function
The display time-range command displays the configuration and status of the current time range.
Usage Guidelines
To specify a time range during which ACL rules take effect, run the time-range command to configure the time range and reference the time range name when you configure an ACL.
Before using a time range to filter data packets, run the display time-range command to view the time range configuration to avoid duplicate time ranges.
The device updates the status of ACLs with a delay of about 30seconds. The display time-range command adopts the current time range to determine the status of ACLs; therefore, you may find that the ACL using an active time range is inactive. This is normal.
Example
# Display the configuration and status of all time ranges.
<AC6605> display time-range all
Current time is 14:48:13 10-17-2012 Wednesday
Time-range : abc (Active)
from 23:23 2012/9/9 to 23:59 2012/12/31
Item |
Description |
---|---|
Current time is 14:48:13 10-17-2012 Wednesday |
The current time is Wednesday 14:48:13 10-17-2012. |
Time-range:abc (Active) |
The time range is named abc and is active. The time
range can be:
|
from 23:23 2012/9/9 to 23:59 2012/12/31 |
Time range abc is from 23:23 2012/9/9 to 23:59 2012/12/31. |