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> table <table-number>

Defines the table number for an IP routing policy rule.

set policy route pbr name rule rule-number table table-number
delete policy route pbr name rule rule-number table [ table-number ]
show policy route pbr name rule rule-number
name
The name of an IP routing policy. The policy name must be unique and must not be used with other PBR policy commands.
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.

table-number
To match according to the PBR Table ID numbers 1 through 128. Performs alternate processing on packets satisfying the match criteria.

Configuration mode


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

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 define the address family or routing table ID for an IP routing policy rule.

Use the delete form of this command to remove the address family or routing table ID for a rule.

Use the show form of this command to view the address family or routing table ID for a rule.

The address family must match the specified family by using the set policy route pbr name rule number address-family ipv4 command.

Use the set form of this command to define the source for a routing policy rule.

Use the delete form of this command to remove the source for a routing policy rule.

Use the show form of this command to view the source for a routing policy rule.