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 prefix-list <list-name> rule <rule-num> prefix <ipv4net>

Defines match criteria for a prefix list rule based on an IPv4 network.

set policy route prefix-list list-name rule rule-number prefix ipv4net
delete policy route prefix-list list-name rule rule-num prefix
show policy route prefix-list list-name rule rule-num prefix

If no network is specified, all networks are considered to match the rule.

list-name
The name of a defined prefix list.
rule-num
The number of a defined prefix list rule.
ipv4net
An IPv4 network. Networks exactly matching this network will match this rule. The format is ip-address/prefix.

Configuration mode


policy {
    route {
       prefix-list list-name {
          rule rule-number {
            prefix ipv4net
           }
        }
    }
}

Use the set form of this command to specify a network for determining routing policy. The network specified in incoming packets are compared with this value; if it exactly matches the network specified in this command, the rule is matched and the action specified for the rule is taken.

Exactly one comparison (ge, le, or prefix) may be specified for a prefix list rule.

Use the delete form of this command to remove the specified “ge” prefix. If no prefix is specified, all network prefixes are considered to match the rule.

Use the show form of this command to display the value specified as “ge” prefix.