Command:

neighbor prefix-list


Mode:

Router(config-router)#

Router(config-router-af)#

 

Syntax:

neighbor {ip-address | peer-group-name} prefix-list prefix-listname {in | out}

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

 

Syntax Description:

prefix-list-name

Name of a prefix list

peer-group-name

Name of a BGP peer group

ip-address

IP address of neighbor

in

Filter incoming updates

out

Filter outgoing updates

 


Command Description:

To distribute BGP neighbor information as specified in a prefix list, use the neighbor prefix-list command in address family or router configuration mode. To remove an entry, use the no form of this command.


Example:

The following router configuration mode example applies the prefix list named abc to incoming advertisements to neighbor 120.23.4.1:

Router(config)#router bgp 109

Router(config-router)#network 131.108.0.0

Router(config-router)#neighbor 120.23.4.1 prefix-list abc in

The following address family configuration mode example applies the prefix list named abc to incoming advertisements to neighbor 120.23.4.1:

Router(config)#router bgp 109

Router(config-router)#address-family ipv4 unicast

Router(config-router-af)#network 131.108.0.0

Router(config-router-af)#neighbor 120.23.4.1 prefix-list abc in

 

Misconceptions:

 

None


Related Commands:

 

neighbor filter-list

 

ip as-path access-list

 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)