beautypg.com

Distance (bgp) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 269

background image

Network OS Command Reference

231

53-1003115-01

distance (BGP)

2

distance (BGP)

Changes the default administrative distances for EBGP, IBGP, and local BGP4.

Synopsis

distance external-distance internal-distance local-distance

no distance

Operands

external-distance

EBGP distance. Range is from 1 through 255.

internal-distance

IBGP distance. Range is from 1 through 255.

local-distance

Local BGP4 distance. Range is from 1 through 255.

Defaults

None

Command Modes

BGP configuration mode

Description

To select one route over another according to the source of the route information, the device can
use the administrative distances assigned to the sources. The administrative distance is a
protocol-independent metric that IP devices use to compare routes from different sources. Lower
administrative distances are preferred over higher ones. Use this command to change the default
administrative distances for EBGP, IBGP, and local BGP4.

Usage Guidelines

Enter values in the order corresponding to the values in Operands.

Use the no form of this command to restore the defaults.

Examples

To configure the device to change the administrative distance:

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# router bgp

switch(config-bgp-router)# distance 100 150 200

See Also

None