User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 794
Default None
Mode Router BGP Config Mode
IPv6 Address Family Config Mode
IPv4 VRF Address Family
6.10.2.32. neighbor filter-list
This command is used to filter advertisements to or from a specific neighbor according to the advertisements
AS path. Only a single AS path list can be configured in each direction for each neighbor. If you invoke the
command a second time for a given neighbor, the new AS path list number replaces the previous AS path list
number.
If you assign a neighbor filter list to a nonexisted AS path access list, all routes are filtered.
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.
To unconfigure neighbor filter lists, use the no form of this command.
Format neighbor {<ipv4-address> | <ipv6-address> [interface {<slot/port> | vlan {1-4093}}] | autodetect
interface <slot/port>} filter-list <listnum> {in | out}
no neighbor {<ipv4-address> | <ipv6-address> [interface {<slot/port> | vlan {1-4093}}] | autodetect
interface <slot/port>} filter-list <listnum> {in | out}
Default None
Mode Router BGP Config Mode
IPv6 Address Family Config Mode
IPv4 VRF Address Family
Fields
Definition
ipv4-address
IPv4 address of the neighboring router.
ipv6-address
IPv6 address of the neighboring router.
Interface
If the neighbors IPv6 address is a link local address, the local interface must be
specified as well.
autodetect interface
The routing interface on which the neighbors IPv6 link local address is auto
detected.
Listnum
Number to identify an AS path list. The range is from 1 to 500.
In
Access list is applied to advertisements received from the neighbor.
Out
Access list is applied to advertisements to be sent to the neighbor.