Cisco Cisco Packet Data Interworking Function (PDIF)
OSPF Configuration Mode Commands
distance ▀
Command Line Interface Reference, StarOS Release 16 ▄
7329
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.
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
configure > context context_name > router ospf
Entering the above command sequence results in the following prompt:
[local]host_name(config-ospf)#
Syntax
[ no ] distance { distance_value | ospf { [ external distance_value ] [ inter-area
distance_value ] [ intra-area distance_value ] } }
distance_value ] [ intra-area distance_value ] } }
no
Disables the OSPF route administrative distances for all OSPF route types.
distance_value
Specifies the OSPF route administrative distances as an integer from 1 to 255. The default distance value is
110.
110.
ospf
{ [
external
distance_value
] [
inter-area
distance_value
] [
intra-area
distance_value
] }
Set the distance value for the specified route type.
external
distance_value
: Set the OSPF route administrative distance for routes from other routing
domains, learned by redistribution. This must be an integer from 1 through 255. The default is 110.
inter-area
distance_value
: sets the OSPF route administrative distance for routes from one routing
area to another. This must be an integer from 1 through 255. The default is 110.
intra-area
distance_value
: sets the OSPF route administrative distance for all routes within an area.
This must be an integer from 1 through 255. The default is 110.
no
Enables or disables the specified option.