3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2100 CHAPTER 138: IPV4 ACL CONFIGURATION COMMANDS
text: IPv4 ACL rule description, a string of up to 127 characters.
Description Use the
rule comment command to create or modify an ACL rule description,
for example to describe the purpose of the ACL rule or the parameters it contains.
You will fail to do that if the specified rule does not exist.
Use the
undo rule comment command to remove the ACL rule description.
By default, no rule description is created.
Example # Create a rule in ACL 2000 and define the rule description.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule 0 deny source 1.1.1.1 0
[Sysname-acl-basic-2000] rule 0 comment This rule is used in eth 1
# Create a rule in ACL 3000 and define the rule description.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 0 permit ip source 1.1.1.1 0
[Sysname-acl-adv-3000] rule 0 comment This rule is used in eth 1
# Create a rule in ACL 4000 and define the rule description.
<Sysname> system-view
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule 0 deny cos 3
[Sysname-acl-ethernetframe-4000] rule 0 comment This rule is used in eth 1
# Create a rule in ACL 5000 and define the rule description.
<Sysname> system-view
[Sysname] acl number 5000
[Sysname-acl-user-5000] rule 0 permit l2 14 20 10
[Sysname-acl-user-5000] rule 0 comment This rule is used in eth 1
step (for IPv4)
Syntax step step-value
undo step
View Basic IPv4 ACL view, advanced IPv4 ACL view, Ethernet frame header ACL view
Parameter step-value: IPv4 ACL rule numbering step, in the range 1 to 20.
Description Use the
step command to set a rule numbering step.
Use the
undo step command to restore the default.
By default, rule numbering step is five.