![H3C S5120-EI Series Скачать руководство пользователя страница 725](http://html2.mh-extra.com/html/h3c/s5120-ei-series/s5120-ei-series_operation-manual_3690844725.webp)
4-3
z
The packet filtering statistics are managed and output as device log information by the information
center.
z
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.
z
For introduction and configuration of the information center, refer to
Information Center
Configuration
in the
System Volume
.
ACL Application Example
Applying an ACL to an Ethernet Interface
Network requirements
As shown in
, apply an ACL to the inbound direction of GigabitEthernet 1/0/1 on Device A so
that everyday from 8:00 to 18:00, the interface allows only packets sourced from Host A to pass through.
Configure Device A to output IPv4 packet filtering logs to the console at an interval of 10 minutes.
Figure 4-1
Network diagram for applying an ACL to an Ethernet interface for filtering
IP network
GE1/0/1
Host A
192.168.1.2/24
Device A
Host B
192.168.1.3/24
Configuration procedure
# Create a time range named
study
, setting it to become active from 08:00 to 18:00 everyday.
<DeviceA> system-view
[DeviceA] time-range study 8:00 to 18:00 daily
# Create IPv4 ACL 2009, and configure two rules for the ACL. One permits packets sourced from
192.168.1.2/32 and the other denies packets sourced from any other host during the time range
study
.
Enable logging for both rules.
[DeviceA] acl number 2009
[DeviceA-acl-basic-2009] rule permit source 192.168.1.2 0 time-range study logging
[DeviceA-acl-basic-2009] rule deny source any time-range study logging
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...