BGP and BGP4+ Commands

distance (BGP and BGP4+)

This command sets the administrative distance for BGP and BGP4+ routes. The switch uses this value to select between two or more routes to the same destination from two different routing protocols. Set the administrative distance for BGP routes in the Router Configuration mode, and for BGP4+ routes in IPv6 Address Family Configuration mode.

The route with the smallest administrative distance value is added to the Forwarding Information Base (FIB). For more information, see the Administrative Distance section in the Route Selection chapter of the AlliedWare Plus Software Reference.

The no variant of this command sets the administrative distance for the route to the default for the route type.

Syntax [BGP/BGP4+] distance <1-255> <ip-address/m> [<listname>] distance bgp <ebgp> <ibgp> <local>

no distance <1-255><ip-address/m> [<listname>] no distance bgp <ebgp> <ibgp> <local>

Parameter

Description

 

 

<1-255>

The administrative distance value you are setting for the route.

 

 

<ip-address/m>

The IP source prefix that you are changing the administrative

 

distance for, entered in the form A.B.C.D/M. This is an IPv4

 

address in dotted decimal notation followed by a forward slash,

 

and then the prefix length.

 

 

<listname>

The name of the access list to be applied to the administrative

 

distance to selected routes.

 

 

<ebgp>

Specifies the administrative distance of external BGP (eBGP)

 

routes. These are routes learnt from a neighbor out of the AS.

 

Specify the distance as a number between 1 and 255.

 

Default: 20

 

 

<ibgp>

Specifies the administrative distance of internal BGP (iBGP)

 

routes. These are routes learnt from a neighbor within the same

 

AS. Specify the distance as a number between 1 and 255.

 

Default: 200

 

 

<local>

Specifies the administrative distance of local BGP routes. These

 

are routes redistributed from another protocol within your

 

device. Specify the distance as a number between 1 and 255.

 

Default: 200

 

 

Mode [BGP] Router Configuration

Mode [BGP4+] IPv6 Address Family Configuration

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

C613-50032-01 REV D

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

3.63

Page 161
Image 161
Allied Telesis VERSION 5.4.3-2.6 manual Distance BGP and BGP4+, Listname, Ebgp, Ibgp, Local