Neighbor prefixlist

To distribute BGP neighbor information as specified in a prefix-list, use the neighbor prefix-list router configuration command.

■ neighbor {ip-address | peer-group-name} prefix-list prefix-listname {in | out} To remove an entry, use the no form of this command.

■ no neighbor {ip-address | peer-group-name} prefix-list prefix-listname {in | out} Syntax Description

Parameter

Description

ip-address

IP address of neighbor

peer-group-name

Name of a BGP peer group

prefix-listname

Name of a prefix-list

in

Access-list is applied to incoming advertisements to that neighbor

out

Access-list is applied to outgoing advertisements from that neighbor

Note A BGP peer group is a group of BGP neighbors with the same update policies. Route-maps, distribute-lists, filter-lists, and so on usually set update policies. Instead of defining the same policies for each separate neighbor, a peer group name is configured on the router, and these policies are assigned to the peer group. BGP peer groups are discussed in a later module.

© 2005, Cisco Systems, Inc. Route Selection Using Policy Controls 3-51

Was this article helpful?

0 0

Post a comment