Connectivity Guide

Table Of Contents
Command Modes
CONFIG-ROUTER-BGP-ADDRESS-FAMILY
CONFIG-ROUTER-BGP-VRF-ADDRESS-FAMILY
Usage Information This command is used to congure 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 prex list.
Syntax
distribute-list prefix-list-name {in | out}
Parameters
prefix-list-name—Enter the name of established prex list.
in—Enter to distribute inbound trac.
out—Enter to distribute outbound trac.
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
364 Layer 3