R3721-F3210-F3171-HP High-End Firewalls Attack Protection Command Reference-6PW101
11
[Sysname] firewall ipv6 default deny
firewall ipv6 enable
Syntax
firewall ipv6 enable
undo firewall ipv6 enable
View
System view
Default level
2: System level
Parameters
None
Description
Use firewall ipv6 enable to enable the IPv6 firewall function.
Use undo firewall ipv6 enable to disable the IPv6 firewall function.
By default, the IPv6 firewall function is disabled.
Examples
# Enable the IPv6 firewall function.
<Sysname> system-view
[Sysname] firewall ipv6 enable
firewall packet-filter ipv6
Syntax
firewall packet-filter ipv6 { acl6-number | name acl6-name } { inbound | outbound }
undo firewall packet-filter ipv6 [ { acl6-number | name acl6-name } ] { inbound | outbound }
View
Interface view
Default level
2: System level
Parameters
acl-number: Basic ACL number, in the range of 2000 to 2999; 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
32 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.