Displaying And Maintaining Acls - H3C S5820X Series Configuration Manual

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

Advertisement

NOTE:
ACLs on VLAN interfaces filter only packets forwarded at Layer 3.
The packet filter does not support ACLs that have a vpn-instance criterion.
Applying an IPv4 ACL for Packet Filtering
Follow these steps to apply an IPv4 ACL for packets filtering:
To do...
Enter system view
Enter Ethernet interface view or
VLAN interface view
Apply an IPv4 ACL to the interface
to filter IPv4 packets
Exit to system view
Set the interval for generating and
outputting IPv4 packet filtering logs
Applying an IPv6 ACL for Packet Filtering
Follow these steps to apply an IPv6 ACL for packet filtering:
To do...
Enter system view
Enter Ethernet interface view or
VLAN interface view
Apply an IPv6 ACL to the interface
to filter IPv6 packets
Exit to system view
Set the interval for generating and
outputting IPv6 packet filtering logs

Displaying and maintaining ACLs

To do...
Display configuration and match
statistics for one or all IPv4 ACLs
Display configuration and match
statistics for one or all IPv6 ACLs
Use the command...
system-view
interface interface-type
interface-number
packet-filter { acl-number | name
acl-name } { inbound | outbound }
quit
acl logging frequence frequence
Use the command...
system-view
interface interface-type
interface-number
packet-filter ipv6 { acl6-number |
name acl6-name } { inbound |
outbound }
quit
acl ipv6 logging frequence
frequence
Use the command...
display acl { acl-number | all | name
acl-name } [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
display acl ipv6 { acl6-number | all | name
acl6-name } [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
12
Remarks
Required
By default, no IPv4 ACL is applied
to the interface.
Required
By default, the interval is 0. No
IPv4 packet filtering logs are
generated.
Remarks
Required
By default, no IPv6 ACL is applied
to the interface.
Required
By default, the interval is 0. No
IPv6 packet filtering logs are
generated.
Remarks
Available in any view
Available in any view

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents