4-1
4
ACL Application for Packet Filtering
When applying an ACL for packet filtering, go to these sections for information you are interested in:
z
Filtering IPv4 Packets
z
Filtering IPv6 Packets
z
ACL Application Example
You can apply an ACL to the inbound or outbound direction of an interface to filter received or sent
packets such as IPv4 packets and IPv6 packets.
Filtering IPv4 Packets
Follow these steps to apply an IPv4 ACL to an interface to filter IPv4 packets:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Apply a basic or advanced IPv4
ACL to the interface to filter
IPv4 packets
packet-filter
{
acl-number
|
name
acl-name
} {
inbound
|
outbound
}
Required
By default, an interface does
not filter IPv4 packets.
Filtering IPv6 Packets
Follow these steps to apply an IPv6 ACL to an interface to filter IPv6 packets:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Apply a basic or advanced IPv6
ACL to the interface to filter
IPv6 packets
packet-filter ipv6
{
acl6-number
|
name
acl6-name
} {
inbound
|
outbound
}
Required
By default, no IPv6 ACL is
applied to the interface.
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...