Command Reference Guide BGP Neighbor Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 1292

prefix-list <listname> [in | out]

Use the prefix-list command to assign a predefined prefix list to a BGP neighbor. The list is then used to
filter BGP route updates received and/or sent from/by the specified peer. Use the no form of this command
to discontinue use of the prefix list.
Syntax Description
<listname> Assigns a prefix list to this BGP neighbor.
in Specifies the filtering of all inbound BGP route updates received from the
specified peer.
out Specifies the filtering of all outbound BGP route updates being sent to the
specified peer.
Default Values
By default, no prefix lists are specified for filtering.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and Total Access 900
Series units.
Command History
Release 9.3 Command was introduced.
Functional Notes
Before they can be assigned to a BGP neighbor, prefix lists must first be defined using the ip prefix-list
command. See ip prefix-list <listname> description <“text”> on page 444 for more information.
Usage Examples
The following example uses the MyList prefix list to filter all BGP updates received from the spe cified peer:
(config)#router bgp-neighbor 192.22.73.101
(config-bgp-neighbor)#prefix-list MyList in