Reference Guide

Prefixes accepted 3, Prefixes advertised 0
Connections established 3; dropped 2
Closed by neighbor sent 00:03:26 ago
Local host: 5.1.1.2, Local port: 43115
Foreign host: 5.1.1.1, Foreign port: 179
View BGP running conguration
OS10# show running-configuration
router bgp 65123
router-id 192.168.10.2
!
address-family ipv4 unicast
!
neighbor 10.10.21.1
remote-as 65123
no shutdown
!
neighbor 10.10.32.3
remote-as 65123
no shutdown
!
neighbor 100.10.92.9
remote-as 65192
no shutdown
!
neighbor 192.168.10.1
remote-as 65123
update-source Loopback loopback0
no shutdown
!
neighbor 192.168.12.2
remote-as 65123
update-source Loopback loopback0
no shutdown
!
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
Peer templates
To congure multiple BGP neighbors at one time, you can create and populate a BGP peer template. An advantage of conguring peer
templates is that members of a peer template inherit the conguration properties of the template and share update policy. Always create a
268
Layer 3