Administrator Guide
Redistributing Routes
In addition to ltering routes, you can add routes from other routing instances or protocols to the BGP process. With the redistribute
command, you can include ISIS, OSPF, static, or directly connected routes in the BGP process.
To add routes from other routing instances or protocols, use any of the following commands in ROUTER BGP mode.
• Include, directly connected or user-congured (static) routes in BGP.
ROUTER BGP or CONF-ROUTER_BGPv6_ AF mode
redistribute {connected | static} [route-map map-name]
Congure the map-name parameter to specify the name of a congured route map.
• Include specic ISIS routes in BGP.
ROUTER BGP or CONF-ROUTER_BGPv6_ AF mode
redistribute isis [level-1 | level-1-2 | level-2] [metric value] [route-map map-name]
Congure the following parameters:
– level-1, level-1-2, or level-2: Assign all redistributed routes to a level. The default is level-2.
– metric value: The value is from 0 to 16777215. The default is 0.
– map-name: name of a congured route map.
• Include specic OSPF routes in IS-IS.
ROUTER BGP or CONF-ROUTER_BGPv6_ AF mode
redistribute ospf process-id [match external {1 | 2} | match internal] [metric-type {external
| internal}] [route-map map-name]
Congure the following parameters:
– process-id: the range is from 1 to 65535.
– match external: the range is from 1 or 2.
– match internal
– metric-type: external or internal.
– map-name: name of a congured route map.
Redistributing iBGP Routes into IGP
Dell EMC Networking OS supports redistributing iBGP routes into an Internal Gateway Protocol (IGP), such as, OSPF and IS-IS.
NOTE
: When you enable redistribution of iBGP routes into an IGP, ensure that you use route maps to control what prexes are
redistributed. Redistributing all iBGP routes can create a loop in the network. After conguring the bgp redistribute-
internal command, use the clear ip BGP * command to clear all BGP sessions.
Redistribute iBGP routes.
ROUTER BGP, ROUTER BGP-address-family, ROUTER BGP-address-family-IPv6, IPv4 VRF mode, and IPv6 Unicast VRF mode
bgp redistribute-internal
The following is an example conguration of redistributing iBGP routes into OSPF with the default VRF:
!
router ospf 100
router-id 1.1.1.1
Border Gateway Protocol (BGP)
219