Administrator Guide
Layer 3 Routing Commands 1313
Example
console(config-router)#neighbor FE80::0202:B3FF:FE1E:8329 interface vlan 10
password sample
neighbor prefix-list (BGP Router Configuration)
Use the neighbor prefix-list command to filter advertisements sent to a
specific neighbor based on the destination prefix of each route.
Syntax
neighbor { ip-address | ipv6-address [interface vlan vlan-id]} prefix-list
prefix-list-name { in | out }
no neighbor { ip-address | ipv6-address [interface vlan vlan-id]} prefix-list
prefix-list-name { in | out }
• ip-address—The neighbor’s IPv4 address.
• prefix-list-name—The name of an IP prefix list.
• ipv6-address—The neighbor’s IPv6 address. If the neighbor’s IPv6 address
is a link local address, the local interface must also be specified. This
command is available in IPv6 address family mode.
• interface vlan vlan-id—The local interface/VLAN ID over which the IPv6
neighbor can be reached. Range: 1-4093.
• in—Apply the prefix list to advertisements received from this neighbor.
• out—Apply the prefix list to advertisements to be sent to this neighbor.
Default Configuration
No prefix list is configured.
Command Mode
BGP Router Configuration mode
User Guidelines
Only one prefix list may be defined for each neighbor in each direction. If a
prefix list that does not exist is assigned, all prefixes are permitted. The VLAN
interface must also be specified if a link-local address is specified.