Step (For Ipv4) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2100
C
138: IP
4 ACL C
HAPTER
V
Description
Example

step (for IPv4)

Syntax
View
Parameter
Description
C
ONFIGURATION
OMMANDS
text: IPv4 ACL rule description, a string of up to 127 characters.
Use the
rule comment
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
By default, no rule description is created.
# 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 step-value
undo step
Basic IPv4 ACL view, advanced IPv4 ACL view, Ethernet frame header ACL view
step-value: IPv4 ACL rule numbering step, in the range 1 to 20.
Use the
command to set a rule numbering step.
step
Use the
undo step
command to restore the default.
By default, rule numbering step is five.
command to create or modify an ACL rule description,
command to remove the ACL rule description.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents