Users Guide
The default is 0 seconds.
Creating Filter Routes
To lter routes, use prex lists. OSPF applies prex lists to incoming or outgoing routes.
Incoming routes must meet the conditions of the prex lists. If they do not, OSPF does not add the route to the routing table. Congure
the prex list in CONFIGURATION PREFIX LIST mode prior to assigning it to the OSPF process.
• Create a prex list and assign it a unique name.
CONFIGURATION mode
ip prefix-list prefix-name
You are in PREFIX LIST mode.
• Create a prex 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 prex length to match (from 0 to 32).
– le max-prefix-length: is the maximum prex length to match (from 0 to 32).
For conguration information about prex lists, refer to Access Control Lists (ACLs).
Applying Prex Lists
To apply prex lists to incoming or outgoing OSPF routes, use the following commands.
• Apply a congured prex list to incoming OSPF routes.
CONFIG-ROUTEROSPF-id mode
distribute-list prefix-list-name in [interface]
• Assign a congured prex 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]
Congure the following required and optional parameters:
694
Open Shortest Path First (OSPFv2 and OSPFv3)