Name
distribute-list in — router
Synopsis
distribute-listaccess-list
in [interface
] no distribute-listaccess-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
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.