Copying An Acl; Configuration Prerequisites; Configuration Procedure; Displaying And Maintaining Acls - H3C S5120-SI Series Operation Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

You can modify the match order of an ACL with the acl number acl-number [ name acl-name ]
match-order { auto | config } command, but only when the ACL does not contain any rules.
The rule specified in the rule comment command must already exist.

Copying an ACL

This feature allows you to copy an existing ACL to generate a new one, which is of the same type and
has the same match order, rules, rule numbering step and descriptions as the source ACL.

Configuration Prerequisites

Make sure that the source ACL exists while the destination ACL does not.

Configuration Procedure

Follow these steps to copy an ACL:
To do...
Enter system view
Copy an existing ACL to
generate a new one of the
same type
The source ACL and the destination ACL must be of the same type.
The destination ACL does not take the name of the source ACL.

Displaying and Maintaining ACLs

Display information about one or all
ACLs
Display the usage of ACL resources
Display the configuration and status of
one or all time ranges
Clear statistics on one or all ACLs
except for user-defined ACLs
Use the command...
system-view
acl copy { source-acl-number |
name source-acl-name } to
{ dest-acl-number | name
dest-acl-name }
To do...
Use the command...
display acl { acl-number | all |
name acl-name }
display acl resource
display time-range
{ time-range-name | all }
reset acl counter
{ acl-number | all | name
acl-name }
2-6
Remarks
Required
Remarks
Available in any view
Available in any view
Available in any view
Available in user view

Advertisement

Table of Contents
loading

Table of Contents