Foundry AR-Series Router User Guide

configure router bgp distance

This command changes the default distance value on a router.

Higher values are preferred.

Parameter

Description

distance

Default preference value

 

The range is 0-255; the default is 170.

 

 

syntax:

[ no ] distance distance < n >

example:

Foundry-AR1208/configure/router/bgp 10# distance 20

Table 7.1: Default Route Preference (Administrative Distance) Values

How Route is Learned

Default

Command to Modify Default Preference

 

Preferenc

 

 

e

 

 

 

 

Directly connected

0

Not configurable.

network

 

 

 

 

 

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

150

configure router ospf distance ospf external

routes

 

 

 

 

 

BGP

170

configure router bgp distance

 

 

 

related commands:

configure router bgp aggregate_address configure router bgp always_compare_med configure router bgp default_metric configure router bgp group

configure router bgp neighbor configure router bgp redistribute

applicable systems:

All models.

7 - 6

© 2004 Foundry Networks, Inc.

June 2004

Page 63
Image 63
Foundry Networks AR3202-CL, AR3201-CL, AR1204, AR1216, AR1208 manual Configure router bgp distance, Preferenc