Cisco Cisco ASR 5000

Page of 9109
  OSPF VRF Configuration Mode Commands 
distance  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
7607 
distance 
Configures the OSPF route administrative distances for all OSPF route types or based on specific route type. 
Administrative distance is the measure used by Cisco routers to select the best path when there are two or more different 
routes to the same destination from two different routing protocols. Administrative distance defines the reliability of a 
routing protocol. Each routing protocol is prioritized in order of most to least reliable (believable) using an 
administrative distance value. A lower numerical value is preferred. 
Product
 
PDSN 
HA 
GGSN 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > OSPF Configuration > OSPF VRF Configuration 
configure > context context_name > router ospf > ip vrf vrf_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-ospf-vrf)# 
Syntax
 
no ] distance { distance_value | ospf { [ external distance_value ] [ inter-area 
distance_value ] [ intra-area distance_value ] } } 
no
 
Disables the soecified option. 
distance_value
 
Specifies the OSPF route administrative distances as an integer from 1 to 255. The default distance value is 
110. 
external
 
ext_distance_value
 
Sets the OSPF route administrative distance for routes from other routing domains, learned by redistribution. 
ext_distance_value
 must be an integer from 1 through 255. The default is 110. 
inter-area
 
inter_distance_value
 
Sets the OSPF route administrative distance for routes from one routing area to another. 
inter_distance_value
 must be an integer from 1 through 255. The default is 110. 
intra-area
 
intra_distance_value
 
Sets the OSPF route administrative distance for all routes within an area. 
intra_distance_value
 must be 
an integer from 1 through 255. The default is 110.