TP-Link TL-SG5412F Switch User Manual


 
137
Command Mode
Global Configuration Mode
Example
Add a time-range named tSeg1, with time from 8:30 to 12:00 at working day:
TP-LINK(config)# acl time-segment tSeg1 start-time 08:30 end-time 12:00
week-day working-day
acl edit time-segment
Description
The acl edit time-segment command is used to edit Time-Range.
Syntax
acl edit time-segment {name} [start-time start-time] [end-time end-time]
[week-day week-day] [start-date start-date] [end-date end-date] [holiday
{disable | enable}]
Parameter
name —— The Time-Range name, ranging from 1 to 16 characters.
start-time —— The start time of the time-slice, in the format of HH:MM. By
default, it is 00:00.
end-time —— The end time of the time-slice, in the format of HH:MM. By default,
it is 24:00.
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/2000.
end-date —— The end date in Absoluteness Mode, in the format of
MM/DD/YYYY. By default, it is 01/01/2000. 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.
Command Mode
Global Configuration Mode
Example
Edit the time-range named tSeg1, with time from 8:30 to 12:00 at working day: