ADTRAN AOS Version R10.1.0 Command Reference Manual page 2898

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
distance bgp <external> <internal> <local>
Use the distance bgp command to set the administrative distance for both Internet Protocol version 4
(IPv4) and Internet Protocol version 6 (IPv6) Border Gateway Protocol (BGP) address family (AF) routes
on either the default or nondefault VPN routing and forwarding (VRF) instance. Use the no form of this
command to return to the default setting. Variations of this command include:
distance bgp <external>
distance bgp <external> <internal>
distance bgp <external> <internal> <local>
Syntax Description
<external>
<internal>
<local>
Default Values
By default, external is set to 20, internal to 200, and local to 200. Normally, these default settings should
not be changed.
Command History
Release 8.1
Release 18.3
Release R10.1.0
Functional Notes
The distance command can be used to allow a BGP AF on either the default or nondefault VRF instance
to select the best route when there are multiple routes to the same network. If the AF is to be created on a
nondefault VRF instance, the VRF instance must first be created using the command
route-distinguisher on page
the BGP AF settings for the VRF instance using the command
BGP Configuration mode. For example, to configure the IPv4 BGP AF characteristics for the nondefault
VRF instance RED1, enter the following commands:
(config)#vrf RED1 route-distinguisher ip 192.17.250.24:33
(config)#router bgp 100
(config-bgp)#vrf RED1
(config-bgp-vrf)#address-family ipv4
(config-bgp-vrf-ipv4)#
60000CRG0-35E
Sets the administrative distance for BGP routes learned via external Border
Gateway Protocol (eBGP) sessions. Range is 1 to 255.
Optional. Sets the administrative distance for BGP routes learned via
internal Border Gateway Protocol (iBGP) sessions. Range is 1 to 255.
Optional. Sets the administrative distance for BGP routes learned via the
network command and redistribution. Range is 1 to 255.
Command was introduced.
Command was incorporated into Multi-VRF BGP functionality.
Command was expanded to include IPv6 functionality.
1460. Once you have created the nondefault VRF instance, you can configure
Copyright © 2012 ADTRAN, Inc.
BGP Address Family Command Set
vrf <name> on page 2877
vrf <name>
from the router's
2898

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents