distance bgp

Syntax

distance bgp <EXTERNAL> <INTERNAL>

no distance bgp <EXTERNAL> <INTERNAL>

Description

Configures the administrative distance for BGP.

The no form of this command restores the defaults of external=20, internal=200.

Command context

config-router

Parameters

<EXTERNAL>

Specifies the administrative distance for eBGP routes. Default: 20. Range: 1-255.

<INTERNAL>

Specifies the administrative distance for iBGP routes. Default: 200. Range: 1-255

Authority

Administrators

Examples

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