[Contents] [Prev] [Next] [Index] [Report an Error]

# distance bgp

#### Syntax

distance bgp externalDistance internalDistance localDistance

no distance bgp [ externalDistance [ internalDistance [ localDistance ] ] ]

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Sets the administrative distances for BGP routes. A distance of 255 prevents the route from being installed in the routing table. The no version restores the default values.

#### Options

- externalDistance—Administrative distance for routes external to the AS in the range 1–255; default value is 20
- internalDistance—Administrative distance for routes internal to the AS in the range 1–255; default value is 200
- localDistance—Administrative distance for local (redistributed) routes in the range 1–255; default value is 200

#### Mode

Address Family Configuration, Router Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]