CLI Guide

Table Of Contents
Layer 3 Routing Commands 1282
Default Configuration
No distribute lists are defined by default.
Command Mode
BGP Router Configuration mode
IPv6 Address Family Configuration mode
User Guidelines
The distribute list is applied to all routes received from all neighbors. Only
routes permitted by the prefix list are accepted. If the command refers to a
prefix list that does not exist, the command is accepted and all routes are
permitted.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)#distribute-list prefix 255 in
distribute-list prefix out (BGP Router
Configuration)
Use this command to configure a filter that restricts the advertisement of
routes based on destination prefix.
Syntax
distribute-list prefix list-name out [ protocol | connected | static ]
no distribute-list prefix list-name out [ protocol | connected | static ]
prefix list-name—A prefix list used to filter routes advertised to neighbors.
protocol|connected|static—(Optional) When a route source is specified,
the distribute list applies to routes redistributed from that source. Only
routes that pass the distribute list are redistributed. The protocol value
may be either rip or ospf.