API Guide

Command Modes
CONFIG-ROUTER-BGP-ADDRESS-FAMILY
CONFIG-ROUTER-BGP-VRF-ADDRESS-FAMILY
Usage
Information
This command is used to configure administrative distance for eBGP route, iBGP route, and local BGP
route. Administrative distance indicates the reliability of the route; the lower the administrative distance,
the more reliable the route is. Routes that are assigned an administrative distance of 255 are not installed
in the routing table. Routes from confederations are treated as iBGP routes.
Examples
Default VRF:
IPv4
OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# address-family ipv4 unicast
OS10(configure-router-bgpv4-af)# distance bgp 10 200 210
IPv6
OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# address-family ipv6 unicast
OS10(configure-router-bgpv6-af)# distance bgp 10 200 210
Non-default VRF
OS10(config-router-bgp-100)# vrf blue
OS10(config-router-bgp-100-vrf)# address-family ipv4 unicast
OS10(configure-router-bgpv4-vrf-af)# distance bgp 21 200 200
OS10(config-router-bgp-100-vrf)# address-family ipv6 unicast
OS10(configure-router-bgpv6-vrf-af)# distance bgp 21 201 250
Supported
Releases
10.4.2.0 or later
distribute-list
Distributes BGP information through an established prefix list.
Syntax
distribute-list prefix-list-name {in | out}
Parameters
prefix-list-nameEnter the name of established prefix list.
inEnter to distribute inbound traffic.
outEnter to distribute outbound traffic.
Defaults None
Command Modes
ROUTER-BGP-NEIGHBOR-AF
ROUTER-TEMPLATE-AF
Usage
Information
The no version of this command removes the route-map.
Example
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# distribute-list inbgg in
OS10(conf-router-template)# address-family ipv4 unicast
OS10(conf-router-bgp-template-af)# distribute-list outbgg out
Supported
Releases
10.4.1.0 or later
628 Layer 3