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
name
distribute-list
no distribute-list
Syntax Description
Parameter
name
rip
static
connected
Default Configuration
This command has no default configuration.
Command Mode
Router OSPF Configuration mode.
out {rip | static
name
out {rip | static
Description
The name used to identify an existing ACL. The range is 1–31
characters.
Apply the specified access list when RIP is the source protocol.
Apply the specified access list when packets come through the
static route.
Apply the specified access list when packets come from a
directly connected route.
\
connected}
\
connected}
OSPF Commands
1177