138
Example
Add a time-range named tSeg1, with time-slice1 from 8:30 to 12:00 at working
day:
TP-LINK(config)# acl time-segment tSeg1 week-day working-day
time-slice1 08:30-12:00
acl edit time-segment
Description
The acl edit time-segment command is used to edit Time-Range.
Syntax
acl edit time-segment {name} [week-day week-day] [start-date start-date]
[end-date end-date] [holiday { disable | enable }] [time-slice1 time-slice]
[time-slice2 time-slice ] [time-slice3 time-slice] [time-slice4 time-slice]
Parameter
name —— The Time-Range name, ranging from 1 to 16 characters.
week-day —— Period Mode, in the format of 1-3,6 or daily, off-day,
working-day. 1-3, 6 represent Monday, Tuesday, Wednesday and Saturday;
daily represents every day; off-day represents weekend and working-day
represents working day. By default, the period mode is disabled.
start-date —— The start date in Absoluteness Mode, in the format of
MM/DD/YYYY. By default, it is 01/01/1970.
end-date —— The end date in Absoluteness Mode, in the format of
MM/DD/YYYY. By default, it is 12/31/2099. The absoluteness mode will be
disabled if the start date and end date are both not configured.
holiday —— Enable/ Disable Holiday Mode. By default, it is disabled.
time-slice —— Create a time-slice, in the format of HH:MM-HH:MM.
Command Mode
Global Configuration Mode
Example
Edit the time-range named tSeg1, with time-slice1 from 8:30 to 12:00 at working
day:
TP-LINK(config)# acl edit time-segment tSeg1 week-day working-day
time-slice1 08:30-12:00