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)
528
■
distance
JUNOSe 11.1.x Command Reference Guide A to M
Summary of Contents for JUNOSE 11.1.X - COMMAND REFERENCE A TO M 4-9-2010
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 1 x Command Reference Guide A to M...
Page 38: ...xxxviii List of Tables JUNOSe 11 1 x Command Reference Guide A to M...
Page 44: ...2 Commands A to M JUNOSe 11 1 x Command Reference Guide A to M...
Page 62: ...20 Interface Types and Specifiers JUNOSe 11 1 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 390: ...348 bundled group id overrides mlppp ed JUNOSe 11 1 x Command Reference Guide A to M...
Page 391: ...Chapter 4 C Commands 349...
Page 517: ...Chapter 5 D Commands 475...
Page 597: ...Chapter 6 E Commands 555...
Page 666: ...624 external paths JUNOSe 11 1 x Command Reference Guide A to M...
Page 667: ...Chapter 7 F Commands 625...
Page 705: ...Chapter 8 G Commands 663...
Page 721: ...Chapter 9 H Commands 679...
Page 736: ...694 hotfix activate JUNOSe 11 1 x Command Reference Guide A to M...
Page 737: ...Chapter 10 I Commands 695...
Page 1027: ...Configuring an ICR Partition ip vrrp icr partition vlan range 985 Chapter 10 I Commands...
Page 1186: ...1144 is type JUNOSe 11 1 x Command Reference Guide A to M...
Page 1187: ...Chapter 11 K Commands 1145...
Page 1189: ...Related Topics Configuring RADIUS Based Mirroring key 1147 Chapter 11 K Commands...
Page 1191: ...Chapter 12 L Commands 1149...
Page 1291: ...Mode Global Configuration log severity 1249 Chapter 12 L Commands...
Page 1302: ...1260 lsp refresh interval JUNOSe 11 1 x Command Reference Guide A to M...
Page 1303: ...Chapter 13 M Commands 1261...
Page 1485: ...Part 2 Index Index on page 1445 Index 1443...
Page 1486: ...1444 Index JUNOSe 11 1 x Command Reference Guide A to M...