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> ipv6-route type <type-number>

Defines the IPv6 route type to match for a routing policy rule.

set policy route pbr name rule rule-number ipv6-route type type-number
delete policy route pbr name rule rule-number ipv6-route type
show policy route pbr name rule rule-number ipv6-route type
name
Name of a PBR group. The PBR group 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.

ipv6-route
Specifies matching based on an IPv6 route.
type-number
IPv6 route-type. Values range from 0 through 255.

Configuration mode


policy {
    route {
        pbr name {
            rule rule-number {
                ipv6-route {
                    type type-number 
                }
            }
        }
    }
}
Note: This command can be used to block Type 0 routing headers in IPv6. RFC 5095 deprecates the use of Type 0 routing headers in IPv6 because they are a security risk.

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

Use the set form of this command to define the IPv6 route type for a routing-policy rule set.

Use the delete form of this command to delete the IPv6 route type for the routing-policy rule set.

Use the show form of this command to display the IPv6 route type for the routing-policy rule set.