route-redistribute (bgp-router-config)

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.

Supported in the following platforms:

  • Wireless Controllers — RFS 4000

  • Service Platforms — NX 95XX, NX 96XX

Syntax

route-redistribute [connected|kernel|ospf|static] {metric <0-4294967295>|route-map <ROUTE-MAP-NAME>}

Parameters

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
  • metric <0-4294967295> – Optional. Specify the metric for the redistributed routes. route-map
  • <ROUTE-MAP-NAME> – Optional. Specifies the route map name. The route map defines the match criteria based on which routes are filtered before redistribution. For more information on route maps, see match.
kernel Redistributes kernel routes. These are routes that are neither connected, nor static, nor dynamic.
  • metric <0-4294967295> – Optional. Specify the metric for the redistributed routes.
  • route-map <ROUTE-MAP-NAME> – Optional. Specifies the route map name. The route map defines the match criteria based on which routes are filtered before redistribution. For more information on route maps, see match.
ospf Redistributes OSPF routes
  • metric <0-4294967295> – Optional. Specify the metric for the redistributed routes.
  • route-map <ROUTE-MAP-NAME> – Optional. Specifies the route map name. The route map defines the match criteria based on which routes are filtered before redistribution. For more information on route maps, see match.
static Redistributes static routes
  • metric <0-4294967295> – Optional. Specify the metric for the redistributed routes.
  • route-map <ROUTE-MAP-NAME> – Optional. Specifies the route map name. The route map defines the match criteria based on which routes are filtered before redistribution. For more information on route maps, see match.

Examples

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)#

Related Commands

no (bgp-router-config) Disables redistribution of routes learnt from other routing protocols into BGP