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 out — router

Synopsis

distribute-list access-list out [interface | routing-process]
no distribute-list access-list out [interface | routing-process]

Configures

A filter list to be applied to outbound routing updates

Default

None

Description

This command applies the given access list to outbound routing updates. The access list must be a standard IP access list; it defines which networks will be denied or permitted. The interface name applies the list to routing updates going out a specific interface. (This does not apply to OSPF.) The routing-process applies the access list to routes going to another routing process. The connected and static keywords may be used to specify a routing process.

Example

route rip
  network 10.0.0.0
  distribute-list 1 out
!
! 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