Connectivity Guide

Table Of Contents
Show IP BGP
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# neighbor 172:16:1::2
OS10(config-router-neighbor)# remote-as 100
OS10(config-router-neighbor)# no shutdown
OS10(config-router-neighbor)# address-family ipv6 unicast
OS10(config-router-bgp-neighbor-af)# activate
OS10(config-router-bgp-neighbor-af)# allowas-in 1
OS10(config-router-bgp-neighbor-af)# end
OS10# show running-configuration bgp
!
router bgp 100
!
neighbor 172:16:1::2
remote-as 100
no shutdown
!
address-family ipv6 unicast
activate
allowas-in 1
OS10# show ip bgp
BGP local RIB : Routes to be Added , Replaced , Withdrawn
BGP local router ID is 100.1.1.1
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed/network, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>I 55::/64 172:16:1::2 0 0 0 100 200 300 400 i
*>I 55:0:0:1::/64 172:16:1::2 0 0 0 100 200 300 400 i
*>I 55:0:0:2::/64 172:16:1::2 0 0 0 100 200 300 400 i
Redistribute routes
Add routes from other routing instances or protocols to the BGP process. You can include OSPF, static, or directly connected routes in the
BGP process with the redistribute command.
Include directly connected or user-congured (static) routes in ROUTER-BGP-AF mode.
redistribute {connected | static}
Include specic OSPF routes in IS-IS in ROUTER-BGP-AF mode (1 to 65535).
redistribute ospf process-id
Disable redistributed routes
OS10(conf-router-bgp-af)# no redistribute ospf route-map ospf-to-bgp
Enable redistributed routes
OS10(conf-router-bgp-af)# redistribute ospf
Additional paths
The add-path command is disabled by default.
1 Assign an AS number in CONFIGURATION mode.
router bgp as-number
2 Enter a neighbor and IP address (A.B.C.D) in ROUTER-BGP mode.
neighbor ip-address
344
Layer 3