Reference Guide
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).
Defaults Not configured.
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 configure 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), configure the neighbor default-
originate
command.
Related
Commands
neighbor default-originate – injects the default route.
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]
To stop redistribution of OSPF routes, use the no redistribute ospf process-id
command.
Parameters
process-id
Enter the number of the OSPF process. The range is 1 to 65535.
match external {1
| 2}
(OPTIONAL) Enter the keywords match external to redistribute
OSPF external routes. You can specify
1 or 2 to redistribute those
routes only.
462










