SW-1#sh run | s r b
router bgp 1
bgp router-id 1.1.1.1
bgp log-neighbor-changes
network 1.1.1.1 mask 255.255.255.255
neighbor 1.1.12.2 remote-as 234
SW-1#sh ip bgp su
BGP router identifier 1.1.1.1, local AS number 1
BGP table version is 10, main routing table version 10
3 network entries using 432 bytes of memory
3 path entries using 240 bytes of memory
3/3 BGP path/bestpath attribute entries using 456 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1152 total bytes of memory
BGP activity 6/3 prefixes, 6/3 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.12.2 4 234 13 13 10 0 0 00:07:38 2
SW-1#
SW-1#sh ip bgp
BGP table version is 11, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 0.0.0.0 0 32768 i
*> 2.2.2.2/32 1.1.12.2 0 0 234 i
*> 3.3.3.3/32 1.1.12.2 0 234 i
*> 4.4.4.4/32 1.1.12.2 0 234 i
SW-1#
SW-1#
SW-1#sh ip rou 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "connected", distance 0, metric 0 (connected, via interface)
Advertised by bgp 1
Routing Descriptor Blocks:
* directly connected, via Loopback0
Route metric is 0, traffic share count is 1
SW-1#
SW-1#
SW-1#sh ip rou bgp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
2.0.0.0/32 is subnetted, 1 subnets
B 2.2.2.2 [20/0] via 1.1.12.2, 00:11:30
3.0.0.0/32 is subnetted, 1 subnets
B 3.3.3.3 [20/0] via 1.1.12.2, 00:04:45
4.0.0.0/32 is subnetted, 1 subnets
B 4.4.4.4 [20/0] via 1.1.12.2, 00:04:14
SW-2#sh run | s r b
router bgp 65002
bgp router-id 2.2.2.2
bgp log-neighbor-changes
bgp confederation identifier 234
bgp confederation peers 65003
network 2.2.2.2 mask 255.255.255.255
neighbor 1.1.12.1 remote-as 1
neighbor 3.3.3.3 remote-as 65003
neighbor 3.3.3.3 ebgp-multihop 2
neighbor 3.3.3.3 update-source Loopback0
SW-2#sh ip
*Apr 12 12:34:46.023: %SYS-5-CONFIG_I: Configured from console by console
SW-2#sh ip bgp su
BGP router identifier 2.2.2.2, local AS number 65002
BGP table version is 5, main routing table version 5
3 network entries using 432 bytes of memory
3 path entries using 240 bytes of memory
3/3 BGP path/bestpath attribute entries using 456 bytes of memory
2 BGP AS-PATH entries using 48 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1176 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.12.1 4 1 13 13 4 0 0 00:07:38 1
3.3.3.3 4 65003 6 8 4 0 0 00:02:02 1
SW-2#
SW-2#sh ip bgp
BGP table version is 7, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 1.1.12.1 0 0 1 i
*> 2.2.2.2/32 0.0.0.0 0 32768 i
r> 3.3.3.3/32 3.3.3.3 0 100 0 (65003) i
r> 4.4.4.4/32 4.4.4.4 0 100 0 (65003 65004) i
SW-2#
SW-2#
SW-2#sh ip rou 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "bgp 65002", distance 20, metric 0
Tag 1, type external
Last update from 1.1.12.1 00:09:13 ago
Routing Descriptor Blocks:
* 1.1.12.1, from 1.1.12.1, 00:09:13 ago
Route metric is 0, traffic share count is 1
AS Hops 1
Route tag 1
MPLS label: none
SW-2#
SW-2#
SW-2#sh ip rou bgp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
B 1.1.1.1/32 [20/0] via 1.1.12.1, 00:12:00
SW-3#sh run | s r b
router bgp 65003
bgp router-id 3.3.3.3
bgp log-neighbor-changes
bgp confederation identifier 234
bgp confederation peers 65002 65004
network 3.3.3.3 mask 255.255.255.255
neighbor 2.2.2.2 remote-as 65002
neighbor 2.2.2.2 ebgp-multihop 2
neighbor 2.2.2.2 update-source Loopback0
neighbor 4.4.4.4 remote-as 65004
neighbor 4.4.4.4 ebgp-multihop 2
neighbor 4.4.4.4 update-source Loopback0
SW-3#sh ip bgp su
BGP router identifier 3.3.3.3, local AS number 65003
BGP table version is 6, main routing table version 6
4 network entries using 576 bytes of memory
4 path entries using 320 bytes of memory
4/4 BGP path/bestpath attribute entries using 608 bytes of memory
3 BGP AS-PATH entries using 72 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1576 total bytes of memory
BGP activity 4/0 prefixes, 4/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2.2.2.2 4 65002 8 6 4 0 0 00:02:02 2
4.4.4.4 4 65004 5 9 4 0 0 00:00:35 1
SW-3#
SW-3#sh ip bgp
BGP table version is 6, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 1.1.12.1 0 100 0 (65002) 1 i
r> 2.2.2.2/32 2.2.2.2 0 100 0 (65002) i
*> 3.3.3.3/32 0.0.0.0 0 32768 i
r> 4.4.4.4/32 4.4.4.4 0 100 0 (65004) i
SW-3#
SW-3#
SW-3#sh ip rou 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "bgp 65003", distance 200, metric 0
Tag 65002, type internal
Last update from 1.1.12.1 00:03:36 ago
Routing Descriptor Blocks:
* 1.1.12.1, from 2.2.2.2, 00:03:36 ago
Route metric is 0, traffic share count is 1
AS Hops 1
Route tag 65002
MPLS label: none
SW-3#
SW-3#
SW-3#sh ip rou bgp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
B 1.1.1.1/32 [200/0] via 1.1.12.1, 00:06:24
SW-4#sh run | s r b
router bgp 65004
bgp router-id 4.4.4.4
bgp log-neighbor-changes
bgp confederation identifier 234
bgp confederation peers 65003
network 4.4.4.4 mask 255.255.255.255
neighbor 3.3.3.3 remote-as 65003
neighbor 3.3.3.3 ebgp-multihop 2
neighbor 3.3.3.3 update-source Loopback0
SW-4#sh ip bgp su
BGP router identifier 4.4.4.4, local AS number 65004
BGP table version is 8, main routing table version 8
4 network entries using 576 bytes of memory
4 path entries using 320 bytes of memory
4/4 BGP path/bestpath attribute entries using 608 bytes of memory
3 BGP AS-PATH entries using 72 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1576 total bytes of memory
BGP activity 4/0 prefixes, 4/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
3.3.3.3 4 65003 9 5 8 0 0 00:00:35 3
SW-4#
SW-4#sh ip bgp
BGP table version is 8, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 1.1.12.1 0 100 0 (65003 65002) 1 i
r> 2.2.2.2/32 2.2.2.2 0 100 0 (65003 65002) i
r> 3.3.3.3/32 3.3.3.3 0 100 0 (65003) i
*> 4.4.4.4/32 0.0.0.0 0 32768 i
SW-4#
SW-4#
SW-4#sh ip rou 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "bgp 65004", distance 200, metric 0
Tag 65003, type internal
Last update from 1.1.12.1 00:02:05 ago
Routing Descriptor Blocks:
* 1.1.12.1, from 3.3.3.3, 00:02:05 ago
Route metric is 0, traffic share count is 1
AS Hops 1
Route tag 65003
MPLS label: none
SW-4#
SW-4#
SW-4#sh ip rou bgp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
B 1.1.1.1/32 [200/0] via 1.1.12.1, 00:04:53