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 ]
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...