8-21. : neighbor {ip-address | peer-group-name} prefix-list prefix-list-name in

Syntax Description:

  • ip-address— Neighbor's IP address.

  • peer-group-name— Name of the peer group. See section 8-19.

  • prefix-list-name— Name of the input IP prefix list.

Purpose: To filter incoming route updates from a particular BGP neighbor based on the IP address and mask length. Only one prefix list can be used per neighbor. The operation of the input prefix list is identical for both IBGP and EBGP neighbors. Using a prefix list is an alternative to using an extended IP access list and a distribute list.

Cisco IOS Software Release: 12.0

Configuration Example 1: Allow an Aggregate Route While Blocking the More-Specific Routes

In Figure 8-20, Router B is advertising four ...

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.