security firewall name <name> rule <rule-number> action <action>
Defines the action for a firewall rule.
- name
- The name of a firewall rule set.
- rule-number
- The numeric identifier of a rule. The identifier ranges from 1 through 9999.
- accept
- Accepts the packet when it satisfies the match criteria.
Exactly one action must be specified.
- drop
- Drops the packet silently when it satisfies the match criteria.
Exactly one action must be specified.
Configuration mode
=security {
firewall {
name name {
rule rule-number {
action accept
action drop
}
}
}
}
Use the set form of this command to define an action for a firewall rule within a firewall rule set.
Use the delete form of this command to delete an action for a rule from a firewall rule set.
Use the show form of this command to display an action for a rule from a firewall rule set.