Cisco Cisco Packet Data Gateway (PDG) Guia De Resolução De Problemas
OSPF Configuration Mode Commands
▀ distance
▄ Cisco ASR 5000 Series Command Line Interface Reference
OL-22948-01
distance
This command configures the OSPF route administrative distances for all OSPF route types or based on specific route
type.
type.
Product
PDSN, HA, GGSN
Privilege
Security Administrator, Administrator
Syntax
{
|
{ [
] [
] [
] } }
is an integer, ranging from 1 to 255, that sets OSPF route administrative distances. The default distance value
is 110.
is 110.
Set the distance value for the specified route type.
: 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.
: 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.
: 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.
Usage
Use this command to set the administrative distance for OSPF routes.
Example
The following command sets the administrative distance for all OSPF route types to
The following command sets the administrative distance for all OSPF route types to
:
distance