Reference Guide

644 | Open Shortest Path First (OSPFv2 and OSPFv3)
www.dell.com | support.dell.com
Use the following commands in CONFIGURATION-ROUTER OSPF mode to apply prefix lists to
incoming or outgoing OSPF routes.
Redistribute routes
You can add routes from other routing instances or protocols to the OSPF process. With the redistribute
command syntax, you can include RIP, static, or directly connected routes in the OSPF process.
Use the following command in CONFIGURATION- ROUTER-OSPF mode to redistribute routes:
To view the current OSPF configuration, use the show running-config ospf command in the EXEC mode
or the
show config command in the ROUTER OSPF mode.
Figure 29-18. Command Example: show config
Command Syntax Command Mode Usage
distribute-list prefix-list-name in [interface] CONFIG-ROUTER-
OSPF-id
Apply a configured prefix list to incoming
OSPF routes.
distribute-list prefix-list-name out [connected |
isis | rip | static]
CONFIG-ROUTER-
OSPF-id
Assign a configured prefix list to outgoing
OSPF routes.
Note: Do not route iBGP routes to OSPF unless there are route-maps associated with the OSPF
redistribution.
Command Syntax Command Mode Usage
redistribute {bgp | connected | isis |
rip | static} [metric metric-value |
metric-type type-value] [route-map
map-name] [tag tag-value]
CONFIG-ROUTER-
OSPF-id
Specify which routes will be redistributed into OSPF
process. Configure the following required and
optional parameters:
bgp, connected, isis, rip, or static: enter one
of the keyword to redistribute those routes. rip is
supported only on E-Series.
metric metric-value range: 0 to 4294967295.
metric-type metric-type: 1 for OSPF external
route type 1 or 2 for OSPF external route type 2.
route-map map-name: enter a name of a
configured route map.
tag tag-value range: 0 to 4294967295.
FTOS(conf-router_ospf)#show config
!
router ospf 34
network 10.1.2.32 0.0.0.255 area 2.2.2.2
network 10.1.3.24 0.0.0.255 area 3.3.3.3
distribute-list dilling in
FTOS(conf-router_ospf)#