System information
Configuring BGP
12-71
weight <n> sets the network weight value from 0 to 65535 for redistributing
RIP routes into BGP.
cr is a command return that redistributes of all ISIS routes.
• Use the redistribute rip command in Router Configuration mode to
redistribute RIP routes into BGP, as shown below:
MOT(config-bgp)#redistribute rip {metric <n> | route-map
<map-name> | weight <n> | <cr>}
where:
metric <n> is the redistribution metric number for RIP routes.
route-map <map-name> is the route-map name for the RIP route.
weight <n> sets the network weight value from 0 to 65535 for redistributing
RIP routes into BGP.
cr is a command return that redistributes of all RIP routes into BGP.
Assigning a Default Metric Value for Redistributed Routes
The default metric function is used to eliminate the need for separate metric
definitions for each routing protocol redistribution.
Follow these steps to assign a default metric value for all routes redistributed into
BGP:
1. Use the router bgp command to enter the BGP routing process in Global
Configuration mode, as shown below:
MOT(config)#router bgp
2. Use the default-metric command in Router Configuration mode to force a
routing protocol to use the same metric value for all distributed routes from other
routing protocols, as shown below:
MOT(config-bgp)#default-metric <n>
where:
n is the default metric value for all routes that are redistributed into BGP.