OSPF Commands 1227
Examples
The following examples set route preference values of OSPF in the router.
console(config-router)#distance ospf intra 4
console(config-router)#distance ospf type1 19
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
name
out {rip | static
\
connected}
no distribute-list
name
out {rip | static
\
connected}
Syntax Description
Default Configuration
This command has no default configuration.
Command Mode
Router OSPF Configuration mode.
Parameter Description
name 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.
2CSPC4.X8100-SWUM102.book Page 1227 Friday, March 15, 2013 8:56 AM