A SERVICE OF

logo

1993
View System view
Parameter permit: Sets the default filtering action to “permit”.
deny: Sets the default filtering action to “deny”.
Description Use the
firewall default command to set the default filtering action of the
firewall to “permit” or “deny”.
By default, the default filtering action is “permit”, which applies to traffic not
defined by the ACLs.
Example # Set the default filtering mode of the firewall to “deny”.
<Sysname> system-view
[Sysname] firewall enable
firewall enable
Syntax firewall enable
undo firewall enable
View System view
Parameter None
Description Use the
firewall enable command to enable the firewall.
Use the undo firewall enable command to disable the firewall.
By default, the firewall is disabled.
Example # Enable the firewall.
<Sysname> system-view
[Sysname] firewall enable
firewall ethernet-frame-filter
Syntax firewall ethernet-frame-filter { acl-number | name acl-name } { inbound |
outbound }
undo firewall ethernet-frame-filter { inbound | outbound }
View Interface view
Parameter acl-number: Layer 2 ACL number, in the range 4000 to 4999.