Command Reference
OSPFv2 Commands
2.16 distance ospf
Use this command to set the Administration Distance (AD) of different types of OSPF routes. Use the
no
form of this command to restore the default setting.
distance
{
distance
|
ospf
{ [
intra-area
distance
] [
inter-area
distance
] [
external
distance
] } }
no distance
[
ospf
]
Parameter
Description
Parameter
Description
distance
Sets the route AD in the range from1 to 255.
intra-area
distance
Sets the AD of the intra-area route in the range from1 to 255.
inter-area
distance
Sets the AD of the inter-area route in the range from1 to 255.
External
distance
Sets the AD of the external route in the range from1 to 255.
Defaults
The default value is 110.
The default intra-area distance is 110.
The default inter-area distance is 110.
The default external distance is 110.
Command
Mode
OSPF Routing process configuration mode
Usage Guide
This command is used to specify different ADs for different types of OSPF routes.
Configuration
Examples
The following example sets the OSPF external route AD to 160.
Ruijie(config)# routerospf1
Ruijie(config-router)# distance ospf external 160
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
2.17 distribute-list in
Use this command to configure LSA filtering. Use the
no
form of this command to restore the default
setting.
distribute-list
{ [ access-list-number | name ] | prefix prefix-list-name [
gateway
prefix-list-name ] |
route-map
route-map-name } in [ interface-type interface-number ]
no distribute-list
{ [ access-list-number | name ] | prefix prefix-list-name [
gateway
prefix-list-name ] |
route-map
route-map-name } in [ interface-type interface-number ]
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...