Vyatta NOS documentation

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

policy route access-list <list-num> rule <rule-num> action

Specifies the action to be taken for packets matching an access list rule.

set policy route access-list list-num rule rule-num action { deny | permit }
delete policy route access-list list-num rule rule-num action
show policy route access-list list-num rule rule-num action

Packets matching this rule are forwarded.

list-num
The number of a defined access list.
rule-num
The number of a defined access list rule.
deny
Packets matching this rule are silently dropped.
permit
Packets matching this rule are forwarded.

Configuration mode


policy {
    route {
        access-list list-num {
            rule rule-num {
                action {
                    deny
                    permit
                }
            }
        }
    }
}

Use the set form of this command to define the action taken when received packets satisfy the match criteria for this rule.

If the action for a rule is deny, packets meeting the match criteria of the rule are silently dropped. If the action for the rule is permit, packets meeting the match criteria of the rule are forwarded.

Use the delete form of this command to restore the default action for packets satisfying the match criteria.

Use the show form of this command to display action settings for this rule.