OSPF Configure Commands

configure router ospf distance ospf external

This command configures the distance parameter for external routes.

Parameter

Description

external

Type-5 and type-7 external routes

 

The range is 1 - 255; the default is 150.

 

 

syntax:

[ no ] distance ospf external < n >

example:

Foundry-AR1208/configure/router/ospf# distance ospf external 25

Table 9.1: Default Route Preference (Administrative Distance) Values

How Route is Learned

Default

Command to Modify Default Preference

 

Preference

 

 

 

 

Directly connected network

0

Not configurable.

 

 

 

Static

1

Not configurable.

 

 

 

OSPF non-external route

10

configure router ospf distance ospf non_external

 

 

 

RIP

100

configure router rip distance

 

 

 

Generated or aggregate

130

Applicable to BGP only, and is not configurable.

 

 

 

OSPF AS external routes

150

configure router ospf distance ospf external

 

 

 

BGP

170

configure router bgp distance

 

 

 

related commands:

configure router ospf distance ospf non_external

applicable systems:

All models.

June 2004

© 2004 Foundry Networks, Inc.

9 - 21

Page 132
Image 132
Foundry Networks AR1208, AR3202-CL, AR3201-CL, AR1204 Configure router ospf distance ospf external, Parameter Description