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.

policy route as-path-list <list-name> rule <rule-num> action

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

set policy route as-path-list list-name rule rule-num action { deny | permit }
delete policy route as-path-list list-name rule rule-num action
show policy route as-path-list list-name rule rule-num action

Packets matching this rule are forwarded.

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

Configuration mode


policy {
    route {
    as-path-list list-name {
        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, destination-based routing is performed; that is, packets are sent using the normal forwarding channels.

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.