Layer 3 Routing Commands 1654Syntaxdistribute-list name out {bgp | rip | static \ connected}no distribute-list name out {bgp | rip | static \ connected}• name—The name used to identify an existing ACL. The range is 1–31characters.• bgp—Apply the specified access list when BGP is the source protocol.• rip—Apply the specified access list when RIP is the source protocol.• static—Apply the specified access list when packets come through thestatic route.• connected—Apply the specified access list when packets come from adirectly connected route.Default ConfigurationThis command has no default configuration.Command ModeRouter OSPF Configuration mode.User GuidelinesThis command has no user guidelines.ExampleThe following example specifies the access list to filter routes received fromthe RIP source protocol.console(config-router)#distribute-list ACL40 out ripenableUse the enable command in Router OSPF Configuration mode to set theadministrative mode of OSPF in the router (active). OSPF is now globallyenabled using the router ospf command. Use the no form of the command todisable the administrative mode for OSPF.