Users Guide

redistribute
Redistribute routes into BGP.
C-Series, E-Series TeraScale, S-Series
Syntax
redistribute [connected | static] [route-map map-name]
To disable redistribution, use the no redistribution [connected | static] [route-map
map-name] command.
Parameters
connected Enter the keyword connected to redistribute routes from physically connected
interfaces.
static
Enter the keyword static to redistribute manually congured routes.
These routes are treated as incomplete routes.
route-map map-
name
(OPTIONAL) Enter the keyword route-map followed by the name of an
established route map.
Only the following ROUTE-MAP mode commands are supported:
match ip address
set community
set local-preference
set metric
set next-hop
set origin
set weight
If the route map is not congured, the default is deny (to drop all routes).
Defaults Not congured.
Command Modes ROUTER BGP Address Family (conf-router_bgp_af)
Command History
Version 7.8.1.0 Introduced on the S-Series.
Version 7.7.1.0 Introduced on the C-Series.
Version 7.6.1.0 Introduced IPv6 MGBP on the E-Series.
Usage Information
If you do not congure the default-metric command, in addition to the redistribute command, or
there is no route map to set the metric, the metric for redistributed static and connected is “0”.
To redistribute the default route (0.0.0.0/0), congure the neighbor default-originate command.
Related Commands neighbor default-originate – injects the default route.
Border Gateway Protocol
501