R3303-HP HSR6800 Routers Security Command Reference

385
Examples
# Specify the default filtering action of the IPv6 firewall as denying packets to pass.
<Sysname> system-view
[Sysname] firewall ipv6 default deny
firewall ipv6 enable
Use firewall ipv6 enable to enable the IPv6 firewall function.
Use undo firewall ipv6 enable to disable the IPv6 firewall function.
Syntax
firewall ipv6 enable
undo firewall ipv6 enable
Default
The IPv6 firewall function is disabled.
Views
System view
Default command level
2: System level
Examples
# Enable the IPv6 firewall function.
<Sysname> system-view
[Sysname] firewall ipv6 enable
firewall packet-filter
Use firewall packet-filter to configure IPv4 packet filtering on the interface.
Use undo firewall packet-filter to cancel the configuration.
Syntax
firewall packet-filter { acl-number | name acl-name } { inbound | outbound }
undo firewall packet-filter { acl-number | name acl-name } { inbound | outbound }
Default
Packets are not filtered on an 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.