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 access-list <list-num> rule <rule-num> source

Defines match criteria for an access list rule based on source.

set policy route access-list list-num rule rule-num source { any | host ipv4 | inverse-mask ipv4 | network ipv4net }
delete policy route access-list list-num rule rule-num source
show policy route access-list list-num rule rule-num source
list-num
The number of a defined access list.
rule-num
The number of a defined access list rule.
any
Match packets coming from any source. Exactly one of any, host, inverse-mask, and network is mandatory.
host ipv4
Match packets coming from the specified IPv4 host. Exactly one of any, host, inverse-mask, and network is mandatory.
inverse-mask ipv4
Match packets coming from the network specified by the mask. Exactly one of any, host, inverse-mask, and network is mandatory.
network ipv4net
Match packets coming from the specified network. The format is ip-address/prefix. Exactly one of any, host, inverse-mask, and network is mandatory.

Configuration mode


policy {
    route {
    access-list list-num {
        rule rule-num {
            source {
                any
                host ipv4
                inverse-mask ipv4
                network ipv4net
                }
            }
        }
    }
}

Use the set form of this command to specify the source match criteria for this access list rule.

Use the delete form of this command to remove the configured source match criteria for this rule. If no match criteria are specified, no packet filtering on source will take place; that is, packets from all sources are permitted.

Use the show form of this command to display configuration settings for access list rule source packet filtering.