--- IPFlow Time-Ranges ---

Time-Ranges in IPFlow are very similar to the Time-Based Access-Lists implemented in Cisco IOS.

Periodic Time-Ranges

Consider this example:

time-range test {
    periodic {
        days { monday; tuesday; };
        start-time 08:00;
        end-time 22:00;
    };
};

rule r1 {
    term 1 {
        time-range test;
        # ... some actions ...
    };
};
The term "1" of rule r1 will be matched positively every monday or tuesday, between 8:00am and 10:00pm.
Please note that you can specify many "periodic" sections in a time-range.

It is also possible to specify starting and ending days:

time-range test {
    periodic {
        days { monday; };
        end-day { friday; };
        start-time 08:00;
        end-time 22:00;
    };
};
The time-range "test" will match from Monday 8:00am to Friday 10:00pm.

Absolute Time-Ranges

Absolute time-ranges are defined like this:
time-range test {
    absolute {
        start-day 2003-06-16;
        start-time 08:00;

        end-day 2003-06-19;
        end-time 21:00;
    };

};
The time-range will match between 2003-06-16 8:00am and 2003-06-19 9:00pm.

Remarks



Last Update: 2003/06/16