SROS Command Line Interface Reference Guide
BGP Configuration Command Set
5991-2114
© Copyright 2006 Hewlett-Packard Development Company, L.P.
1308
distance bgp
<external> <internal> <local>
Use the
distance bgp
command to set the administrative distance for BGP routes. Use the
no
form of this
command to return to the default setting.
Syntax Description
<external>
Sets the administrative distance for BGP routes learned via eBGP sessions.
A value of 255 means the route is not installed in the route table. Range: 1 to 254.
<internal>
Sets the administrative distance for BGP routes learned via iBGP sessions.
A value of 255 means the route is not installed in the route table. Range: 1 to 254.
<local>
Sets the administrative distance for BGP routes learned via the network command
and redistribution. A value of 255 means the route is not installed in the route
table. Range: 1 to 254.
Default Values
By default external is set to 20, internal to 200, and local to 200. Normally, these default settings should not
be changed.
Functional Notes
This command sets the administrative distance for BGP routes. The administrative distance is a local
variable that allows a router to choose the best route when there are multiple paths to the same network.
Routes with smaller administrative distances are favored.
Usage Examples
The following example gives external BGP routes an administrative distance of 30, internal BGP routes an
administrative distance of 200, and local routes an administrative distance of 240:
ProCurve(config)#
router bgp 65000
ProCurve(config-bgp)#
distance bgp 30 200 240
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......