home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

security firewall name <name> rule <rule-number> action <action>

Defines the action for a firewall rule.

set security firewall name name rule rule-number action { accept | drop }
delete security firewall name name rule rule-number action { accept | drop }
show security firewall name name rule rule-number action
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.