Users Guide

Layer 3 Routing Commands 1304
Example
console(config-router)#neighbor FE80::0202:B3FF:FE1E:8329 interface vlan 10
filter-list 1 in
neighbor filter-list (IPv6 Address Family
Configuration)
This command filters BGP to apply an AS path access list to UPDATE
messages received from or sent to a specific neighbor. Filtering for IPv6 is
independent of filtering configured for IPv4. If an UPDATE message includes
both IPv4 and IPv6 NLRI, it could be filtered for IPv4 but accepted for IPv6
or vice versa.
Syntax
neighbor { ip-address | ipv6-address [ interface interface-id ]} filter-list as-
path-list-number {in | out}
no neighbor { ip-address | ipv6-address [ interface interface-id ]} filter-list
as-path-list-number {in | out}
ip-address—The neighbor’s IPv4 address.
ipv6-address [interface interface-id]—The neighbor’s IPv6 address. If the
neighbor’s IPv6 address is a link local address, the local interface must also
be specified.
as-path-list-number —Identifies an AS path list.
in—The AS Path list is applied to advertisements received from the
neighbor.
out—The AS Path list is applied to advertisements to be sent to the
neighbor.
Default Configuration
No neighbor filter lists are configured by default.
Command Mode
BGP Router Configuration mode