cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
533
Views
0
Helpful
3
Replies

Time based access list question

vinayak-nayak
Level 1
Level 1

Hi All,

 

I need to extend the access to the network for a guest user vlan for two different days (both days are on different dates so not continuous). Below is the existing configuration, (I have just pasted the relevant configuration parts only.). I need to extend the access hours till 00.00 on the two weekdays. Therefore i assume the easiest way to do it is just "DELETE THIS STATEMENT FROM THE TIME-RANGE LIST -> periodic weekdays 21:15 to 23:59" ? , If yes, then how do i delete only that statement ? Is it like this

>conf t

#time-range site-closed

#no periodic weekdays 21:15 to 23:59

#exit

#wr mem 

 

vlan 200

ip access-group GUEST in

----

ip access-list extended GUEST

deny ip any any time-range site-closed

----

time-range site-closed
periodic weekdays 0:00 to 8:00
periodic Saturday 0:00 to 8:00
periodic Sunday 0:00 to 12:00
periodic weekdays 21:15 to 23:59
periodic Saturday 15:30 to 21:00
periodic Sunday 17:30 to 21:00

---

 

Thanks in advance for your help !

1 Accepted Solution

Accepted Solutions

Hello
Yes you can just delete that one entry - however if you need to change an exiting entry then it will need to be removed and re-added.

So according to your query you would most probably need to do the following:

Example:
time-range site-closed
no periodic weekdays 21:15 to 23:59
no periodic weekdays 0:00 to 8:00
periodic weekdays 0:00 to 23:59 <  need to extend the access hours till 00.00


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

Hello
Yes you can just delete that one entry - however if you need to change an exiting entry then it will need to be removed and re-added.

So according to your query you would most probably need to do the following:

Example:
time-range site-closed
no periodic weekdays 21:15 to 23:59
no periodic weekdays 0:00 to 8:00
periodic weekdays 0:00 to 23:59 <  need to extend the access hours till 00.00


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks Paul. Appreciate your help !

vinayak-nayak
Level 1
Level 1

Thank you, Will test and get back.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco