distance
Syntax
The options available vary depending on your routing protocol context; that is, on whether
you are configuring OSPF or RIP.
For OSPF:
[ no ] distance {
ospfWeight
| ospf { external
distExt
| inter-area
disInter
| intra-area
disIntra
} [ external
distExt |
inter-area
distInter |
intra-area
distIntra
]* }
For RIP:
[ no ] distance
ripWeight
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Defines an administrative distance for RIP or OSPF routes. A distance of 255 prevents
the route from being installed in the routing table. The
no
version either negates a
command or restores the command's defaults.
Options
•
distance—Weight applied to OSPF routes
•
ospfWeight
—Value assigned to OSPF routes that are added to the IP routing table; a
number in the range 1–255
•
ospf—OSPF routes
•
distExt
—Distance for external type 5 and type 7 routes; a number in the range 1–255
•
disInter
—Distance for interarea routes; a number in the range 1–255
•
disIntra
—Distance for intra-area routes; a number in the range 1–255
•
*—Indicates that one or more parameters can be repeated multiple times in a list in
the command line
•
ripWeight—
Administrative distance assigned to RIP routes added to the IP routing table
in the range 0–255; default value is 120
Mode
Address Family Configuration (RIP), Router Configuration (OSPF or RIP)
Copyright © 2010, Juniper Networks, Inc.
524
JunosE 11.2.x Command Reference Guide A to M
Содержание JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x Command Reference Guide A to M...
Страница 38: ...Copyright 2010 Juniper Networks Inc xxxviii JunosE 11 2 x Command Reference Guide A to M...
Страница 40: ...Copyright 2010 Juniper Networks Inc xl JunosE 11 2 x Command Reference Guide A to M...
Страница 46: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x Command Reference Guide A to M...
Страница 63: ...CHAPTER 2 A Commands 19 Copyright 2010 Juniper Networks Inc...
Страница 253: ...CHAPTER 3 B Commands 209 Copyright 2010 Juniper Networks Inc...
Страница 389: ...CHAPTER 4 C Commands 345 Copyright 2010 Juniper Networks Inc...
Страница 514: ...Copyright 2010 Juniper Networks Inc 470 JunosE 11 2 x Command Reference Guide A to M...
Страница 515: ...CHAPTER 5 D Commands 471 Copyright 2010 Juniper Networks Inc...
Страница 595: ...CHAPTER 6 E Commands 551 Copyright 2010 Juniper Networks Inc...
Страница 663: ...CHAPTER 7 F Commands 619 Copyright 2010 Juniper Networks Inc...
Страница 701: ...CHAPTER 8 G Commands 657 Copyright 2010 Juniper Networks Inc...
Страница 717: ...CHAPTER 9 H Commands 673 Copyright 2010 Juniper Networks Inc...
Страница 732: ...Copyright 2010 Juniper Networks Inc 688 JunosE 11 2 x Command Reference Guide A to M...
Страница 733: ...CHAPTER 10 I Commands 689 Copyright 2010 Juniper Networks Inc...
Страница 898: ...Mode Global Configuration Copyright 2010 Juniper Networks Inc 854 JunosE 11 2 x Command Reference Guide A to M...
Страница 1181: ...CHAPTER 11 K Commands 1137 Copyright 2010 Juniper Networks Inc...
Страница 1184: ...Copyright 2010 Juniper Networks Inc 1140 JunosE 11 2 x Command Reference Guide A to M...
Страница 1185: ...CHAPTER 12 L Commands 1141 Copyright 2010 Juniper Networks Inc...
Страница 1284: ...Mode Global Configuration Copyright 2010 Juniper Networks Inc 1240 JunosE 11 2 x Command Reference Guide A to M...
Страница 1295: ...CHAPTER 13 M Commands 1251 Copyright 2010 Juniper Networks Inc...
Страница 1476: ...Copyright 2010 Juniper Networks Inc 1432 JunosE 11 2 x Command Reference Guide A to M...
Страница 1477: ...PART 2 Index Index on page 1435 1433 Copyright 2010 Juniper Networks Inc...
Страница 1478: ...Copyright 2010 Juniper Networks Inc 1434 JunosE 11 2 x Command Reference Guide A to M...
Страница 1502: ...Copyright 2010 Juniper Networks Inc 1458 JunosE 11 2 x Command Reference Guide A to M...