R3303-HP HSR6800 Routers Security Command Reference

386
name acl-name: Specifies the name of a basic or advanced IPv4 ACL; a case-insensitive string of 1 to 63
characters that must start with an English letter a to z or A to Z. To avoid confusion, the word "all" cannot
be used as the ACL name.
inbound: Filters packets received by the interface.
outbound: Filters packets forwarded from the interface.
Usage guidelines
You can apply only one IPv4 ACL in one direction of an interface to filter packets.
Examples
# Apply ACL 2001 to interface GigabitEthernet 3/0/1 to filter outbound packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] firewall packet-filter 2001 outbound
firewall packet-filter ipv6
Use firewall packet-filter ipv6 to configure IPv6 packet filtering on the interface.
Use undo firewall packet-filter ipv6 to remove the IPv6 packet filtering setting on the interface.
Syntax
firewall packet-filter ipv6 { acl6-number | name acl6-name } { inbound | outbound }
undo firewall packet-filter ipv6 [ { acl6-number | name acl6-name } ] { inbound | outbound }
Default
IPv6 packets are not filtered on the interface.
Views
Interface view
Default command level
2: System level
Parameters
acl-number: Specifies a basic ACL number in the range of 2000 to 2999 or an advanced ACL number
in the range of 3000 to 3999.
name acl6-name: Specifies the name of a basic or advanced IPv6 ACL; a case-insensitive string of 1 to
63 characters that must start with an English letter a to z or A to Z. To avoid confusion, the word "all"
cannot be used as the ACL name.
inbound: Specifies to filter packets received by the interface.
outbound: Specifies to filter packets forwarded by the interface.
Usage guidelines
You can apply only one IPv6 ACL in one direction of an interface to filter packets.
Examples
# Apply IPv6 ACL 2500 to GigabitEthernet 3/0/1 to filter outbound packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1