Cisco Cisco ASR 5000

Page of 9109
  OSPF Configuration Mode Commands 
redistribute  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
7581 
redistribute 
Redistributes routes from other protocols to OSPF neighbors using the OSPF protocol. 
Product
 
PDSN 
HA 
GGSN 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > OSPF Configuration 
configure > context context_name > router ospf
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-ospf)# 
Syntax
 
redistribute { connected | rip | static } [ metric metric_value ] [ metric-type { 1 | 2 } 
] [ route-map route_map_name ] 
no redistribute { connected | rip | static }  
no
 
Disables the redistributed routes. 
connected
 
Redistributes connected routes. 
rip
 
Specifies that RIP routes will be redistributed. (RIP is not supported at this time.) 
static
 
Redistributes static routes. 
metric
 
metric_value
 
Sets the OSPF metric used in the redistributed route. This must be an integer from 1 through 16777214. 
metric-type
 { 
1
 | 
2
 } 
Default: 2 
Sets route metric type that is applied to redistributed routes. 
1: Sets the OSPF external link type for routes to Type 1. 
2: Sets the OSPF external link type for routes to Type 2.