- Foundry Router User Guide

Foundry AR-Series Router User Guide
7 - 6 © 2004 Foundry Networks, Inc. June 2004
configure router bgp distance
This command changes the default distance value on a router.
Higher values are preferred.
Parameter Description
syntax:
[ no ] distance distance < n >
example:
Foundry-AR1208/configure/router/bgp 10# distance 20
related commands:
applicable systems:
All models.
distance Default preference value
The range is 0-255; the default is 170.
Table 7.1: Default Route Preference (Administrative Distance) Values
How Route is Learned Default
Preferenc
e
Command to Modify Default 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
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