Connectivity Guide

Table Of Contents
Congure BGP
OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# vrf blue
OS10(config-router-vrf)# neighbor 5.1.1.1
OS10(config-router-neighbor)# remote-as 1
OS10(config-router-neighbor)# description n1_abcd
OS10(config-router-neighbor)# exit
OS10(config-router-vrf)# template t1
OS10(config-router-template)# description peer_template_1_abcd
Congure Dual Stack
OS10 supports dual stack for BGPv4 and BGPv6. Dual stack BGP allows simultaneous exchange of same IPv4 or IPv6 prexes through
dierent IPv4 and IPv6 peers. You can enable dual stack using the activate command in the corresponding address-family mode. By
default, activate command is enabled for the IPv4 address family for all the neighbors.
If a BGP-v4 neighbor wants to carry ipv6 prex information, it activates the IPv6 address-family. For a BGP-v6 neighbor to carry ipv4
prex, it activates the IPv4 address-family.
1 Enable support for the IPv6 unicast family in CONFIG-ROUTER-BGP mode.
address family ipv6 unicast
2 Enable IPv6 unicast support on a BGP neighbor/template in CONFIG-ROUTER-BGP-AF mode.
activate
Congure administrative distance
Routers use administrative distance to determine the best path between two or more routes to reach the same destination. Administrative
distance indicates the reliability of the route; the lower the administrative distance, the more reliable the route. If the routing table manager
(RTM) receives route updates from one or more routing protocols for a single destination, it chooses the best route based on the
administrative distance.
You can assign an administrative distance for the following BGP routes using the distance bgp command:
External BGP (eBGP) routes
Internal BGP (iBGP) routes
Local routes
If you do not congure the administrative distance for BGP routes, the following default values are used:
eBGP20
iBGP200
local routes—200
To change the administrative distance for BGP, use the following command:
distance bgp external-distance internal-distance local-distance
Congure administrative distance
1 Enable BGP and assign the AS number in CONFIGURATION mode, from 0.1 to 65535.65535 or 1 to 4294967295.
OS10# configure terminal
OS10(config)# router bgp 100
2 Enter ADDRESS-FAMILY mode.
Layer 3
333