BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
31.94
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
redistribute route-map
Use this command to inject routes from one routing process into another.
Use the
no
parameter with this command to disable this function.
Syntax
redistribute {ospf
|
rip
|
connected
|
static}
[
<mapname>
]
no redistribute
{ospf
|
rip
|
connected
|
static
} [
<mapname>
]
Mode
Router mode
Usage
Redistribution is used by routing protocols to advertise routes that are learned by some other
means, such as by another routing protocol or by static routes. Since all internal routes are
dumped into BGP, careful filtering is applied to make sure that only routes to be advertised
reach the internet, not everything. This command allows redistribution by injecting prefixes
from one routing protocol into another routing protocol.
Examples
The following example shows the configuration of the route-map name
rmap1
and then the
use of this map name in the
redistribute route-map
command.
Parameter
Description
connected
Specifies the redistribution of connected routes.
ospf
Specifies the redistribution of OSFP information.
rip
Specifies the redistribution of RIP.
static
Specifies the redistribution of Static routes.
<mapname>
route-map
<word>
Route map reference
<word>
Pointer to route-map entries.
awplus#
configure terminal
awplus(config)#
route-map rmap1 permit 1
awplus(config-route-map)#
match origin incomplete
awplus(config-route-map)#
set metric 100
awplus(config-route-map)#
exit
awplus(config)#
router bgp 12
awplus(config-router)#
redistribute ospf route-map rmap1