distance [external|inter-area|intra-area]
Syntax
distance [external|inter-area|intra-area][ 1 - 255 ]
Description
Used in the OSPFv3 configuration
context (router ospf3
) to globally reconfigure
the administrative distance priority for the specified route type.
1 is the highest priority; 255 is the lowest priority.
Options
external 1 - 255
Changes the administrative distance for routes between the OSPFv3 domain and other EGP domains.
inter-area 1 - 255
Changes the administrative distance for routes between areas within the same OSPFv3 domain.
intra-area 1 - 255
Changes the administrative distance for routes within OSPFv3 areas.
Default: 110; Range: 1 - 255
Example output
switch(config)#router ospf3 distance external 150
switch(config)#router ospf3 distance inter-area 140
switch(config)#router ospf3 distance intra-area 130
CLI to verify the set value
Switch(ospf3)#show run router ospf3
Running configuration:
router ospf3
area 0.0.0.1 virtual-link 100.1.1.2
area 0.0.0.4
area backbone
distance intra-area 130
distance inter-area 140
distance external 150
enable
exit