Parameters
connected
static
route-map
name
Defaults
Not configured.
Command Modes
ROUTER BGP Address Family (conf-router_bgp_af)
Command History
Version 7.8.1.0
Version 7.7.1.0
Version 7.6.1.0
Usage
If you do not configure the default-metric command, in addition to the redistribute
Information
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), configure the neighbor default-
originate command.
Related
neighbor default-originate
Commands
redistribute ospf
Redistribute OSPF routes into BGP.
C-Series, E-Series TeraScale, S-Series
Syntax
redistribute ospf process-id [[match external {1 | 2}] [match
internal]] [route-map map-name]
454
Enter the keyword connected to redistribute routes from physically
connected interfaces.
Enter the keyword static to redistribute manually configured
routes.
These routes are treated as incomplete routes.
map-
(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 configured, the default is deny (to drop all
routes).
Introduced on the S-Series.
Introduced on the C-Series.
Introduced IPv6 MGBP on the E-Series.
– injects the default route.