distance bgp
distance bgp externalDistance internalDistance localDistance
Syntax
no distance bgp [ externalDistance [ internalDistance [ localDistance ] ] ]
Command introduced before JUNOSe Release 7.1.0.
Release Information
Sets the administrative distances for BGP routes. A distance of 255 prevents the route
Description
from being installed in the routing table. The no version restores the default values.
Options
Address Family Configuration, Router Configuration
Mode
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
Chapter 5: D Commands
529
distance bgp