Pages

Tuesday 8 May 2012

How to configure time-based ACL on Cisco router


How to configure time-based ACL on Cisco router

1. Create time period

Cisco-Router#
Cisco-router(config)# time-range WEB-time
Cisco-router(config-time-range)# periodic Monday friday 8:00 to 17:00
Cisco-router(config-time-range)# periodic Saturday 8:00 to 12:00

2. Create ACL

Cisco-router(config)# access-list 150 permit tcp any any eq www time-range WEB-time
3. Applying ACL

Cisco-router(config)# interface fa0/0
Cisco-router(config-if)# ip access-group 150 in

No comments:

Post a Comment