How do I restrict the period during which users can access specific networks

You can define access control lists (ACLs) with time ranges. For example, under the following configuration, users cannot access 2.2.2.0/24 from 00:00 to 08:00 daily.

[Huawei] time-range wb 00:00 to 08:00 daily
[Huawei] acl number 3000
[Huawei-acl-adv-3000] rule deny ip destination 2.2.2.0 0.0.0.255 time-range wb
[Huawei-acl-adv-3000] rule permit ip

Scroll to top