Before deleting a time range, you must delete the ACL rules associated with the time range or delete the ACL to which the ACL rules belong.
For example, ACL 2001 contains rule 5 and is associated with time range time1.
# time-range time1 from 00:00 2014/1/1 to 23:59 2014/12/31 # acl number 2001 rule 5 permit time-range time1 #
Before deleting time1, delete rule 5 or ACL 2001.
-
Delete rule 5, and then time1.
<HUAWEI> system-view [HUAWEI] acl 2001 [HUAWEI-acl-basic-2001] undo rule 5 [HUAWEI-acl-basic-2001] quit [HUAWEI] undo time-range time1
-
Delete ACL 2001, and then time1.
<HUAWEI> system-view [HUAWEI] undo acl 2001 [HUAWEI] undo time-range time1
More Information: S Series Switches Common Operation Guide