neighbor prefix-list
neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
prefix-list
string
{
in
|
out
}
no neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
prefix-list
string
{
in
|
out
}
BGP configuration mode
BGP address-family IPv6 unicast configuration mode
When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.
The following example applies the prefix list "myprefixlist" to incoming advertisements to neighbor 10.11.12.13.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 prefix-list myprefixlist in
The following example applies the prefix list "myprefixlist" to outgoing advertisements to neighbor 2001:2018:8192::125.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# neighbor 2001:2018:8192::125 prefix-list myprefixlist out