EasyManuals Logo

H3C S5120-SI Series Configuration Guide

H3C S5120-SI Series
745 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #536 background imageLoading...
Page #536 background image
1-10
Filtering Ethernet Frames
Follow these steps to apply an Ethernet frame header ACL to an interface to filter Ethernet frames:
To do… Use the command Remarks
Enter system view
system-view
Enter Ethernet
interface view
interface
interface-type
interface-number
Enter
interface view
Enter VLAN
interface view
interface vlan-interface
vlan-id
Use either command
Apply an Ethernet frame header
ACL to the interface to filter
Ethernet frames
packet-filter
{ acl-number |
name
acl-name }
inbound
Required
By default, an interface does not
filter Ethernet frames.
Filtering IPv4 Packets
Follow these steps to apply an ACL to an interface to filter IPv4 packets:
To do… Use the command Remarks
Enter system view
system-view
Enter Ethernet
interface view
interface
interface-type
interface-number
Enter
interface view
Enter VLAN
interface view
interface vlan-interface
vlan-id
Use either command
Apply a basic or advanced ACL to
the interface to filter IPv4 packets
packet-filter
{ acl-number |
name
acl-name }
inbound
Required
By default, an interface does not
filter IPv4 packets.
Displaying and Maintaining ACLs
To do... Use the command… Remarks
Display configuration and match
statistics for one or all ACLs
display
acl
{ acl-number |
all
|
name
acl-name }
Available in any view
Display the usage of ACL
resources
display acl resource
Available in any view
Display the configuration and
status of one or all time ranges
display time-range
{ time-range-name |
all
}
Available in any view
Clear statistics on one or all ACLs
reset
acl
counter
{ acl-number |
all
|
name
acl-name }
Available in user view

Table of Contents

Other manuals for H3C S5120-SI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S5120-SI Series and is the answer not in the manual?

H3C S5120-SI Series Specifications

General IconGeneral
BrandH3C
ModelS5120-SI Series
CategorySwitch
LanguageEnglish

Related product manuals