13 distribute-list (ospf) – CANOGA PERKINS 9175 Command Reference User Manual
Page 221
CanogaOS Command Reference
15-12
dist2: 110
dist3: 110
Command Mode
Router configuration
Usage
You may specify one of the keywords or use distance only to apply to all types of routes.
The distance command allows you to set a distance for an entire group of routes, rather than a specific
route that passes an access list.
A common reason to use the distance command is when you have multiple OSPF processes with
mutual redistribution, and you want to prefer internal routes from one over external routes from the other.
Examples
The following example shows a router in autonomous system using both the Routing Information
Protocol (RIP) and the OSPF routing protocols. The example advertises OSPF-derived routes using RIP
and assigns the Internal Gateway Protocol (IGP)-derived routes a RIP metric of 10.
router rip
default-metric 10
redistribute ospf
Related Commands
15.13 distribute-list (OSPF)
To filter networks received in updates or suppress networks from being advertised in updates, use the
distribute-list command in router configuration mode. To cancel this function, use the no form of this
command.
Command Syntax
distribute-list access-list-name {in | out}
no distribute-list access-list-name {in | out}
access-list-name
Name of an access list to be applied.
in
Filter
networks
received
in
updates.
out
Suppress networks from being advertised in updates.
Default
This command is disabled by default.
Command Mode
Router configuration
Usage
This command must specify an access list.