Cisco Cisco ASR 5700

Page of 8994
BGP Configuration Mode Commands   
▀  redistribute 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
1660 
   
redistribute 
Redistributes routes via BGP from another protocol to BGP neighbors. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > BGP Configuration 
configure > context context_name > router bgp as_number
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-bgp)# 
Syntax
 
[ no ] redistribute { connected | ospf | rip | static } [ route-map map_name ] 
no
 
Remove the specified redistribution parameters from the BGP router configuration. 
redistribute connected
 
Specifies that connected routes will be redistributed. 
redistribute ospf
 
Specifies that Open Shortest Path First (OSPF) routes will be redistributed 
redistribute rip
 
Specifies that Routing Information Protocol (RIP) routes will be redistributed. (RIP is not supported at this 
time.) 
redistribute static
 
Specifies that static routes will be redistributed. 
[ route-map
 
map_name ]
 
Filter routes through the specified route map before redistribution. map_name specifies the name of the route-
map to use and must be specified as an alphanumeric string of 1 through 79 characters. 
Usage 
Use this command to specify what routes this BGP router should redistribute into BGP. 
Example
 
The following command redistributes OSPF routes after filtering them through the route map named 
Map1
redistribute ospf route-map Map1