protocols bgp <asn> peer-group <name> address-family ipv4-unicast distribute-list import <acl-number>
Applies an access list to filter inbound routing updates from this peer group.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- name
- The peer group name.
- acl-number
- The number of a standard or extended access list. The number range is 1 through 99 for a standard access list, and 100 through 199 for an extended access list.
Configuration mode
protocols {
bgp asn {
peer-group name {
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 peer group.
Use the delete form of this command to disable inbound distribute list filtering.
Use the show form of this command to view BGP peer group distribute list configuration settings.
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.