Command Reference Guide
Border Gateway Protocol IPv4 (BGPv4) | 393
Syntax
redistribute [connected | static] [route-map map-name]
To disable redistribution, use the
no redistribution [connected | static] [route-map map-name]
command.
Parameters
Defaults
Not configured.
Command Modes
ROUTER BGP Address Family (conf-router_bgp_af)
Usage
Information
If you do not configure 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) configure the neighbor default-originate
command.
Related
Commands
Command
History
redistribute ospf
c e
t
s
Redistribute OSPF routes into BGP.
Syntax
redistribute ospf process-id [[match external {1 | 2}] [match internal]] [route-map map-name]
To stop redistribution of OSPF routes, use the
no redistribute ospf process-id command.
connected
Enter the keyword connected to redistribute routes from physically connected
interfaces.
static
Enter the keyword static to redistribute manually configured 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 configured, the default is deny (to drop all routes).
neighbor default-originate Inject the default route.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
Version 7.6.1.0 Introduced IPv6 MGBP support for E-Series










