746 OSPF Commands
distribute-list out
Use the distribute-list out command in Router OSPF Configuration mode to specify the access 
list to filter routes received from the source protocol. Use the no form of the command to 
remove the specified source protocol from the access list.
Syntax
distribute-list 
accesslistname
 out {rip|static \ connected} 
no distribute-list 
accesslistname
 out {rip|static 
\ 
connected} 
•
accesslistname
 — The name used to identify an existing ACL. The range is 1–31 characters.
•
rip
 — Apply the specified access list when RIP is the source protocol.
•
static
 — Apply the specified access list when packets come through the static route.
•
connected
 — Apply the specified access list when packets come from a directly connected 
route.
Default Configuration
This command has no default configuration.
Command Mode
Router OSPF Configuration mode.
User Guidelines
This command has no user guidelines.
Example
The following example specifies the access list to filter routes received from the RIP source 
protocol.
console(config-router)#distribute-list ACL40 out rip
enable
Use the enable command in Router OSPF Configuration mode to reset the default 
administrative mode of OSPF in the router (active). Use the no form of the command to disable 
the administrative mode for OSPF.
Syntax
enable
no enable