Administrator Guide
It is possible to keep only one locally originated route in the BGP database. Network command has preference
over the re-distributed routes. When the locally originated route is no longer present in the database the other
route is automatically installed.
Related
Commands
• neighbor default-originate — inject the default route.
redistribute ospf
Redistribute OSPF routes into BGP.
Syntax
redistribute ospf process-id [[match external {1 | 2}] [match internal]]
[route-map map-name]
To stop redistribution of OSPF routes, use the no redistribute ospf process-id command.
Parameters
process-id
Enter the number of the OSPF process. The range is from 1 to 65535.
match external {1 |
2}
(OPTIONAL) Enter the keywords match external to redistribute OSPF external
routes. You can specify 1 or 2 to redistribute those routes only.
match internal (OPTIONAL) Enter the keywords match internal to redistribute OSPF internal
routes only.
route-map
map-
name
(OPTIONAL) Enter the keywords route-map then the name of a configured route map.
Defaults Not configured.
Command Modes ROUTER BGP
Command History
This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC
Networking OS Command Line Reference Guide.
Version Description
9.10(0.1) Introduced on the S6010-ON and S4048T-ON.
9.10(0.0) Introduced on the S3148.
9.10(0.0) Introduced on the S6100-ON.
9.8(2.0) Introduced on the S3100 series.
9.8(1.0) Introduced on the Z9100–ON.
9.8(0.0P5) Introduced on the S4048-ON.
9.8(0.0P2) Introduced on the S3048-ON.
9.7(0.0) Introduced on the S6000–ON.
9.2(1.0) Introduced on the Z9500.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
8.3.1.0 Introduced the ability to substitute IGP cost for MED when a peer/peer-group outbound
route-map is set as internal.
7.8.1.0 Introduced on the S-Series.
7.7.1.0 Introduced on the C-Series.
Usage Information
You can use the redistribute command to advertise the IGP cost as the MED on redistributed routes. When
you set the route-map with metric-type internal and apply outbound to an EBGP peer/peer-group, the advertised
routes corresponding to those peer/peer-groups have the IGP cost set as
MED.
394 Border Gateway Protocol