Time Based Access List: It is similar like Extended Access List but it allows the access control based on time. A time range is defined in terms of weeks and
Read More
days. It is identified by name and then it is referenced by a function. Lets understand one example.
Read More
days. It is identified by name and then it is referenced by a function. Lets understand one example.
1) I am defining name of the time-range
R(config)# time-range raviworkingday
2) Days and Time can be defined as below
R(config-time-range)# periodic Monday Tuesday Wednesday Thursday Friday 9:00 to 16:00
3) Now creating Extended Access List to allow telnet Including time range
R(config)#access-list 150 permit tcp 192.168.1.0 0.0.0.255 10.1.1.0 0.0.0.255 eq telnet time-range raviworkingday
4) Applying inbound Access List on interface fa0/1
R(config)#int fa0/1
R(config-if)#ip address 192.168.1.1 255.255.255.0
R(config-if)#ip access-group 150 in
In this example telnet from 192.168.1.0 network to 10.1.1.0 network is permitted on working days during business hours.
Thank you sir.
ReplyDelete