Foundry
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 |
|
|
syntax:
[ no ] distance distance < n >
example:
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 | 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 |