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.

protocols bgp <asn> neighbor <id> address-family ipv4-unicast distribute-list import <acl-number>

Applies an access list to filter inbound routing updates from this neighbor.

set protocols bgpasnneighboridaddress-familyipv4-unicastdistribute-listimportacl-number
delete protocols bgpasnneighboridaddress-familyipv4-unicastdistribute-listacl-number
show protocols bgpasnneighboridaddress-familyipv4-unicastdistribute-list
asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
id
The IPv4 or IPv6 address of a BGP neighbor.
acl-number
The number of a standard or extended access list. The range for a standard access list is 1 through 99. The range for an extended access list is 100 through 199.

Configuration mode


protocols {
    bgp asn {
        neighbor id {
            address-family {
                ipv4-unicast {
                    distribute-list {
                        import acl-number
                    }
                }
            }
        }
    }
}

Use the set form of this command to apply an access list to filter inbound routing updates from a BGP neighbor.

Use the delete form of this command to disable inbound distribute list filtering.

Use the show form of this command to view BGP neighbor distribute list configuration settings.

To create access lists, use the policy route access-list rule commands described in Ciena Vyatta Network OS Routing Policies Configuration Guide

A neighbor distribute list cannot be used together with a neighbor prefix list in the same direction. These two lists are mutually exclusive, and only one list can be applied to the specified direction.

In the case of the IPv4 address family, if extended IPv4 ACLs are used in a route map, the route must be specified in the source field of the ACL and the net mask of the route must be specified in the destination field of the ACL.

The inverse mask for the source field is applied to the prefix before the comparison with the source. The inverse mask for the destination field is applied to the net mask of the prefix before the comparison with the net mask as specified in the destination field.

Effectively, the prefix must match the source with application of inverse mask of the source field. And the net mask for the prefix must match the destination with application of inverse mask of the destination field.