Enables redistribution of routes learnt from other routing protocols into BGP.
Large ISP networks using multiple routing protocols, need to enable redistribution of routes across routing protocols. Routing protocols differ in their basic characteristics, such as metrics, administrative distance, classful and classless capabilities, etc. When enabling redistribution, these differences have to be taken into consideration.
route-redistribute [connected|kernel|ospf|static] {metric <0-4294967295>|route-map <ROUTE-MAP-NAME>}
route-redistribute [connected|kernel|ospf|static] {metric <0-4294967295>|route-map <ROUTE-MAP-NAME>}
route-redistribute | Redistributes routes learnt from other protocols |
connected | Redistributes directly connected routes
|
kernel | Redistributes kernel routes. These are routes that are
neither connected, nor static, nor dynamic.
|
ospf | Redistributes OSPF routes
|
static | Redistributes static routes
|
nx9500-6C8809(config-device B4-C7-99-6C-88-09-router-bgp)#route-redistribute
connected metric 200
nx9500-6C8809(config-device B4-C7-99-6C-88-09-router-bgp)#show context router bgp bgp enable asn 1 aggregate-address 116.117.118.0/24 as-set summary-only bgp neighbor 192.168.13.99 remote-as 199 maximum-prefix 9999 80 restart 50 bgp neighbor 192.168.13.199 remote-as 1 use route-map UnSupMap_01 in route-redistribute connected metric 200 bgp-route-limit num-routes 10 reset-time 360 nx9500-6C8809(config-device B4-C7-99-6C-88-09-router-bgp)#
no (bgp-router-config) | Disables redistribution of routes learnt from other routing protocols into BGP |