Time-Range - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Example
# Add a rule to the advanced ACL.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]acl number 3000
[Quidway-acl-adv-3000] rule 1 permit tcp established source 1.1.1.1 0
destination 2.2.2.2 0

1.1.12 time-range

Syntax
time-range time-name { start-time to end-time days-of-the-week [ from start-time
start-date ] [ to end-time end-date ] | from start-time start-date [ to end-time end-date ]
| to end-time end-date }
undo time-range time-name [ start-time to end-time days-of-the-week [ from
start-time start-date ] [ to end-time end-date ] | from start-time start-date [ to end-time
end-date ] | to end-time end-date ]
View
System view
Parameter
time-name: Name of a particular time range, used as an import identifier.
start-time: (Optional) Starting time of the particular time range, in the format of hh:mm.
end-time: (Optional), End time of the particular time range, in the format of hh:mm.
days-of-the-week: (Optional) Indicating the particular time range takes effect on which
day in a week. You can type these values:
Number (ranging from 0 to 6);
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday;
Working-day: Monday through Friday inclusive;
Off-day: Saturday and Sunday;
daily: Every day of a week.
from start-time start-date: (Optional) Starting date of the particular time range, in the
format of hh:mm YYYY/MM/DD.
to end-time end-date: (Optional) End date of the particular time range, in the format of
hh:mm YYYY/MM/DD.
Description
Use the time-range command to define a time range.
Use the undo time-range command to cancel a time range.
Huawei Technologies Proprietary
1-18
Chapter 1 ACL Commands

Advertisement

Table of Contents
loading

Table of Contents