R2511-HP MSR Router Series Security Command Reference(V5)
394
Parameters
deny: Specifies the filtering action as denying packets to pass the firewall.
permit: Specifies the filtering action as permitting packets to pass the firewall.
all: Specifies that the configuration applies to all interface cards.
slot slot-number: Specifies that the configuration applies to the interface card in the specified slot.
Examples
# Specify the default filtering action of the IPv4 firewall as denying packets to pass.
<Sysname> system-view
[Sysname] firewall default deny
firewall enable
Use firewall enable to enable the IPv4 firewall function.
Use undo firewall enable to disable the IPv4 firewall function.
Syntax
firewall enable
undo firewall enable
Default
The IPv4 firewall function is disabled.
Views
System view
Default command level
2: System level
Parameters
None
Examples
# Enable the IPv4 firewall function.
<Sysname> system-view
[Sysname] firewall enable
firewall ethernet-frame-filter
Use firewall ethernet-frame-filter to configure Ethernet frame filtering.
Use undo firewall ethernet-frame-filter to remove the Ethernet frame filtering.
Syntax
firewall ethernet-frame-filter { acl-number | name acl-name } { inbound | outbound }
undo firewall ethernet-frame-filter [ { acl-number | name acl-name } ] { inbound | outbound }
Views
Interface view










