Configuring An Advanced Acl; Configuring An Ipv4 Advanced Acl - HP 5830 Series Configuration Manual

Acl and qos
Hide thumbs Also See for 5830 Series:
Table of Contents

Advertisement

Step
3.
Configure a
description for the
IPv6 basic ACL.
4.
Set the rule
numbering step.
5.
Create or edit a
rule.
6.
Add or edit a rule
comment.
7.
Add or edit a rule
range remark.
8.
Enable counting
ACL rule matches
performed in
hardware.

Configuring an advanced ACL

This section describes how to configure an IPv4 advanced ACL and an IPv6 advanced ACL.

Configuring an IPv4 advanced ACL

IPv4 advanced ACLs match packets based on source IP addresses, destination IP addresses, packet
priorities, protocols over IP, and other protocol header information, such as TCP/UDP source and
destination port numbers, TCP flags, ICMP message types, and ICMP message codes.
Compared to IPv4 basic ACLs, IPv4 advanced ACLs allow more flexible and accurate filtering.
To configure an IPv4 advanced ACL:
Step
1.
Enter system view.
2.
Create an IPv4
advanced ACL and
enter its view.
Command
description text
step step-value
rule [ rule-id ] { deny | permit }
[ counting | fragment | logging
| routing [ type routing-type ] |
source { source-address
source-prefix |
source-address/source-prefix |
any } | time-range
time-range-name | vpn-instance
vpn-instance-name ] *
rule rule-id comment text
rule [ rule-id ] remark text
hardware-count enable
Command
system-view
acl number acl-number [ name
acl-name ] [ match-order { auto |
config } ]
6
Remarks
Optional.
By default, an IPv6 basic ACL has no ACL
description.
Optional.
The default setting is 5.
By default, an IPv6 basic ACL does not contain
any rules.
If the ACL is for QoS traffic classification, do
not specify the fragment, routing, or
vpn-instance keyword. Also, the logging and
counting keywords (even if specified) do not
take effect.
If the ACL is for packet filtering, do not specify
the fragment, routing, or vpn-instance
keyword.
Optional.
By default, no rule comments are configured.
Optional.
By default, no rule range remarks are configured.
Optional.
By default, this feature is disabled.
When the ACL is referenced by a QoS policy, this
command does not take effect.
Remarks
N/A
By default, no ACL exists.
IPv4 advanced ACLs are numbered in the
range of 3000 to 3999.
You can use the acl name acl-name
command to enter the view of a named ACL.

Advertisement

Table of Contents
loading

Table of Contents