
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)
526
■
distance
JUNOSe 11.0.x Command Reference Guide A to M
Summary of Contents for JUNOSE 11.0
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x Command Reference Guide A to M...
Page 38: ...xxxviii List of Tables JUNOSe 11 0 x Command Reference Guide A to M...
Page 44: ...2 Commands A to M JUNOSe 11 0 x Command Reference Guide A to M...
Page 62: ...20 Interface Types and Specifiers JUNOSe 11 0 x Command Reference Guide A to M...
Page 63: ...Chapter 2 A Commands 21...
Page 185: ...Mode Global Configuration Subscriber Policy Configuration arp 143 Chapter 2 A Commands...
Page 253: ...Chapter 3 B Commands 211...
Page 388: ...346 bundled group id overrides mlppp ed JUNOSe 11 0 x Command Reference Guide A to M...
Page 389: ...Chapter 4 C Commands 347...
Page 515: ...Chapter 5 D Commands 473...
Page 595: ...Chapter 6 E Commands 553...
Page 649: ...Chapter 7 F Commands 607...
Page 687: ...Chapter 8 G Commands 645...
Page 703: ...Chapter 9 H Commands 661...
Page 718: ...676 hotfix activate JUNOSe 11 0 x Command Reference Guide A to M...
Page 719: ...Chapter 10 I Commands 677...
Page 1009: ...Configuring an ICR Partition ip vrrp icr partition vlan range 967 Chapter 10 I Commands...
Page 1168: ...1126 is type JUNOSe 11 0 x Command Reference Guide A to M...
Page 1169: ...Chapter 11 K Commands 1127...
Page 1171: ...Related Topics Configuring RADIUS Based Mirroring key 1129 Chapter 11 K Commands...
Page 1173: ...Chapter 12 L Commands 1131...
Page 1273: ...Mode Global Configuration log severity 1231 Chapter 12 L Commands...
Page 1284: ...1242 lsp refresh interval JUNOSe 11 0 x Command Reference Guide A to M...
Page 1285: ...Chapter 13 M Commands 1243...
Page 1465: ...Part 2 Index Index on page 1425 Index 1423...
Page 1466: ...1424 Index JUNOSe 11 0 x Command Reference Guide A to M...