home

Supported platforms

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

Defines the address family for an IP routing policy rule.

set policy route pbr name rule rule-number address-family [ ipv4 | ipv6 ]
delete policy route pbr name rule rule-number address-family [ ipv4 | ipv6 ]
show policy route pbr name rule rule-number address-family
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.

address-family
The address-family for an IP routing policy rule. The address-family for an IP routing policy are ipv4 and ipv6.

Configuration mode


policy {
    route {
        pbr name {
                rule rule-number {
                    address-family ipv4
                    address-family ipv6 
                }
            }
        }
    }

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 and routing protocol for an IP routing policy rule.

Use the delete form of this command to remove the address family and routing protocol for an IP routing policy rule.

Use the show form of this command to view the address family and routing protocol for an IP routing policy rule.