O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

neighbor prefix-list — router, BGP

Synopsis

neighbor {address | peer-group} prefix-list prefix-list-name {in | out}
no neighbor {address | peer-group} prefix-list prefix-list-name {in | out}

Configures

Assigns a prefix list to a BGP neighbor

Default

None

Description

This command lets you filter BGP routes by assigning a prefix list to a neighbor instead of using an AS path filter.

address or peer-group

The address or peer group of the neighbor.

prefix-list prefix-list-name

The name of the prefix list defined by the ip as-path access-list command.

in

The filter applies to incoming routes.

out

The filter applies to outgoing routes.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required