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 pbr <name> rule <rule-number>

Defines an IP routing policy rule.

set policy route pbr name rule rule-number
delete policy route pbr name rule [ rule-number ]
show policy route pbr name rule
name
The name of an IP routing policy.
rule-number
The numeric identifier of the rule. Rule numbers determine the order in which rules are executed. Each rule must have a unique rule number. The numbers range from 1 through 9999.

You can define multiple rules by creating more than one rule configuration node.

Configuration mode


policy {
    route {
        pbr name {
                rule rule-number
            }
        }
    }

A policy identifies traffic that matches parameters and specifies which routing table to use. The table defines the route for a packet to take. A routing policy is a named collection of as many as 9,999 packet-classification rules. When applied to an interface, the policy rule classifies incoming traffic.

You must specify the address-family, action, and table leaf nodes to configure a routing policy. It is recommended to use the delete policy route pbr name rule number command to delete a routing policy.

Use the set form of this command to create a rule.

Use the delete form of this command to delete an existing IP routing policy.

Use the show form of this command to display a rule.