Current location - Recipe Complete Network - Complete cookbook of home-style dishes - I want to make an ACL policy to control the port 12 to access the Internet only from 8 am to 12 am and from 14 to 18 am.
I want to make an ACL policy to control the port 12 to access the Internet only from 8 am to 12 am and from 14 to 18 am.
Jiao Huanji (Configuration) # Time Range Time

Traffic accident (configuration-time-range) # Periodically from 08:00 to 12:00 every day.

Jiao Huanji (Configuration-Time-Range) # Regular daily 14:00 to 18:00.

Cross Ring Machine (Configuration-Time-Range) # Exit

Jiao Huanji (Configuration) # Access List 10 1 Allow ip to any host 192. 168.38.38 Time range

Rubber ring machine (configuration) #int f0/ 12

Jiao Huanji (config-if-fastethernet0/12) # IP access-group 10 1 in

Jiao Huanji (config-if-FastEthernet 0/12) # Exit

Calling machine (configuration) #