Filtering Ipv6 Packets; Configuring Packet Filtering Statistics Function - H3C S5120-EI Series Operation Manual

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

Advertisement

Filtering IPv6 Packets

Follow these steps to apply an IPv6 ACL to an interface to filter IPv6 packets:
Enter system view
Enter
interface
view
Apply a basic or advanced IPv6 ACL
to the interface to filter IPv6 packets

Configuring Packet Filtering Statistics Function

The S5120-EI series provides the packet filtering statistics function so that the device can output packet
filtering statistics information at a specified interval. With the output, you are able to know how many
packets are filtered by which ACL rules.
The packet filtering statistics function takes effect for only rules with the logging keyword specified.
The packet filtering statistics are managed and output as device log information by the information
center.
The packet filtering statistics are of the severity level of 6, that is, informational. Informational
messages are not output to the console by default; therefore, you need to modify the log
information output rule for the informational message output to be sent to the console or other
destinations.
For introduction and configuration of the information center, refer to Information Center
Configuration in the System Volume.
Follow the steps to set the intervals for packet filtering statistics so that the device outputs packet
filtering statistics at the end of every interval:
To do...
Enter system view
Set the interval for IPv4 packet
filtering statistics
To do...
Enter Ethernet
interface view
Enter VLAN interface
view
system-view
acl logging frequence
frequence
Use the command...
system-view
interface interface-type
interface-number
interface vlan-interface vlan-id
packet-filter ipv6 { acl6-number
| name acl6-name } { inbound |
outbound }
Use the command...
4-2
Remarks
Use either command
Required
By default, no IPv6 ACL
is applied to the
interface.
Remarks
Configure a command as
required.

Advertisement

Chapters

Table of Contents
loading

Table of Contents