Time-Range - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - QoS/ACL
Quidway S2000 Series Ethernet Switches
Parameter
rule-id: Specifies a rule of an ACL with a number in the range of 0 to 127.
permit: Indicates to let the matched packets through.
deny: Indicates to reject the matched packets to pass through.
time-range name: Name of a time range, during which a rule takes effect.
Note:
The following parameters are attributes carried by the data packets. The ACL rules are defined
according to the values of these parameters.
source-addr wildcard | any: source-addr wildcard is the source IP address and source
address wildcard, expressed in dotted decimal notation. any represents any source
address.
fragment: Indicates that the rule takes effect on fragmented packets only and will be
ignored for other packets.
Description
Using rule command, you can add a rule to an ACL. Using undo rule command, you
can cancel a rule from an ACL.
You can add a lot of rules to an ACL. If you input the parameter when use the undo
rule command, the system will delete the corresponding content of the rule according
to the parameter input.
For related configurations, refer to command acl.
Example
# Add a rule to a basic ACL.
[Quidway-acl-basic-2000] rule 1 permit source 1.1.1.1 0 fragment

1.1.6 time-range

Syntax
time-range time-name { start-time to end-time days-of-the-week [ from start-time
start-date ] [ to end-time end-date ] | from start-time start-date [ to end-time
end-date ] }
undo time-range time-name [ start-time to end-time days-of-the-week [ from
start-time start-date ] [ to end-time end-date ] | from start-time start-date [ to end-time
end-date ] ]
1-6
Chapter 1 ACL Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents