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

distribute-list in — router

Synopsis

distribute-list access-list in [interface]
no distribute-list access-list in [interface]

Configures

An access list to filter incoming routing updates

Default

None

Description

This command allows you to apply an access list to incoming route updates to a routing protocol. If no interface is specified, the access list is applied to all incoming route updates. If an interface is specified, the access list is applied only to route updates received on that interface. The access list should be a standard access list.

Example

The following distribute list applies access list 1 to incoming routes:

route rip
  network 10.0.0.0
  distribute-list 1 in
!
! Deny network 10.1.1.0
access-list 1 deny 10.1.1.0
! Permit everything else
access-list 1 permit 0.0.0.0 255.255.255.255

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