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 conguration
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
!
Congure Dual Stack
OS10 supports dual stack for BGPv4 and BGPv6. Dual stack BGP allows simultaneous exchange of same IPv4 or IPv6 prexes through
dierent 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 prex information, it activates the IPv6 address-family. For a BGP-v6 neighbor to carry ipv4
prex, it activates the IPv4 address-family.
1 Enable support for the IPv4 multicast family in CONFIG-ROUTER-BGP mode.
address family ipv4 multicast
2 Enable IPv4 multicast support on a BGP neighbor/template in CONFIG-ROUTER-BGP-AF mode.
neighbor [ip-address | template] activate
3 Save the conguration.
do commit
204
Layer 3