Cisco Cisco ASR 5000

Page of 9109
  BGP Address-Family (IPv4/IPv6) Configuration Mode Commands 
redistribute  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1639 
redistribute 
Redistributes routes into BGP from another protocol as BGP neighbors. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > BGP Configuration > BGP Address-Family Configuration 
configure > context context_name > router bgp as_number > address-family 
address_family_type
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-bgp-af-v6)# 
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
 
Filters routes through the specified route map before redistribution. 
map_name
 specifies the name of the 
route-map to use 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