Users Guide

The default is 0 seconds.
Creating Filter Routes
To lter routes, use prex lists. OSPF applies prex lists to incoming or outgoing routes.
Incoming routes must meet the conditions of the prex lists. If they do not, OSPF does not add the route to the routing table. Congure
the prex list in CONFIGURATION PREFIX LIST mode prior to assigning it to the OSPF process.
Create a prex list and assign it a unique name.
CONFIGURATION mode
ip prefix-list prefix-name
You are in PREFIX LIST mode.
Create a prex list with a sequence number and a deny or permit action.
CONFIG- PREFIX LIST mode
seq sequence-number {deny |permit} ip-prefix [ge min-prefix-length] [le max-prefix-length]
The optional parameters are:
ge min-prefix-length: is the minimum prex length to match (from 0 to 32).
le max-prefix-length: is the maximum prex length to match (from 0 to 32).
For conguration information about prex lists, refer to Access Control Lists (ACLs).
Applying Prex Lists
To apply prex lists to incoming or outgoing OSPF routes, use the following commands.
Apply a congured prex list to incoming OSPF routes.
CONFIG-ROUTEROSPF-id mode
distribute-list prefix-list-name in [interface]
Assign a congured prex list to outgoing OSPF routes.
CONFIG-ROUTEROSPF-id
distribute-list prefix-list-name out [connected | isis | rip | static]
Redistributing Routes
You can add routes from other routing instances or protocols to the OSPF process.
With the redistribute command, you can include RIP, static, or directly connected routes in the OSPF process.
NOTE
: Do not route iBGP routes to OSPF unless there are route-maps associated with the OSPF redistribution.
To redistribute routes, use the following command.
Specify which routes are redistributed into OSPF process.
CONFIG-ROUTEROSPF-id mode
redistribute {bgp | connected | isis | rip | static} [metric metric-value | metric-type type-
value] [route-map map-name] [tag tag-value]
Congure the following required and optional parameters:
694
Open Shortest Path First (OSPFv2 and OSPFv3)