=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2006.08.04 12:40:54 =~=~=~=~=~=~=~=~=~=~=~= RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip access-list R2#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip pre R2(config)#ip prefix-list ? WORD Name of a prefix list sequence-number Include/exclude sequence numbers in NVGEN R2(config)#ip prefix-list Prob3100 per 17.57.100.0/24 R2(config)#ip prefix-list Prob3100 per 17.57.100.0/240 per 17.57.100.0/24 1 per 17.57.100.0/24 per 17.57.100.0/24 1.0/24 R2(config)#rotuer      ute-map Prob3100 R2(config-route-map)#match ip add pre R2(config-route-map)#match ip add prefix-list Prob3100 R2(config-route-map)#set we R2(config-route-map)#set weight 1111 R2(config-route-map)#set weight 1111match ip add prefix-list Prob3100route-map Prob3100   20 R2(config-route-map)#route-map Prob3100 20set weight 1111 match ip add prefix-list Prob3100route-map Prob3100  1  R2(config-route-map)#route-map Prob3101 0 20set weight 1111 match ip add prefix-list Prob3100 1 R2(config-route-map)#match ip add prefix-list Prob3101route-map Prob3101 0 20set weight 1111     2222 R2(config-route-map)#set weight 2222match ip add prefix-list Prob3101route-map Prob3101 20 R2(config-route-map)#router bgp 100 R2(config-router)#nei 180.40.7.66 rout R2(config-router)#nei 180.40.7.66 route-m R2(config-router)#nei 180.40.7.66 route-map Prob3100 in R2(config-router)#nei 180.40.7.66 route-map Prob3100 in  in 1 in 66 route-map Prob3101 in  route-map Prob3101 in 1 route-map Prob3101 in 3 route-map Prob3101 in 0 route-map Prob3101 in  R2(config-router)#^Z R2#s *Mar 2 00:11:52.560: %SYS-5-CONFIG_I: Configured from console by console R2#sh ip bgp BGP table version is 33, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 300 i *> 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 300 i *> 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 300 i *> 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 180.40.7.130 0 300 i *> 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * i50.0.0.0 180.40.7.3 0 100 0 300 200 i * 180.40.7.130 0 300 200 i *> 180.40.7.66 0 300 200 i * 208.28.1.130 0 99 0 200 i * i60.0.0.0 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 300 i *> 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r i180.40.7.64/27 180.40.7.3 0 100 0 300 i r 180.40.7.130 0 0 300 i r> 180.40.7.66 0 0 300 i r 208.28.1.130 0 200 300 i r i180.40.7.128/27 180.40.7.3 0 100 0 300 i r 180.40.7.130 0 0 300 i --More--   R2#clea ipbg     hp    bgp * in R2#clea ip bgp * insh ip bgp  BGP table version is 35, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 300 i *> 180.40.7.66 1111 300 i * 208.28.1.130 0 200 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.130 2222 300 i * 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 300 i *> 180.40.7.66 0 300 i * 208.28.1.130 0 200 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   R2# R2#sh run | b bg  bgp router bgp 100 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 100 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server no ip http secure-server ! ! --More--  ip prefix-list Prob3100 seq 5 permit 17.57.100.0/24 ! ip prefix-list Prob3101 seq 5 permit 17.57.101.0/24 ! route-map Prob2 permit 10 match as-path 1 set local-preference 99 ! route-map Prob2 permit 20 ! route-map Prob3101 permit 10 match ip address prefix-list Prob3101 set weight 2222 ! route-map Prob3101 permit 20 ! route-map Prob3100 permit 10 match ip address prefix-list Prob3100 set weight 1111 ! route-map Prob3100 permit 20 ! ! --More--  ! ! ! ! dial-peer cor custom ! ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! end R2# R2# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#do sh ip access- 0 -l R1(config)#do sh ip access-l        pre R1(config)#ip pre R1(config)#ip prefix-list To102 per 17.57.102.0/24 R1(config)#route-map ToS5 R1(config-route-map)#match ip add pre To102 R1(config-route-map)#set as R1(config-route-map)#set as-path p R1(config-route-map)#set as-path prepend ? <1-65535> AS number last-as Prepend last AS to the as-path R1(config-route-map)#set as-path prepend 300 300 300 300 300 300 300 R1(config-route-map)#set as-path prepend 300 300 300 300 300 300 300match ip add pre To102 route-map ToS5 20 R1(config-route-map)#router bgp 300 R1(config-router)#nei 208.,28   28.1.65 rout R1(config-router)#nei 208.28.1.65 route-m R1(config-router)#nei 208.28.1.65 route-map ToS5 out R1(config-router)#^Z R1# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip rou   bgp BGP table version is 26, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.100.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.101.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.102.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.103.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 17.80.1.0/24 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i *> 40.0.0.0 208.28.1.129 0 100 i --More--   S5#sh ip bgp * in ^ % Invalid input detected at '^' marker. S5#sh ip bgp * insh ip bgp * in  ip bgp * in c ip bgp * inl ip bgp * ine ip bgp * in ip bgp * in S5#cle ip bgp * insh ip bgp * in   BGP table version is 27, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.100.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.101.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 300 300 300 300 i * 17.57.103.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 17.80.1.0/24 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i --More--   S5#deb ip bgp BGP debugging is on for address family: IPv4 Unicast S5#deb ip bgp sh ip bgp cle ip bgp * in S5# 1d00h: BGP: 208.28.1.66 sending REFRESH_REQ(5) for afi/safi: 1/1 1d00h: BGP: 208.28.1.129 sending REFRESH_REQ(5) for afi/safi: 1/1 1d00h: BGP: 208.28.1.66 send message type 5, length (incl. header) 23 1d00h: BGP: 208.28.1.129 send message type 5, length (incl. header) 23 S5#u all All possible debugging has been turned off S5# RACK14AS>1 [Resuming connection 1 to r1 ... ] *Mar R1#sh    sh run | b bgp router bgp 300 no synchronization bgp router-id 1.1.1.1 bgp log-neighbor-changes network 10.0.0.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.129 remote-as 100 neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.65 remote-as 200 neighbor 208.28.1.65 route-map ToS5 out no auto-summary ! no ip http server ip classless ! ! ! ip prefix-list To102 seq 5 permit 17.57.102.0/24 --More--  ! route-map ToS5 permit 10 match ip address prefix-list To102 set as-path prepend 300 300 300 300 300 300 300 ! route-map ToS5 permit 20 ! ! ! ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! --More--   R1# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router bgp 100 R2(config-router)#bgp b R2(config-router)#bgp bestpath ? compare-routerid Compare router-id for identical EBGP paths med MED attribute R2(config-router)#bgp bestpath med R2(config-router)#bgp bestpath med ? confed Compare MED among confederation paths missing-as-worst Treat missing MED as the least preferred one R2(config-router)#bgp bestpath med mi R2(config-router)#bgp bestpath med missing-as-worst R2(config-router)#^Z R2#clea i *Mar 2 00:20:44.933: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#config *Mar 2 00:20:43.923: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down Peer closed the session R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#o router bgp 100 R3(config-router)#bgp bestpath med missing-as-worst R3(config-router)#^Z R3#clea *Mar 2 00:20:51.400: %SYS-5-CONFIG_I: Configured from console by console R3#clea ip bgp * R3# RACK14AS>1 [Resuming connection 1 to r1 ... ] *Mar R1# *Mar 2 00:22:11.932: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Down Peer closed the session R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# *Mar 2 00:22:38.572: %BGP-5-ADJCHANGE: neighbor 180.40.7.129 Up R1(config)#re *Mar 2 00:22:42.238: %BGP-5-ADJCHANGE: neighbor 180.40.7.65 Up R1(config)#re oute-map Prob *Mar 2 00:22:49.353: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Up R1(config)#route-map Prob5 R1(config-route-map)#match ip add pre To102 R1(config-route-map)#set me R1(config-route-map)#set metric 5555 R1(config-route-map)#set metric 5555match ip add pre To102route-map Prob5   20 R1(config-route-map)#router bgp 300 R1(config-router)#nei 208.28.1.2 rout R1(config-router)#nei 208.28.1.2 route-m R1(config-router)#nei 208.28.1.2 route-map Prob5 out R1(config-router)#^Z R1#cela ip bgt *Mar 2 00:24:47.647: %SYS-5-CONFIG_I: Configured from console by console R1#cela ip bgt           cl lea ip bgp * out R1# RACK14AS>23 % 23 is not an open connection RACK14AS> [Resuming connection 1 to r1 ... ] R1# RACK14AS>3 [Resuming connection 3 to r3 ... ] * R3#sh ip bgp BGP table version is 34, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 5555 0 300 i *> 17.57.103.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i --More--   R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] *M R2#sh ip bgp BGP table version is 33, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.66 4294967295 1111 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.101.0/24 180.40.7.3 4294967295 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.130 4294967295 2222 300 i *>i17.57.102.0/24 180.40.7.3 5555 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.103.0/24 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.66 4294967295 0 300 i --More--   R2#sh ip bgp nei BGP neighbor is 180.40.7.3, remote AS 100, internal link BGP version 4, remote router ID 3.3.3.3 BGP state = Established, up for 00:05:10 Last read 00:00:10, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received(old & new) Address family IPv4 Unicast: advertised and received Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcvd Opens: 2 2 Notifications: 0 0 Updates: 20 42 Keepalives: 1135 1135 Route Refresh: 2 0 Total: 1159 1179 Default minimum time between advertisement runs is 5 seconds For address family: IPv4 Unicast BGP table version 33, neighbor version 33 Index 4, Offset 0, Mask 0x10 NEXT_HOP is always this router --More--   R2# RACK14AS> [Resuming connection 2 to r2 ... ] R2#2 sh run | b bgp router bgp 100 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 100 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server no ip http secure-server ! --More--   R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor 17.80.1.2 remote-as 100 neighbor 17.80.1.2 route-reflector-client neighbor 17.80.1.2 route-map Me out neighbor 180.40.7.2 remote-as 100 neighbor 180.40.7.2 route-map Me2 out neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! route-map Me2 permit 10 set ip next-hop 180.40.7.3 ! --More--   R3# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#sh run | b bgp router bgp 300 no synchronization bgp router-id 1.1.1.1 bgp log-neighbor-changes network 10.0.0.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.129 remote-as 100 neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 route-map Prob5 out neighbor 208.28.1.65 remote-as 200 neighbor 208.28.1.65 route-map ToS5 out no auto-summary ! no ip http server ip classless ! ! ! --More--  ip prefix-list To102 seq 5 permit 17.57.102.0/24 ! route-map Prob5 permit 10 match ip address prefix-list To102 set metric 5555 ! route-map Prob5 permit 20 ! route-map ToS5 permit 10 match ip address prefix-list To102 set as-path prepend 300 300 300 300 300 300 300 ! route-map ToS5 permit 20 ! ! ! ! dial-peer cor custom ! ! ! ! line con 0 --More--   R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# R1(config)#access-list 1 den                   do sh access-list R1(config)#access-list 1 per dent  17.57.103.0 0.0.0.        Translating "den" ^ % Invalid input detected at '^' marker. R1(config)#access-list 1 per den 17.57.103.0den 17.57.103.0 den 17.57.103.0 den 17.57.103.0 den 17.57.103.0  R1(config)#access-list 1 per any R1(config)#router bgp 10   3  300 R1(config-router)#nei 207 8.28.1.2 distr R1(config-router)#nei 208.28.1.2 distribute-list 1 out R1(config-router)#nei 208.28.1.2 distribute-list 1 out~ distribute-list 1 out distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out  distribute-list 1 out 1 distribute-list 1 out8 distribute-list 1 out0 distribute-list 1 out. distribute-list 1 out4 distribute-list 1 out0 distribute-list 1 out. distribute-list 1 out7 distribute-list 1 out. distribute-list 1 out6 distribute-list 1 out5 distribute-list 1 out R1(config-router)#nei 180.40.7.65 distribute-list 1 out distribute-list 1 out  distribute-list 1 out 1 distribute-list 1 out2 distribute-list 1 out9 distribute-list 1 out R1(config-router)#do clea ipbgp    nh  bgp * out R1(config-router)# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bg BGP table version is 36, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 5555 0 300 i *>i17.57.103.0/24 180.40.7.2 4294967295 100 0 200 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More--   R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp BGP table version is 35, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.66 4294967295 1111 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.101.0/24 180.40.7.3 4294967295 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.130 4294967295 2222 300 i *>i17.57.102.0/24 180.40.7.3 5555 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i *> 17.57.103.0/24 208.28.1.130 4294967295 0 200 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i --More--   R2# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#exit R1(config)#ip access-list st ? <1-99> Standard IP access-list number <1300-1999> Standard IP access-list number (expanded range) WORD Access-list name R1(config)#ip access-list st Prob6 R1(config-std-nacl)#per 17,57.,      7.57.103.0 R1(config-std-nacl)#exit R1(config)#re oute-MAP     map ToS5 20 R1(config-route-map)#match ip add Prob6 R1(config-route-map)#set commu R1(config-route-map)#set community ? <1-4294967295> community number aa:nn community number in aa:nn format additive Add to the existing community internet Internet (well-known community) local-AS Do not send outside local AS (well-known community) no-advertise Do not advertise to any peer (well-known community) no-export Do not export to next AS (well-known community) none No community attribute R1(config-route-map)#set community no R1(config-route-map)#set community no- R1(config-route-map)#set community no-e R1(config-route-map)#set community no-export R1(config-route-map)#set community no-export ? <1-4294967295> community number aa:nn community number in aa:nn format additive Add to the existing community internet Internet (well-known community) local-AS Do not send outside local AS (well-known community) no-advertise Do not advertise to any peer (well-known community) no-export Do not export to next AS (well-known community) R1(config-route-map)#set community no-export  AD  add R1(config-route-map)#set community no-export additive ? R1(config-route-map)#set community no-export additive R1(config-route-map)#set community no-export additive  match ip add Prob6 route-map ToS5 20   30 R1(config-route-map)#do cle ip bgp * out R1(config-route-map)# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp BGP table version is 35, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.66 4294967295 1111 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.101.0/24 180.40.7.3 4294967295 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.130 4294967295 2222 300 i *>i17.57.102.0/24 180.40.7.3 5555 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i *> 17.57.103.0/24 208.28.1.130 4294967295 0 200 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i --More--   R2# RACK14AS>5 [Resuming connection 5 to r5 ... ] 1d00 S5#sh ip bgp BGP table version is 46, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.100.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.101.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 300 300 300 300 i *> 17.57.103.0/24 208.28.1.66 0 300 i *> 17.80.1.0/24 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i *> 40.0.0.0 208.28.1.129 0 100 i --More--   S5#sh ip bgp 17.57.103/0  .0 BGP routing table entry for 17.57.103.0/24, version 6 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to update-groups: 1 300 208.28.1.66 from 208.28.1.66 (1.1.1.1) Origin IGP, localpref 100, valid, external, best S5# S5# S5# S5#sh ip bgp 17.57.103.0   u all cle ip bgp * inu all sh ip bgp 17.57.103.0 sh ip bgp 17.57.103.0           com S5#sh ip bgp community S5# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1(config-route-map)#router bpg 300 ^ % Invalid input detected at '^' marker. R1(config)#router bpg 300g 300 gp 300 R1(config-router)#nei 208/ .28.1.65 sen R1(config-router)#nei 208.28.1.65 send-c R1(config-router)#nei 208.28.1.65 send-community ? both Send Standard and Extended Community attributes extended Send Extended Community attribute standard Send Standard Community attribute R1(config-router)#nei 208.28.1.65 send-community R1(config-router)#do cl ip bgp * out % Ambiguous command: "cl ip bgp * out" R1(config-router)#do cl ip bgp * outle ip bgp * out R1(config-router)# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp community 17.57.103.0 BGP routing table entry for 17.57.103.0/24, version 47 Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised to EBGP peer) Flag: 0x880 Not advertised to any peer 300 208.28.1.66 from 208.28.1.66 (1.1.1.1) Origin IGP, localpref 100, valid, external, best Community: no-export S5# S5# S5# S5# S5# S5# S5# RACK14AS>4 [Resuming connection 4 to r4 ... ] 1d R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#route-map test R4(config-route-map)#set com R4(config-route-map)#set commu R4(config-route-map)#set community ? <1-4294967295> community number aa:nn community number in aa:nn format additive Add to the existing community internet Internet (well-known community) local-AS Do not send outside local AS (well-known community) no-advertise Do not advertise to any peer (well-known community) no-export Do not export to next AS (well-known community) none No community attribute R4(config-route-map)#set community 100:4444 R4(config-route-map)#rotuer bgp 100 ^ % Invalid input detected at '^' marker. R4(config-route-map)#rotuer bgp 100er bgp 100 er bgp 100 uer bgp 100ter bgp 100 R4(config-router)#nei 17.709   80.1.1 route R4(config-router)#nei 17.80.1.1 route-m R4(config-router)#nei 17.80.1.1 route-map test out R4(config-router)#do cl ip bpo *    gp * ou % Ambiguous command: "cl ip bgp * ou" R4(config-router)#do cl ip bgp * oue ip bgp * ou R4(config-router)# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp 40.0.0.0.0   0 BGP routing table entry for 40.0.0.0/8, version 8 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 180.40.7.2 208.28.1.1 Local, (Received from a RR-client) 17.80.1.2 from 17.80.1.2 (4.4.4.4) Origin IGP, metric 0, localpref 100, valid, internal, best R3#^x4 % Unknown command or computer name, or unable to find computer address R3# R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4(config-router)#do cle ip bgp * ou R4(config-router)#do cle ip bgp * ou ip bgp * ou nei 17.80.1.1 route-map test out                  sne R4(config-router)#nei 17.80.1.1 sne  en R4(config-router)#nei 17.80.1.1 send-com R4(config-router)#nei 17.80.1.1 send-community R4(config-router)# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#clea ip bgpo  * in R3#clea ip bgp * in^x4 sh ip bgp 40.0.0.0 BGP routing table entry for 40.0.0.0/8, version 39 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x880 Advertised to non peer-group peers: 180.40.7.2 208.28.1.1 Local, (Received from a RR-client) 17.80.1.2 from 17.80.1.2 (4.4.4.4) Origin IGP, metric 0, localpref 100, valid, internal, best Community: 6558044 R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp 40.0.0.0 BGP routing table entry for 40.0.0.0/8, version 29 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 180.40.7.66 180.40.7.130 208.28.1.130 Local 180.40.7.3 from 180.40.7.3 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 4.4.4.4, Cluster list: 3.3.3.3 R2# R2# R2# R2#clea ip bgp * in R2#clea ip bgp * insh ip bgp 40.0.0.0 40.0.0.0 BGP routing table entry for 40.0.0.0/8, version 29 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 180.40.7.66 180.40.7.130 208.28.1.130 Local 180.40.7.3 from 180.40.7.3 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 4.4.4.4, Cluster list: 3.3.3.3 R2# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4(config-router)#nei 17.80.1.1 send-community nnei 17.80.1.1 send-community onei 17.80.1.1 send-community  nei 17.80.1.1 send-community  R4(config-router)#no nei 17.80.1.1 send-community ei 17.80.1.1 send-community do cle ip bgp * ou  ip bgp * ou nei 17.80.1.1 route-map test outrouter bgp 100 nei 17.80.1.1 route-map test outnnei 17.80.1.1 route-map test outonei 17.80.1.1 route-map test out nei 17.80.1.1 route-map test out R4(config-router)#^Z R4# 1d00h: %SYS-5-CONFIG_I: Configured from console by console R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#no route= -map test R4(config)#^Z R4# 1d00h: %SYS-5-CONFIG_I: Configured from console by console R4# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#^Z R1#sh run | *Mar 2 00:42:28.486: %SYS-5-CONFIG_I: Configured from console by console R1#sh run | b bgp router bgp 300 no synchronization bgp router-id 1.1.1.1 bgp log-neighbor-changes network 10.0.0.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 1 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 distribute-list 1 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 distribute-list 1 out neighbor 208.28.1.2 route-map Prob5 out neighbor 208.28.1.65 remote-as 200 neighbor 208.28.1.65 send-community neighbor 208.28.1.65 route-map ToS5 out no auto-summary ! no ip http server --More--  ip classless ! ! ! ip prefix-list To102 seq 5 permit 17.57.102.0/24 ! ip access-list standard Prob6 permit 17.57.103.0 access-list 1 deny 17.57.103.0 access-list 1 permit any ! route-map Prob5 permit 10 match ip address prefix-list To102 set metric 5555 ! route-map Prob5 permit 20 ! route-map ToS5 permit 10 match ip address prefix-list To102 set as-path prepend 300 300 300 300 300 300 300 ! route-map ToS5 permit 20 match ip address Prob6 --More--   set community no-export additive ! route-map ToS5 permit 30 ! ! ! ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! end R1# R1# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#router bg         cofnig t      nfig t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#rotur bgp         uter bgp 100 R3(config-router)#nei ? A.B.C.D Neighbor address WORD Neighbor tag X:X:X:X::X Neighbor IPv6 address R3(config-router)#nei MyNei ? activate Enable the Address Family for this Neighbor advertise-map specify route-map for conditional advertisement advertisement-interval Minimum interval between sending BGP routing updates allowas-in Accept as-path with my AS present in it capability Advertise capability to the peer default-originate Originate default route to this neighbor description Neighbor specific description disable-connected-check One-hop away EBGP peer using loopback address distribute-list Filter updates to/from this neighbor dmzlink-bw Propagate the DMZ link bandwidth ebgp-multihop Allow EBGP neighbors not on directly connected networks filter-list Establish BGP filters local-as Specify a local-as number maximum-prefix Maximum number of prefixes accepted from this peer next-hop-self Disable the next hop calculation for this neighbor next-hop-unchanged Propagate the iBGP paths's next hop unchanged for this neighbor password Set a password peer-group Configure peer-group prefix-list Filter updates to/from this neighbor remote-as Specify a BGP neighbor --More--   R3(config-router)#nei MyNei pe R3(config-router)#nei MyNei peer-group ? nlri Specify nlri type supported by peer-group R3(config-router)#nei MyNei peer-group R3(config-router)#nei MyNei remote 100 R3(config-router)#nei MyNei remote 100   rou R3(config-router)#nei MyNei remote rout R3(config-router)#nei MyNei remote route R3(config-router)#nei MyNei remote route           ou R3(config-router)#nei MyNei route-r R3(config-router)#nei MyNei route-reflector-client R3(config-router)#do sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 remote-as 100 neighbor 17.80.1.2 route-reflector-client neighbor 17.80.1.2 route-map Me out neighbor 180.40.7.2 remote-as 100 neighbor 180.40.7.2 route-map Me2 out neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! --More--   R3(config-router)#do sh run | b bgp  nei MyNei route-reflector-client do sh run | b bgp  neighbor 180.40.7.2 ? activate Enable the Address Family for this Neighbor advertise-map specify route-map for conditional advertisement advertisement-interval Minimum interval between sending BGP routing updates allowas-in Accept as-path with my AS present in it capability Advertise capability to the peer default-originate Originate default route to this neighbor description Neighbor specific description disable-connected-check One-hop away EBGP peer using loopback address distribute-list Filter updates to/from this neighbor dmzlink-bw Propagate the DMZ link bandwidth ebgp-multihop Allow EBGP neighbors not on directly connected networks filter-list Establish BGP filters local-as Specify a local-as number maximum-prefix Maximum number of prefixes accepted from this peer next-hop-self Disable the next hop calculation for this neighbor next-hop-unchanged Propagate the iBGP paths's next hop unchanged for this neighbor password Set a password peer-group Member of the peer-group prefix-list Filter updates to/from this neighbor remote-as Specify a BGP neighbor --More--   remove-private-AS Remove private AS number from outbound updates route-map Apply route map to neighbor route-reflector-client Configure a neighbor as Route Reflector client send-community Send Community attribute to this neighbor send-label Send NLRI + MPLS Label to this peer shutdown Administratively shut down this neighbor soft-reconfiguration Per neighbor soft reconfiguration timers BGP per neighbor timers translate-update Translate Update to MBGP format unsuppress-map Route-map to selectively unsuppress suppressed routes update-source Source of routing updates version Set the BGP version to match a neighbor weight Set default weight for routes from this neighbor R3(config-router)#neighbor 180.40.7.2 q pee R3(config-router)#neighbor 180.40.7.2 peer-group MyNei ? R3(config-router)#neighbor 180.40.7.2 peer-group MyNei   R3(config-router)#neighbor 180.40.7.2 peer-group MyNei *Mar 2 00:43:47.876: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down Member added to peergroup R3(config-router)#neighbor 180.40.7.2 peer-group MyNei peer-group MyNei  peer-group MyNei  peer-group MyNei  peer-group MyNei  peer-group MyNei  peer-group MyNei  peer-group MyNei  peer-group MyNei  peer-group MyNei 7 peer-group MyNei. peer-group MyNei8 peer-group MyNei0 peer-group MyNei. peer-group MyNei1 peer-group MyNei. peer-group MyNei2 peer-group MyNei R3(config-router)# *Mar 2 00:43:56.033: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down Member added to peergroup R3(config-router)#^Z R3#sh run *Mar 2 00:44:00.016: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! route-map Me2 permit 10 set ip next-hop 180.40.7.3 ! --More-- *Mar 2 00:44:14.412: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up --More-- *Mar 2 00:44:24.640: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Up --More--  route-map Me permit 10 --More--   set ip next-hop 17.80.1.1 --More--   R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] 1d0 R4#sh ip bgp BGP table version is 154, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4# sh ip bgp BGP table version is 154, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4#clea ip bgp * in R4#clea ip bgp * insh ip bgp  BGP table version is 154, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4#sh run i   b  ~  | b bgp router bgp 100 no synchronization bgp router-id 4.4.4.4 bgp log-neighbor-changes network 17.80.1.0 mask 255.255.255.0 network 40.0.0.0 neighbor 17.80.1.1 remote-as 100 no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ! ! dial-peer cor custom ! ! ! ! ! --More--   R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#dh    sh run | b bgp~ R3#sh run | b bgp~ R3#sh run | b bgp~ sh run | b bgp~  router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! route-map Me2 permit 10 set ip next-hop 180.40.7.3 ! --More--   R3#clea ipbg     bgp *                RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh run | b bgp router bgp 100 no synchronization bgp router-id 4.4.4.4 bgp log-neighbor-changes network 17.80.1.0 mask 255.255.255.0 network 40.0.0.0 neighbor 17.80.1.1 remote-as 100 no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ! ! dial-peer cor custom ! ! ! ! ! --More--   R4#sh run | b bgpip bgp clea ip bgp * insh ip bgp  BGP table version is 154, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh    cklea     cl ip   e ip bgp * R3# *Mar 2 00:47:22.800: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down User reset *Mar 2 00:47:22.800: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down User reset *Mar 2 00:47:22.800: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down User reset R3# *Mar 2 00:47:51.179: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Up *Mar 2 00:47:51.984: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] 1 R4#sh ip bgp BGP table version is 168, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 182, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] * R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#rouer bgp        ter bgp 100 R3(config-router)#no neighbor 17.80.1.2 route-map Me out % Invalid command for a peer-group member R3(config-router)#exit R3(config)#dp sh    o sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! route-map Me2 permit 10 set ip next-hop 180.40.7.3 ! --More--   R3(config)#no roture b      uter bgp 100 R3(config)# *Mar 2 00:49:48.215: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down BGP protocol initialization *Mar 2 00:49:48.215: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down BGP protocol initialization *Mar 2 00:49:48.215: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down BGP protocol initialization R3(config)#router bgp 100 R3(config-router)# no synchronization R3(config-router)# bgp router-id 3.3.3.3 R3(config-router)# bgp log-neighbor-changes R3(config-router)# bgp bestpath med missing-as-worst R3(config-router)# network 30.0.0.0 R3(config-router)# neighbor MyNei peer-group R3(config-router)# neighbor MyNei remote-as 100 R3(config-router)# neighbor MyNei route-reflector-client R3(config-router)# neighbor 17.80.1.2 peer-group MyNei R3(config-router)# neighbor 180.40.7.2 peer-group MyNei R3(config-router)# neighbor 208.28.1.1 remote-as 300 R3(config-router)# no auto-summary R3(config-router)#! R3(config-router)#^Z R3# *Mar 2 00:49:54.144: %SYS-5-CONFIG_I: Configured from console by console R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] 1d00h: R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4# 1d00h: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Up R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4#sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 208.28.1.1 0 100 0 300 i * i17.57.100.0/24 208.28.1.1 4294967295 100 0 300 i * i17.57.101.0/24 208.28.1.1 4294967295 100 0 300 i * i17.57.102.0/24 208.28.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i * i20.0.0.0 180.40.7.2 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i * i50.0.0.0 208.28.1.1 4294967295 100 0 300 200 i * i60.0.0.0 208.28.1.1 4294967295 100 0 300 i * i180.40.7.0/27 180.40.7.2 0 100 0 i * i180.40.7.64/27 208.28.1.1 0 100 0 300 i * i180.40.7.128/27 208.28.1.1 0 100 0 300 i * i208.28.1.0/29 208.28.1.1 0 100 0 300 i * i208.28.1.64/28 208.28.1.1 0 100 0 300 i * i208.28.1.128/27 208.28.1.1 4294967295 100 0 300 200 i R4# sh ip bgp BGP table version is 196, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 208.28.1.1 0 100 0 300 i * i17.57.100.0/24 208.28.1.1 4294967295 100 0 300 i * i17.57.101.0/24 208.28.1.1 4294967295 100 0 300 i * i17.57.102.0/24 208.28.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i * i20.0.0.0 180.40.7.2 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i * i50.0.0.0 208.28.1.1 4294967295 100 0 300 200 i * i60.0.0.0 208.28.1.1 4294967295 100 0 300 i * i180.40.7.0/27 180.40.7.2 0 100 0 i * i180.40.7.64/27 208.28.1.1 0 100 0 300 i * i180.40.7.128/27 208.28.1.1 0 100 0 300 i * i208.28.1.0/29 208.28.1.1 0 100 0 300 i * i208.28.1.64/28 208.28.1.1 0 100 0 300 i * i208.28.1.128/27 208.28.1.1 4294967295 100 0 300 200 i R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#route-map ToR3 R4(config-route-map)#set ip nex R4(config-route-map)#set ip next-hop ? A.B.C.D IP address of next hop peer-address Use peer address (for BGP only) verify-availability Verify if nexthop is a CDP neighbor R4(config-route-map)#set ip next-hop pe R4(config-route-map)#set ip next-hop peer-address R4(config-route-map)#router bgp   100 R4(config-router)#nei 17.,  .80.1.1 rout R4(config-router)#nei 17.80.1.1 route-m R4(config-router)#nei 17.80.1.1 route-map ToR3 in R4(config-router)#^Z R4#vcl   cle 1d00h: %SYS-5-CONFIG_I: Configured from console by console R4#clea ip bg * in R4#clea ip bg * inonfig t sh ip bgp BGP table version is 210, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4# RACK14AS>2 [Resuming connection 2 to r2 ... ] *Ma R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#do sh ip bgp BGP table version is 50, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 208.28.1.1 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 208.28.1.1 4294967295 100 0 300 i *> 180.40.7.66 4294967295 1111 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.101.0/24 208.28.1.1 4294967295 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.130 4294967295 2222 300 i *>i17.57.102.0/24 208.28.1.1 5555 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i * i17.80.1.0/24 17.80.1.2 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i --More--   Network Next Hop Metric LocPrf Weight Path *>i30.0.0.0 180.40.7.3 0 100 0 i * i40.0.0.0 17.80.1.2 0 100 0 i * i50.0.0.0 208.28.1.1 4294967295 100 0 300 200 i *> 180.40.7.66 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i * 180.40.7.130 4294967295 0 300 200 i * i60.0.0.0 208.28.1.1 4294967295 100 0 300 i *> 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r i180.40.7.64/27 208.28.1.1 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r 180.40.7.130 0 0 300 i r i180.40.7.128/27 208.28.1.1 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r 180.40.7.130 0 0 300 i * i208.28.1.0/29 208.28.1.1 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i --More--   R2(config)# R2(config)#route-m, ap ToR3 R2(config-route-map)#set ip next-hop peer-address R2(config-route-map)# R2(config-route-map)#router bgp 100 R2(config-router)#nei 180.5 40.7.3 rout R2(config-router)#nei 180.40.7.3 route-m R2(config-router)#nei 180.40.7.3 route-map ToR3 % Incomplete command. R2(config-router)#nei 180.40.7.3 route-map ToR3 in R2(config-router)#^Z R2#cle ip *Mar 2 00:52:25.008: %SYS-5-CONFIG_I: Configured from console by console R2#cle ip bgp *&  iu n R2#sh ip bgp BGP table version is 53, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.66 4294967295 1111 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.101.0/24 180.40.7.3 4294967295 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.130 4294967295 2222 300 i *>i17.57.102.0/24 180.40.7.3 5555 100 0 300 i * 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i --More--   Network Next Hop Metric LocPrf Weight Path *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * i50.0.0.0 180.40.7.3 4294967295 100 0 300 200 i *> 180.40.7.66 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i * 180.40.7.130 4294967295 0 300 200 i * i60.0.0.0 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r i180.40.7.64/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r 180.40.7.130 0 0 300 i r i180.40.7.128/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r 180.40.7.130 0 0 300 i * i208.28.1.0/29 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i --More--   R2#sh run \ b     | b bgp router bgp 100 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 100 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server no ip http secure-server --More--  ! ! ip prefix-list Prob3100 seq 5 permit 17.57.100.0/24 ! ip prefix-list Prob3101 seq 5 permit 17.57.101.0/24 ! route-map Prob2 permit 10 match as-path 1 set local-preference 99 ! route-map Prob2 permit 20 ! route-map Prob3101 permit 10 match ip address prefix-list Prob3101 set weight 2222 ! route-map Prob3101 permit 20 ! route-map Prob3100 permit 10 match ip address prefix-list Prob3100 set weight 1111 ! route-map Prob3100 permit 20 --More--  ! route-map ToR3 permit 10 set ip next-hop peer-address ! ! ! ! ! ! dial-peer cor custom ! ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! --More--   R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] *Mar R3#sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! route-map Me2 permit 10 set ip next-hop 180.40.7.3 ! --More--   R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh run\  | b bgp router bgp 100 no synchronization bgp router-id 4.4.4.4 bgp log-neighbor-changes network 17.80.1.0 mask 255.255.255.0 network 40.0.0.0 neighbor 17.80.1.1 remote-as 100 neighbor 17.80.1.1 route-map ToR3 in no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! route-map ToR3 permit 10 set ip next-hop peer-address ! ! ! dial-peer cor custom ! --More--   R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#agg R4(config-router)#aggregate-address 17.80.0p .0 255.255.254.0 R4(config-router)#^Z R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 32, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 5555 0 300 i *>i17.80.0.0/23 17.80.1.2 0 100 0 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More--   R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] 1d0 R4#sh ip bg[ p BGP table version is 211, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#ip pr R3(config)#ip prefix-list         Prob8 ? deny Specify packets to reject description Prefix-list specific description permit Specify packets to forward seq sequence number of an entry R3(config)#ip prefi Prob8 den 17.80.1.0  /24 ge  le 32     ge 24 % Invalid prefix range for 17.80.1.0/24, make sure: len < ge-value <= le-value R3(config)#ip prefi Prob8 den 17.80.1.0/24 ge 24 5     le 32 R3(config)#ip prefi Prob8 den 17.80.1.0/24 le 32                      per any ^ % Invalid input detected at '^' marker. R3(config)#ip prefi Prob8 per any     0.0.0.0/0 le 32 R3(config)#router bgp 100 R3(config-router)#neri    i 208.28.1.1 re  pre R3(config-router)#nei 208.28.1.1 prefix-list Prob8 out R3(config-router)#^Z R3# *Mar 2 00:59:08.886: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.1.0/24 le 32 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More--  ! --More--  route-map Me2 permit 10 --More--   R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip access-l ex Prob9 R2(config-ext-nacl)#deny 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 ^ % Invalid input detected at '^' marker. R2(config-ext-nacl)#deny 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255i17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255p17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 R2(config-ext-nacl)#per ip any any R2(config-ext-nacl)# RACK14AS>1 [Resuming connection 1 to r1 ... ] *Mar R1#sh p   ip bgp BGP table version is 62, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i *>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i *>i17.57.103.0/24 17.57.100.2 0 100 0 i * 17.80.0.0/23 180.40.7.65 0 100 i * 180.40.7.129 0 100 i *> 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 17.80.1.0/24 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i *> 208.28.1.2 0 100 i * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i --More--   R1#cl ip route *         bgp * in % Ambiguous command: "cl ip bgp * in" R1#cl ip bgp * ine ip bgp * in R1#cle ip bgp * in ip bgp * in sh ip bgp  BGP table version is 63, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i *>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i *>i17.57.103.0/24 17.57.100.2 0 100 0 i * 17.80.0.0/23 180.40.7.65 0 100 i * 180.40.7.129 0 100 i *> 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i *> 17.80.1.0/24 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i --More--   R1# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2(config-ext-nacl)#per ip any any rouer b    ter bgp 100 R2(config-router)#nei 180.40.7.66 distr R2(config-router)#nei 180.40.7.66 distribute-list Prob8 9 out R2(config-router)#^Z R2# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgp cle ip bgp * in R1#cle ip bgp * insh ip bgp  BGP table version is 64, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i *>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i *>i17.57.103.0/24 17.57.100.2 0 100 0 i * 17.80.0.0/23 180.40.7.65 0 100 i * 180.40.7.129 0 100 i *> 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i *> 17.80.1.0/24 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i * 180.40.7.129 0 100 i --More--   R1# RACK14AS>2 [Resuming connection 2 to r2 ... ] *Mar 2 01:04:36.443: %SYS-5-CONFIG_I: Configured R2#sh run | b bgp router bgp 100 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 100 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list Prob9 out neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server --More--  no ip http secure-server ! ip access-list extended Prob9 deny ip 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 permit ip any any ! ! ip prefix-list Prob3100 seq 5 permit 17.57.100.0/24 ! ip prefix-list Prob3101 seq 5 permit 17.57.101.0/24 ! route-map Prob2 permit 10 match as-path 1 set local-preference 99 ! route-map Prob2 permit 20 ! route-map Prob3101 permit 10 match ip address prefix-list Prob3101 set weight 2222 ! route-map Prob3101 permit 20 ! --More--  route-map Prob3100 permit 10 match ip address prefix-list Prob3100 set weight 1111 ! route-map Prob3100 permit 20 ! route-map ToR3 permit 10 set ip next-hop peer-address ! ! ! ! ! ! dial-peer cor custom ! ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous --More--   R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp 20.0.0.0 BGP routing table entry for 20.0.0.0/8, version 200 Paths: (1 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer Local 17.80.1.1 from 17.80.1.1 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 2.2.2.2, Cluster list: 3.3.3.3 R4# R4# R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#config r t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 R3(config-router)#bgp clu R3(config-router)#bgp cluster-id ? <1-4294967295> Route-Reflector Cluster-id as 32 bit quantity A.B.C.D Route-Reflector Cluster-id in IP address format R3(config-router)#bgp cluster-id 1002 R3(config-router)#^Z R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp 20.0.0.0 BGP routing table entry for 20.0.0.0/8, version 212 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x800 Not advertised to any peer Local 17.80.1.1 from 17.80.1.1 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 2.2.2.2, Cluster list: 0.0.3.234 R4#sh ip bgp BGP table version is 213, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4#sh ip bgp BGP table version is 213, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4#sh ip bgp 20.0.0.0 BGP routing table entry for 20.0.0.0/8, version 212 Paths: (1 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer Local 17.80.1.1 from 17.80.1.1 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 2.2.2.2, Cluster list: 0.0.3.234 R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] *Ma R3#sh run }| ~  | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp cluster-id 1002 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.1.0/24 le 32 --More--   R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#nei 19.2        do poi  i 192.10.32.254 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.10.32.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms R4(config-router)#nei 192.10.32.253 4 % Incomplete command. R4(config-router)#nei 192.10.32.254 retmo   mote 1000 R4(config-router)#nei 192.10.32.254 remote 1000\           oute-map Null % Incomplete command. R4(config-router)#nei 192.10.32.254 route-map Null out R4(config-router)#nei 192.10.32.254 route-map Null out                  as   lo   lo R4(config-router)#nei 192.10.32.254 local-as 134  4 R4(config-router)#do sh ip bgp BGP table version is 213, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4(config-router)#qdo sh ip bgp sum BGP router identifier 4.4.4.4, local AS number 100 BGP table version is 213, main routing table version 213 17 network entries using 1717 bytes of memory 17 path entries using 816 bytes of memory 7 BGP path attribute entries using 420 bytes of memory 1 BGP rrinfo entries using 24 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 3025 total bytes of memory BGP activity 79/62 prefixes, 93/76 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.1 4 100 1292 1209 213 0 0 00:24:30 14 192.10.32.254 4 1000 0 1 0 0 0 never Idle R4(config-router)# 1d01h: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Up R4(config-router)#do sh ip bgp sum BGP router identifier 4.4.4.4, local AS number 100 BGP table version is 216, main routing table version 216 20 network entries using 2020 bytes of memory 20 path entries using 960 bytes of memory 8 BGP path attribute entries using 480 bytes of memory 1 BGP rrinfo entries using 24 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 3556 total bytes of memory BGP activity 82/62 prefixes, 96/76 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.1 4 100 1292 1210 216 0 0 00:24:36 14 192.10.32.254 4 1000 4 5 213 0 0 00:00:04 3 R4(config-router)# do sh ip bgp sum  nei 192.10.32.254 add R4(config-router)#do sh ip bgp nei 192.10.32.254 add sh ip bgp nei 192.10.32.254 add ^ % Invalid input detected at '^' marker. R4(config-router)#do sh ip bgp nei 192.10.32.254 add  R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#do sh ip bgp nei 192.10.32.254 ad R4(config-router)#^Z R4# 1d01h: %SYS-5-CONFIG_I: Configured from console by console R4#sh ip bgp BGP table version is 216, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *> 65.23.32.0/20 192.10.32.254 0 0 14 1000 i *> 129.23.0.0 192.10.32.254 0 0 14 1000 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *> 203.212.1.0 192.10.32.254 0 0 14 1000 i --More--   Network Next Hop Metric LocPrf Weight Path *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967295 100 0 300 200 i R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#do sh ip bgp nei 192.10.32.254 addsum  nei 192.10.32.254 local-as 14route-map Null out emote 1000  do pi 192.10.32.254router bgp 100  R4(config-router)#router bgp 100do sh ip bgp nei 192.10.32.254 add router bgp 100 do sh ip bgp nei 192.10.32.254 addsum  nei 192.10.32.254 local-as 14 ? no-prepend Do not prepend local-as to updates from ebgp peers R4(config-router)#nei 192.10.32.254 local-as 14 no R4(config-router)#nei 192.10.32.254 local-as 14 no-prepend R4(config-router)# 1d01h: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Down Local AS change R4(config-router)#^Z R4# 1d01h: %SYS-5-CONFIG_I: Configured from console by console R4# 1d01h: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Up R4#config tsh ip bgpconfig t sh ip bgp BGP table version is 222, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967295 100 0 300 i *>i17.57.102.0/24 17.80.1.1 5555 100 0 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 4294967295 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967295 100 0 300 i *> 65.23.32.0/20 192.10.32.254 0 0 1000 i *> 129.23.0.0 192.10.32.254 0 0 1000 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *> 203.212.1.0 192.10.32.254 0 0 1000 i --More-- RACK14AS>6 [Resuming connection 6 to r6 ... ] S6#sh i  p bgp reg _1000$ S6#sh ip bgp reg _1000$                    ship b     ip bgp BGP table version is 61, local router ID is 6.6.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.57.100.1 0 100 0 i *> 17.57.100.0/24 0.0.0.0 0 32768 i *> 17.57.101.0/24 0.0.0.0 0 32768 i *> 17.57.102.0/24 0.0.0.0 0 32768 i *> 17.57.103.0/24 0.0.0.0 0 32768 i *>i17.80.0.0/23 208.28.1.2 0 100 0 100 i *>i17.80.1.0/24 180.40.7.129 0 100 0 100 i *>i20.0.0.0 180.40.7.65 0 100 0 100 i *>i30.0.0.0 208.28.1.2 0 100 0 100 i *>i40.0.0.0 208.28.1.2 0 100 0 100 i *>i50.0.0.0 208.28.1.65 0 100 0 200 i *> 60.0.0.0 0.0.0.0 0 32768 i *>i180.40.7.0/27 180.40.7.65 0 100 0 100 i *>i180.40.7.64/27 17.57.100.1 0 100 0 i *>i180.40.7.128/27 17.57.100.1 0 100 0 i *>i208.28.1.0/29 17.57.100.1 0 100 0 i *>i208.28.1.64/28 17.57.100.1 0 100 0 i --More--   Network Next Hop Metric LocPrf Weight Path *>i208.28.1.128/27 208.28.1.65 0 100 0 200 i S6#sh ip bgp          RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 32, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 5555 0 300 i *>i17.80.0.0/23 17.80.1.2 0 100 0 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i * i65.23.32.0/20 192.10.32.254 0 100 0 1000 i --More--   Network Next Hop Metric LocPrf Weight Path * i129.23.0.0 192.10.32.254 0 100 0 1000 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i *> 180.40.7.64/27 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 180.40.7.128/27 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i * i203.212.1.0 192.10.32.254 0 100 0 1000 i r> 208.28.1.0/29 208.28.1.1 0 0 300 i r i 180.40.7.2 0 100 0 300 i *> 208.28.1.64/28 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 208.28.1.128/27 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i R3# RACK14AS>4 [Resuming connection 4 to r4 ... ]  *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i --More--   R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#rour ter bgp 100 R4(config-router)#nei 17.80.1.2 nex R4(config-router)#nei 17.80.1.2 next-hop-s R4(config-router)#nei 17.80.1.2 next-hop-self % Cannot configure the local system as neighbor R4(config-router)#nei 17.80.1.2 next-hop-self  next-hop-self 1 next-hop-self  R4(config-router)#^Z R4# 1d01h: %SYS-5-CONFIG_I: Configured from console by console R4#clea ip          RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 35, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 5555 0 300 i *>i17.80.0.0/23 17.80.1.2 0 100 0 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *>i65.23.32.0/20 17.80.1.2 0 100 0 1000 i --More--   Network Next Hop Metric LocPrf Weight Path *>i129.23.0.0 17.80.1.2 0 100 0 1000 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i *> 180.40.7.64/27 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 180.40.7.128/27 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *>i203.212.1.0 17.80.1.2 0 100 0 1000 i r> 208.28.1.0/29 208.28.1.1 0 0 300 i r i 180.40.7.2 0 100 0 300 i *> 208.28.1.64/28 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 208.28.1.128/27 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i R3#q  RACK14AS>6 [Resuming connection 6 to r6 ... ] S6#sh ip bgp BGP table version is 64, local router ID is 6.6.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.57.100.1 0 100 0 i *> 17.57.100.0/24 0.0.0.0 0 32768 i *> 17.57.101.0/24 0.0.0.0 0 32768 i *> 17.57.102.0/24 0.0.0.0 0 32768 i *> 17.57.103.0/24 0.0.0.0 0 32768 i *>i17.80.0.0/23 208.28.1.2 0 100 0 100 i *>i17.80.1.0/24 180.40.7.129 0 100 0 100 i *>i20.0.0.0 180.40.7.65 0 100 0 100 i *>i30.0.0.0 208.28.1.2 0 100 0 100 i *>i40.0.0.0 208.28.1.2 0 100 0 100 i *>i50.0.0.0 208.28.1.65 0 100 0 200 i *> 60.0.0.0 0.0.0.0 0 32768 i *>i65.23.32.0/20 208.28.1.2 0 100 0 100 1000 i *>i129.23.0.0 208.28.1.2 0 100 0 100 1000 i *>i180.40.7.0/27 180.40.7.65 0 100 0 100 i *>i180.40.7.64/27 17.57.100.1 0 100 0 i *>i180.40.7.128/27 17.57.100.1 0 100 0 i --More--   S6#sh ip bgp reg _1000$ BGP table version is 64, local router ID is 6.6.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i65.23.32.0/20 208.28.1.2 0 100 0 100 1000 i *>i129.23.0.0 208.28.1.2 0 100 0 100 1000 i *>i203.212.1.0 208.28.1.2 0 100 0 100 1000 i S6#confi t Enter configuration commands, one per line. End with CNTL/Z. S6(config)#macro glob bal ? apply Apply a global macro description Macro description of this device trace Apply a global macro with trace enabled S6(config)#macro global appl test % Macro 'test' does not exist. S6(config)#macro global appl testbgp Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.100.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/24 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.100.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.101.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.102.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.103.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.65, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.66, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/16 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.129, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.130, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.65, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.66, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.129, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.130, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 68/70/72 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.80.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.80.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 20.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 30.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 40.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 50.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 60.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.33, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.34, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) S6(config)#^Z S6# 1d01h: %SYS-5-CONFIG_I: Configured from console by console RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh run | b bgp router bgp 100 no synchronization bgp router-id 4.4.4.4 bgp log-neighbor-changes network 17.80.1.0 mask 255.255.255.0 network 40.0.0.0 aggregate-address 17.80.0.0 255.255.254.0 neighbor 17.80.1.1 remote-as 100 neighbor 17.80.1.1 next-hop-self neighbor 17.80.1.1 route-map ToR3 in neighbor 192.10.32.254 remote-as 1000 neighbor 192.10.32.254 local-as 14 no-prepend neighbor 192.10.32.254 route-map Null out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! route-map ToR3 permit 10 set ip next-hop peer-address --More--   R4#confi g ^ % Invalid input detected at '^' marker. R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#? Router configuration commands: address-family Enter Address Family command mode aggregate-address Configure BGP aggregate entries auto-summary Enable automatic network number summarization bgp BGP specific commands default Set a command to its defaults default-information Control distribution of default information default-metric Set metric of redistributed routes distance Define an administrative distance distribute-list Filter networks in routing updates exit Exit from routing protocol configuration mode help Description of the interactive help system maximum-paths Forward packets over multiple paths neighbor Specify a neighbor router network Specify a network to announce via BGP no Negate a command or set its defaults redistribute Redistribute information from another routing protocol synchronization Perform IGP synchronization table-map Map external entry attributes into routing table timers Adjust routing timers R4(config-router)#q bgp ? always-compare-med Allow comparing MED from different neighbors bestpath Change the default bestpath selection client-to-client Configure client to client route reflection cluster-id Configure Route-Reflector Cluster-id (peers may reset) confederation AS confederation parameters dampening Enable route-flap dampening default Configure BGP defaults deterministic-med Pick the best-MED path among paths advertised from the neighboring AS dmzlink-bw Use DMZ Link Bandwidth as weight for BGP multipaths enforce-first-as Enforce the first AS for EBGP routes(default) fast-external-fallover Immediately reset session if a link to a directly connected external peer goes down graceful-restart Graceful restart capability parameters inject-map Routemap which specifies prefixes to inject log-neighbor-changes Log neighbor up/down and reset reason maxas-limit Allow AS-PATH attribute from any neighbor imposing a limit on number of ASes redistribute-internal Allow redistribution of iBGP into IGPs (dangerous) router-id Override configured router identifier (peers will reset) --More--   R4(config-router)#bgp o con R4(config-router)#bgp confederation ? identifier as number peers Peer ASs in BGP confederation R4(config-router)#bgp confederation i R4(config-router)#bgp confederation identifier ? <1-65535> Set routing domain confederation AS R4(config-router)#bgp confederation identifier R4# 1d01h: %SYS-5-CONFIG_I: Configured from console by console R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#no router bgp 100 R4(config)#router bgp 65004 R4(config-router)#bgp confederation identifier 100 R4(config-router)#bgp confederation peer 65002 65003 R4(config-router)# no synchronization R4(config-router)# bgp router-id 4.4.4.4 R4(config-router)# bgp log-neighbor-changes R4(config-router)# network 17.80.1.0 mask 255.255.255.0 R4(config-router)# network 40.0.0.0 R4(config-router)# aggregate-address 17.80.0.0 255.255.254.0 R4(config-router)# neighbor 17.80.1.1 remote-as 65003 R4(config-router)# neighbor 17.80.1.1 next-hop-self R4(config-router)# neighbor 17.80.1.1 route-map ToR3 in R4(config-router)# neighbor 192.10.32.254 remote-as 1000 R4(config-router)# neighbor 192.10.32.254 local-as 14 no-prepend R4(config-router)# neighbor 192.10.32.254 route-map Null out R4(config-router)# no auto-summary R4(config-router)#! R4(config-router)# 1d01h: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Down BGP protocol initialization 1d01h: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Down BGP protocol initialization R4(config-router)# R4(config-router)# R4(config-router)#^Z R4# RACK14AS>3 [Resuming connection 3 to r3 ... ] * R3#sh run | b bgp router bgp 100 no synchronization bgp router-id 3.3.3.3 bgp cluster-id 1002 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor MyNei peer-group neighbor MyNei remote-as 100 neighbor MyNei route-reflector-client neighbor 17.80.1.2 peer-group MyNei neighbor 180.40.7.2 peer-group MyNei neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.1.0/24 le 32 --More--   R3# *Mar 2 01:25:39.814: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 2 01:26:09.843: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3#config *Mar 2 01:26:36.631: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#no router bgp 100 R3(config)#router bgp 65003 R3(config-router)#bgp confederation identifier 100 R3(config-router)#bgp confederation peer 65002 65004 R3(config-router)# no synchronization R3(config-router)# bgp router-id 3.3.3.3 R3(config-router)# bgp log-neighbor-changes R3(config-router)# bgp bestpath med missing-as-worst R3(config-router)# network 30.0.0.0 R3(config-router)# neighbor 17.80.1.2 remote-as 65004 R3(config-router)# neighbor 180.40.7.2 remote-as 65002 R3(config-router)# neighbor 208.28.1.1 remote-as 300 R3(config-router)# neighbor 208.28.1.1 prefix-list Prob8 out R3(config-router)# no auto-summary R3(config-router)# *Mar 2 01:26:42.565: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down BGP protocol initialization *Mar 2 01:26:42.565: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down BGP protocol initialization R3(config-router)# R3(config-router)#^Z R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] *Ma R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] *M R3#wr Building configuration... RACK14AS>4 [Resuming connection 4 to r4 ... ] 1d01 R4#wr Building configuration... RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh run | b bgp router bgp 100 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 100 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list Prob9 out neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server --More--   R2# *Mar 2 01:27:18.532: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#no router bgp 100 *Mar 2 01:27:47.948: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 R2(config)#router bgp 65002 R2(config-router)#bgp confederation identifier 100 R2(config-router)#bgp confederation peer 65003 65004 R2(config-router)# no synchronization R2(config-router)# bgp router-id 2.2.2.2 R2(config-router)# bgp log-neighbor-changes R2(config-router)# bgp bestpath med missing-as-worst R2(config-router)# network 20.0.0.0 R2(config-router)# network 180.40.7.0 mask 255.255.255.224 R2(config-router)# neighbor 180.40.7.3 remote-as 65003 R2(config-router)# neighbor 180.40.7.3 next-hop-self R2(config-router)# neighbor 180.40.7.3 route-map ToR3 in R2(config-router)# neighbor 180.40.7.66 remote-as 300 R2(config-router)# neighbor 180.40.7.66 distribute-list Prob9 out R2(config-router)# neighbor 180.40.7.66 route-map Prob3100 in R2(config-router)# neighbor 180.40.7.130 remote-as 300 R2(config-router)# neighbor 180.40.7.130 route-map Prob3101 in R2(config-router)# neighbor 208.28.1.130 remote-as 200 R2(config-router)# neighbor 208.28.1.130 route-map Prob2 in R2(config-router)# no auto-summary R2(config-router)#! R2(config-router)# *Mar 2 01:27:50.524: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Down BGP protocol initialization *Mar 2 01:27:50.524: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Down BGP protocol initialization *Mar 2 01:27:50.524: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Down BGP protocol initialization R2(config-router)#^Z R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] [OK] R3# R3#sh run | b bgp router bgp 65003 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65002 65004 bgp bestpath med missing-as-worst network 30.0.0.0 neighbor 17.80.1.2 remote-as 65004 neighbor 180.40.7.2 remote-as 65002 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.1.0/24 le 32 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 ! --More--   R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] *Mar R2#wr Building configuration... RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 1, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.1 0 0 300 i * 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * 17.57.102.0/24 208.28.1.1 5555 0 300 i * 17.80.0.0/23 17.80.1.2 0 100 0 (65004) i * 17.80.1.0/24 17.80.1.2 0 100 0 (65004) i * 30.0.0.0 0.0.0.0 0 32768 i * 40.0.0.0 17.80.1.2 0 100 0 (65004) i * 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * 60.0.0.0 208.28.1.1 4294967295 0 300 i * 65.23.32.0/20 17.80.1.2 0 100 0 (65004) 1000 i * 129.23.0.0 17.80.1.2 0 100 0 (65004) 1000 i * 180.40.7.64/27 208.28.1.1 0 0 300 i * 180.40.7.128/27 208.28.1.1 0 0 300 i * 203.212.1.0 17.80.1.2 0 100 0 (65004) 1000 i * 208.28.1.0/29 208.28.1.1 0 0 300 i * 208.28.1.64/28 208.28.1.1 0 0 300 i --More--   R3#sh ip bgp sum BGP router identifier 3.3.3.3, local AS number 65003 BGP table version is 1, main routing table version 1 18 network entries using 1818 bytes of memory 18 path entries using 864 bytes of memory 8 BGP path attribute entries using 480 bytes of memory 4 BGP AS-PATH entries using 96 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 3258 total bytes of memory BGP activity 18/0 prefixes, 18/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.2 4 65004 8 4 0 0 0 00:01:05 6 180.40.7.2 4 65002 2 2 0 0 0 never Active 208.28.1.1 4 300 11 4 0 0 0 00:01:06 11 R3# *Mar 2 01:28:28.775: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up R3#sh ip bgp sum BGP router identifier 3.3.3.3, local AS number 65003 BGP table version is 21, main routing table version 21 18 network entries using 1818 bytes of memory 28 path entries using 1344 bytes of memory 11 BGP path attribute entries using 660 bytes of memory 6 BGP AS-PATH entries using 144 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 3966 total bytes of memory BGP activity 18/0 prefixes, 28/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.2 4 65004 8 10 21 0 0 00:01:09 6 180.40.7.2 4 65002 9 14 21 0 0 00:00:03 10 208.28.1.1 4 300 11 9 21 0 0 00:01:10 11 R3#sh ip bgp sum run | b bgpip bgp  BGP table version is 21, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i * 17.57.100.0/24 180.40.7.2 4294967295 100 0 (65002) 300 i *> 208.28.1.1 4294967295 0 300 i * 17.57.101.0/24 180.40.7.2 4294967295 100 0 (65002) 300 i *> 208.28.1.1 4294967295 0 300 i *> 17.57.102.0/24 208.28.1.1 5555 0 300 i *> 17.80.0.0/23 17.80.1.2 0 100 0 (65004) i r> 17.80.1.0/24 17.80.1.2 0 100 0 (65004) i *> 30.0.0.0 0.0.0.0 0 32768 i *> 40.0.0.0 17.80.1.2 0 100 0 (65004) i * 50.0.0.0 180.40.7.2 4294967295 100 0 (65002) 300 200 i *> 208.28.1.1 4294967295 0 300 200 i * 60.0.0.0 180.40.7.2 4294967295 100 0 (65002) 300 i *> 208.28.1.1 4294967295 0 300 i *> 65.23.32.0/20 17.80.1.2 0 100 0 (65004) 1000 i *> 129.23.0.0 17.80.1.2 0 100 0 (65004) 1000 i --More--   Network Next Hop Metric LocPrf Weight Path * 180.40.7.64/27 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i * 180.40.7.128/27 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i *> 203.212.1.0 17.80.1.2 0 100 0 (65004) 1000 i r 208.28.1.0/29 180.40.7.2 0 100 0 (65002) 300 i r> 208.28.1.1 0 0 300 i * 208.28.1.64/28 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i * 208.28.1.128/27 180.40.7.2 4294967295 100 0 (65002) 300 200 i *> 208.28.1.1 4294967295 0 300 200 i R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] [OK R4#sh ip bgp BGP table version is 19, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.100.0/24 17.80.1.1 4294967295 100 0 (65003) 300 i *> 17.57.101.0/24 17.80.1.1 4294967295 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 5555 100 0 (65003) 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 30.0.0.0 17.80.1.1 0 100 0 (65003) i *> 40.0.0.0 0.0.0.0 0 32768 i *> 50.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 200 i *> 60.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 i *> 65.23.32.0/20 192.10.32.254 0 0 1000 i *> 129.23.0.0 192.10.32.254 0 0 1000 i *> 180.40.7.64/27 17.80.1.1 0 100 0 (65003) 300 i *> 180.40.7.128/27 17.80.1.1 0 100 0 (65003) 300 i *> 203.212.1.0 192.10.32.254 0 0 1000 i *> 208.28.1.0/29 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.64/28 17.80.1.1 0 100 0 (65003) 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 208.28.1.128/27 17.80.1.1 4294967295 100 0 (65003) 300 200 i R4# RACK14AS>2 [Resuming connection 2 to r2 ... ] [OK] R2#sh ipbg     bgp BGP table version is 24, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 180.40.7.3 0 100 0 (65003) 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 0 0 300 i * 17.57.100.0/24 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 1111 300 i * 17.57.101.0/24 180.40.7.3 4294967295 100 0 (65003) 300 i *> 180.40.7.130 4294967295 2222 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.66 4294967295 0 300 i *> 17.57.102.0/24 180.40.7.3 5555 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 180.40.7.66 4294967295 0 300 i *> 17.80.0.0/23 180.40.7.3 0 100 0 (65003 65004) i *> 17.80.1.0/24 180.40.7.3 0 100 0 (65003 65004) i --More--   Network Next Hop Metric LocPrf Weight Path *> 20.0.0.0 0.0.0.0 0 32768 i *> 30.0.0.0 180.40.7.3 0 100 0 (65003) i *> 40.0.0.0 180.40.7.3 0 100 0 (65003 65004) i * 50.0.0.0 180.40.7.3 4294967295 100 0 (65003) 300 200 i * 180.40.7.130 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i *> 180.40.7.66 4294967295 0 300 200 i * 60.0.0.0 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 0 300 i *> 65.23.32.0/20 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 129.23.0.0 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r 180.40.7.64/27 180.40.7.3 0 100 0 (65003) 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.128/27 180.40.7.3 0 100 0 (65003) 300 i r 180.40.7.130 0 0 300 i --More--   R2#tclsh R2(tcl)#foreach test { +>(tcl)#17.57.100.1 +>(tcl)#17.57.100.2 +>(tcl)#17.57.101.1 +>(tcl)#17.57.102.1 +>(tcl)#17.57.103.1 +>(tcl)#208.28.1.65 +>(tcl)#208.28.1.66 +>(tcl)#208.28.1.129 +>(tcl)#208.28.1.130 +>(tcl)#180.40.7.65 +>(tcl)#180.40.7.66 +>(tcl)#180.40.7.129 +>(tcl)#180.40.7.130 +>(tcl)#208.28.1.1 +>(tcl)#208.28.1.2 +>(tcl)#180.40.7.2 +>(tcl)#180.40.7.3 +>(tcl)#17.80.1.1 +>(tcl)#17.80.1.2 +>(tcl)#10.1.1.1 +>(tcl)#20.1.1.1 +>(tcl)#30.1.1.1 +>(tcl)#40.1.1.1 +>(tcl)#50.1.1.1 +>(tcl)#60.1.1.1 +>(tcl)#180.40.7.33 +>(tcl)#180.40.7.34 +>(tcl)#} {ping $test rep 2};tclquit Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.57.100.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 60/66/72 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.57.100.2, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.57.101.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 28/30/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.57.102.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 72/72/72 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.57.103.1, timeout is 2 seconds: .. Success rate is 0 percent (0/2) Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 208.28.1.65, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/56/56 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 208.28.1.66, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 208.28.1.129, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 208.28.1.130, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.65, timeout is 2 seconds: .. Success rate is 0 percent (0/2) Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.66, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 60/64/68 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.129, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 60/62/65 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.130, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 28/30/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 208.28.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/56/56 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 208.28.1.2, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 112/114/116 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.2, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/62/69 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.3, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 28/30/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.80.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 28/30/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 17.80.1.2, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 32/32/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 20.1.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 30.1.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 28/30/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 40.1.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 32/32/32 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 50.1.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/56/57 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 60.1.1.1, timeout is 2 seconds: !! Success rate is 100 percent (2/2), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.33, timeout is 2 seconds: .. Success rate is 0 percent (0/2) Type escape sequence to abort. Sending 2, 100-byte ICMP Echos to 180.40.7.34, timeout is 2 seconds: .. Success rate is 0 percent (0/2) R2#ship     ip bgp BGP table version is 24, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 180.40.7.3 0 100 0 (65003) 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 0 0 300 i * 17.57.100.0/24 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 1111 300 i * 17.57.101.0/24 180.40.7.3 4294967295 100 0 (65003) 300 i *> 180.40.7.130 4294967295 2222 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.66 4294967295 0 300 i *> 17.57.102.0/24 180.40.7.3 5555 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 180.40.7.66 4294967295 0 300 i *> 17.80.0.0/23 180.40.7.3 0 100 0 (65003 65004) i *> 17.80.1.0/24 180.40.7.3 0 100 0 (65003 65004) i --More--   Network Next Hop Metric LocPrf Weight Path *> 20.0.0.0 0.0.0.0 0 32768 i *> 30.0.0.0 180.40.7.3 0 100 0 (65003) i *> 40.0.0.0 180.40.7.3 0 100 0 (65003 65004) i * 50.0.0.0 180.40.7.3 4294967295 100 0 (65003) 300 200 i * 180.40.7.130 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i *> 180.40.7.66 4294967295 0 300 200 i * 60.0.0.0 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 0 300 i *> 65.23.32.0/20 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 129.23.0.0 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r 180.40.7.64/27 180.40.7.3 0 100 0 (65003) 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.128/27 180.40.7.3 0 100 0 (65003) 300 i r 180.40.7.130 0 0 300 i --More--   R2# RACK14AS>1 [Resuming connection 1 to r1 ... ] * R1#sh ip bgp BGP table version is 96, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i *>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i *>i17.57.103.0/24 17.57.100.2 0 100 0 i * 17.80.0.0/23 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i *> 208.28.1.2 0 100 i *> 17.80.1.0/24 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 20.0.0.0 208.28.1.2 0 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 208.28.1.65 0 200 100 i * 30.0.0.0 180.40.7.65 0 100 i * 180.40.7.129 0 100 i --More--   R1# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh run | b bgp router bgp 65002 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65003 65004 bgp bestpath med missing-as-worst network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 65003 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list Prob9 out neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! --More--   R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b bgp router bgp 65003 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65002 65004 bgp bestpath med missing-as-worst network 30.0.0.0 neighbor 17.80.1.2 remote-as 65004 neighbor 180.40.7.2 remote-as 65002 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.1.0/24 le 32 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 ! --More--   R3# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh run | b bgp router bgp 65004 no synchronization bgp router-id 4.4.4.4 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65002 65003 network 17.80.1.0 mask 255.255.255.0 network 40.0.0.0 aggregate-address 17.80.0.0 255.255.254.0 neighbor 17.80.1.1 remote-as 65003 neighbor 17.80.1.1 next-hop-self neighbor 17.80.1.1 route-map ToR3 in neighbor 192.10.32.254 remote-as 1000 neighbor 192.10.32.254 local-as 14 no-prepend neighbor 192.10.32.254 route-map Null out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! --More--   R4# RACK14AS>6 [Resuming connection 6 to r6 ... ] S6#config t Enter configuration commands, one per line. End with CNTL/Z. S6(config)#macro global appl testbgp Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.100.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.100.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.101.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.102.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.103.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.65, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.66, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.129, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.130, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.65, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.66, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/10/24 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.129, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.130, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/8 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/32 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 208.28.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 68/71/72 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.80.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.80.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 20.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 30.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 40.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 50.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 60.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.33, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 180.40.7.34, timeout is 2 seconds: ... Success rate is 0 percent (0/3) S6(config)#^Z S6#sh ip bgp 1d01h: %SYS-5-CONFIG_I: Configured from console by console BGP table version is 92, local router ID is 6.6.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i10.0.0.0 17.57.100.1 0 100 0 i *> 17.57.100.0/24 0.0.0.0 0 32768 i *> 17.57.101.0/24 0.0.0.0 0 32768 i *> 17.57.102.0/24 0.0.0.0 0 32768 i *> 17.57.103.0/24 0.0.0.0 0 32768 i *>i17.80.0.0/23 208.28.1.2 0 100 0 100 i *>i17.80.1.0/24 180.40.7.129 0 100 0 100 i *>i20.0.0.0 180.40.7.65 0 100 0 100 i *>i30.0.0.0 208.28.1.2 0 100 0 100 i *>i40.0.0.0 208.28.1.2 0 100 0 100 i *>i50.0.0.0 208.28.1.65 0 100 0 200 i *> 60.0.0.0 0.0.0.0 0 32768 i *>i65.23.32.0/20 208.28.1.2 0 100 0 100 1000 i *>i129.23.0.0 208.28.1.2 0 100 0 100 1000 i *>i180.40.7.0/27 180.40.7.65 0 100 0 100 i *>i180.40.7.64/27 17.57.100.1 0 100 0 i *>i180.40.7.128/27 17.57.100.1 0 100 0 i --More--   Network Next Hop Metric LocPrf Weight Path *>i203.212.1.0 208.28.1.2 0 100 0 100 1000 i *>i208.28.1.0/29 17.57.100.1 0 100 0 i *>i208.28.1.64/28 17.57.100.1 0 100 0 i *>i208.28.1.128/27 208.28.1.65 0 100 0 200 i S6# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int s 1/2 3 R2(config-if)#clock rate 128000 R2(config-if)#band 128 R2(config-if)#ip address 180.40.7.34 255.255.255.224 R2(config-if)#no shut R2(config-if)#ex  no shut *Mar 2 01:40:41.416: %LINK-3-UPDOWN: Interface Serial1/3, changed state to down R2(config-if)#no shutip address 180.40.7.34 255.255.255.224band 128 clock rate 128000int s 1/3  2 R2(config-if)#band 768 R2(config-if)#rpour     router bgp 1 65002 R2(config-router)#net 180.40.7.32 mask 255.255.255.224 R2(config-router)#nei 180.40.7.33 e remote 65003 R2(config-router)# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#confifg rt ^ % Invalid input detected at '^' marker. R3# R3#confifg rtsh run | b bgp confifg rt  config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#int s 1/2 R3(config-if)#ban 6 768 R3(config-if)#int s 1/2 3 R3(config-if)#band 128 R3(config-if)#ip add 180.40.7.33 255.255.255.224 R3(config-if)#router bgp 100   65003 R3(config-router)#nei 1 80.490      180.40.7.34 remote 65002 R3(config-router)#int s 1/2 R3(config-if)#int s 1/2 3 R3(config-if)#no sht ^ % Invalid input detected at '^' marker. R3(config-if)#no sht ut R3(config-if)#^Z R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2(config-router)# *Mar 2 01:42:17.012: %LINK-3-UPDOWN: Interface Serial1/3, changed state to up *Mar 2 01:42:18.014: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to up R2(config-router)#nei 180.40.7.33 remote 65003t 180.40.7.32 mask 255.255.255.224i 180.40.7.33 remote 65003  do sh run | b bgp router bgp 65002 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65003 65004 bgp bestpath med missing-as-worst network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 network 180.40.7.32 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 65003 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.33 remote-as 65003 neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list Prob9 out neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! --More--   R2(config-router)# *Mar 2 01:42:37.494: %BGP-5-ADJCHANGE: neighbor 180.40.7.33 Up R2(config-router)#neighbor 180.40.7.3 route-map ToR3 in.33 route-map ToR3 in R2(config-router)#do sh ip bgp sum BGP router identifier 2.2.2.2, local AS number 65002 BGP table version is 25, main routing table version 25 21 network entries using 2121 bytes of memory 71 path entries using 3408 bytes of memory 15 BGP path attribute entries using 900 bytes of memory 9 BGP AS-PATH entries using 216 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 6645 total bytes of memory BGP activity 21/0 prefixes, 72/1 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 180.40.7.3 4 65003 26 23 25 0 0 00:14:26 18 180.40.7.33 4 65003 13 14 25 0 0 00:00:22 18 180.40.7.66 4 300 27 26 25 0 0 00:14:30 11 180.40.7.130 4 300 26 28 25 0 0 00:14:27 11 208.28.1.130 4 200 28 28 25 0 0 00:14:30 10 R2(config-router)#do sh ip bgpo  BGP table version is 25, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.1 0 100 0 (65003) 300 i * 180.40.7.3 0 100 0 (65003) 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 0 0 300 i * 17.57.100.0/24 208.28.1.1 4294967295 100 0 (65003) 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 1111 300 i * 17.57.101.0/24 208.28.1.1 4294967295 100 0 (65003) 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i *> 180.40.7.130 4294967295 2222 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.66 4294967295 0 300 i * 17.57.102.0/24 208.28.1.1 5555 100 0 (65003) 300 i *> 180.40.7.3 5555 100 0 (65003) 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 180.40.7.130 4294967295 0 300 i * 180.40.7.66 4294967295 0 300 i * 17.80.0.0/23 17.80.1.2 0 100 0 (65003 65004) i *> 180.40.7.3 0 100 0 (65003 65004) i * 17.80.1.0/24 17.80.1.2 0 100 0 (65003 65004) i *> 180.40.7.3 0 100 0 (65003 65004) i *> 20.0.0.0 0.0.0.0 0 32768 i * 30.0.0.0 180.40.7.33 0 100 0 (65003) i *> 180.40.7.3 0 100 0 (65003) i * 40.0.0.0 17.80.1.2 0 100 0 (65003 65004) i *> 180.40.7.3 0 100 0 (65003 65004) i * 50.0.0.0 208.28.1.1 4294967295 100 0 (65003) 300 200 i * 180.40.7.3 4294967295 100 0 (65003) 300 200 i * 180.40.7.130 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i *> 180.40.7.66 4294967295 0 300 200 i * 60.0.0.0 208.28.1.1 4294967295 100 0 (65003) 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 0 300 i * 65.23.32.0/20 17.80.1.2 0 100 0 (65003 65004) 1000 i --More--   R2(config-router)#q do clea ip gp * in clea ip gp * in ^ % Invalid input detected at '^' marker. R2(config-router)#do clea ip gp * inbgp * in R2(config-router)#do clea ip bgp * ingp * in sh ip bgp  BGP table version is 25, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 180.40.7.33 0 100 0 (65003) 300 i * 180.40.7.3 0 100 0 (65003) 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 0 0 300 i * 17.57.100.0/24 180.40.7.33 4294967295 100 0 (65003) 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 1111 300 i * 17.57.101.0/24 180.40.7.33 4294967295 100 0 (65003) 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i *> 180.40.7.130 4294967295 2222 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.66 4294967295 0 300 i * 17.57.102.0/24 180.40.7.33 5555 100 0 (65003) 300 i *> 180.40.7.3 5555 100 0 (65003) 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 180.40.7.130 4294967295 0 300 i * 180.40.7.66 4294967295 0 300 i * 17.80.0.0/23 180.40.7.33 0 100 0 (65003 65004) i *> 180.40.7.3 0 100 0 (65003 65004) i * 17.80.1.0/24 180.40.7.33 0 100 0 (65003 65004) i *> 180.40.7.3 0 100 0 (65003 65004) i *> 20.0.0.0 0.0.0.0 0 32768 i * 30.0.0.0 180.40.7.33 0 100 0 (65003) i *> 180.40.7.3 0 100 0 (65003) i * 40.0.0.0 180.40.7.33 0 100 0 (65003 65004) i *> 180.40.7.3 0 100 0 (65003 65004) i * 50.0.0.0 180.40.7.33 4294967295 100 0 (65003) 300 200 i * 180.40.7.3 4294967295 100 0 (65003) 300 200 i * 180.40.7.130 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i *> 180.40.7.66 4294967295 0 300 200 i * 60.0.0.0 180.40.7.33 4294967295 100 0 (65003) 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 0 300 i * 65.23.32.0/20 180.40.7.33 0 100 0 (65003 65004) 1000 i --More--   R2(config-router)#do sh ip bgp 40.0.0.0 BGP routing table entry for 40.0.0.0/8, version 9 Paths: (2 available, best #2, table Default-IP-Routing-Table) Advertised to non peer-group peers: 180.40.7.33 180.40.7.66 180.40.7.130 208.28.1.130 (65003 65004) 180.40.7.33 from 180.40.7.33 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, confed-external (65003 65004) 180.40.7.3 from 180.40.7.3 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, confed-external, best R2(config-router)#bgp ? always-compare-med Allow comparing MED from different neighbors bestpath Change the default bestpath selection client-to-client Configure client to client route reflection cluster-id Configure Route-Reflector Cluster-id (peers may reset) confederation AS confederation parameters dampening Enable route-flap dampening default Configure BGP defaults deterministic-med Pick the best-MED path among paths advertised from the neighboring AS dmzlink-bw Use DMZ Link Bandwidth as weight for BGP multipaths enforce-first-as Enforce the first AS for EBGP routes(default) fast-external-fallover Immediately reset session if a link to a directly connected external peer goes down graceful-restart Graceful restart capability parameters inject-map Routemap which specifies prefixes to inject log-neighbor-changes Log neighbor up/down and reset reason maxas-limit Allow AS-PATH attribute from any neighbor imposing a limit on number of ASes redistribute-internal Allow redistribution of iBGP into IGPs (dangerous) router-id Override configured router identifier (peers will reset) --More--   R2(config-router)#bgp dm R2(config-router)#bgp dmzlink-bw ? R2(config-router)#bgp dmzlink-bw R2(config-router)#nei R2(config-router)#neighbor 180.80.   40.7.3 d R2(config-router)#neighbor 180.40.7.3 dm R2(config-router)#neighbor 180.40.7.3 dmzlink-bw ? R2(config-router)#neighbor 180.40.7.3 dmzlink-bw R2(config-router)#nei R2(config-router)#neighbor 180.40.7.3 dmzlink-bw            sen R2(config-router)#neighbor 180.40.7.3 send-co R2(config-router)#neighbor 180.40.7.3 send-community b R2(config-router)#neighbor 180.40.7.3 send-community both R2(config-router)#neighbor 180.40.7.3 send-community both 3 send-community both  R2(config-router)#neighbor 180.40.7.33 send-community both y send-community both dmzlink-bw 3 dmzlink-bw  R2(config-router)#^Z R2# RACK14AS> [Resuming connection 2 to r2 ... ] *M R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] * R3# R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#rouert     ter bgop    p 65003 R3(config-router)#nei 180.40.7.2                bgp dm R3(config-router)#bgp dmzlink-bw R3(config-router)#nei 180,.4   .40.7.2 dm R3(config-router)#nei 180.40.7.2 dmzlink-bw R3(config-router)#nei 180.40.7.2 dmzlink-bw            sen R3(config-router)#nei 180.40.7.2 send-co R3(config-router)#nei 180.40.7.2 send-community bo R3(config-router)#nei 180.40.7.2 send-community bodmzlink-bw  dmzlink-bw 3 dmzlink-bw 4 dmzlink-bw  R3(config-router)#nei 180.40.7.34 dmzlink-bw 2 send-community bo2 send-community bo 3 send-community bo4 send-community bo R3(config-router)#^Z R3#sh ip *Mar 2 01:49:03.867: %SYS-5-CONFIG_I: Configured from console by console R3#sh ip       clea ip bgp * in R3#clea ip bgp * in  out R3#sh ip bgp 20.0.0.0 BGP routing table entry for 20.0.0.0/8, version 27 Paths: (2 available, best #2, table Default-IP-Routing-Table) Advertised to non peer-group peers: 17.80.1.2 180.40.7.34 208.28.1.1 (65002) 180.40.7.34 from 180.40.7.34 (2.2.2.2) Origin IGP, metric 0, localpref 100, valid, confed-external DMZ-Link Bw 16 kbytes (65002) 180.40.7.2 from 180.40.7.2 (2.2.2.2) Origin IGP, metric 0, localpref 100, valid, confed-external, best DMZ-Link Bw 96 kbytes R3# R3# R3# R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#int s 1/2 R3(config-if)#band 128 R3(config-if)#band 128int s 1/2 3 R3(config-if)#int s 1/3band 128      768 R3(config-if)#^Z R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int s 1/2 R2(config-if)#band 128 R2(config-if)#int s 1/3 R2(config-if)#band 768 R2(config-if)#^Z R2#s c *Mar 2 01:50:28.222: %SYS-5-CONFIG_I: Configured from console by console R2#clea ipb  bgp * in R2#clea ip bgp * in  out R2#clea ip bgp * out sh ip bgp 40.0.0.0 BGP routing table entry for 40.0.0.0/8, version 46 Paths: (2 available, best #2, table Default-IP-Routing-Table) Flag: 0x800 Advertised to non peer-group peers: 180.40.7.33 180.40.7.66 180.40.7.130 208.28.1.130 (65003 65004) 180.40.7.33 from 180.40.7.33 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, confed-external DMZ-Link Bw 96 kbytes (65003 65004) 180.40.7.3 from 180.40.7.3 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, confed-external, best DMZ-Link Bw 16 kbytes R2#sh run int            config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int s 1/2 R2(config-if)#int s 1/2band 768  R2(config-if)#band 768int s 1/2 2 R2(config-if)#int s 1/2band 768 int s 1/2band 768 int s 1/3band 128  R2(config-if)#^Z R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] * R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#int s 1/2 R3(config-if)#int s 1/2band 768  R3(config-if)#band 768int s 1/2 3 R3(config-if)#int s 1/3band 768 int s 1/2band 768 int s 1/3band 128  R3(config-if)#^Z R3# *Mar 2 01:52:21.640: %SYS-5-CONFIG_I: Configured from console by console R3# RACK14AS>2 [Resuming connection 2 to r2 ... ] *Ma R2#sh run | b 12 /2 interface Serial1/2 bandwidth 128 ip address 180.40.7.2 255.255.255.224 clock rate 64000 ! interface Serial1/3 bandwidth 768 ip address 180.40.7.34 255.255.255.224 clock rate 128000 ! interface Serial1/4 no ip address shutdown ! interface Serial1/5 no ip address shutdown ! interface Serial1/6 no ip address shutdown ! interface Serial1/7 --More--   no ip address shutdown ! router bgp 65002 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65003 65004 bgp bestpath med missing-as-worst bgp dmzlink-bw network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 network 180.40.7.32 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 65003 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 send-community both neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.3 dmzlink-bw neighbor 180.40.7.33 remote-as 65003 neighbor 180.40.7.33 send-community both neighbor 180.40.7.33 route-map ToR3 in neighbor 180.40.7.33 dmzlink-bw --More--   neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list Prob9 out neighbor 180.40.7.66 route-map Prob3100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server no ip http secure-server ! ip access-list extended Prob9 deny ip 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 permit ip any any ! ! ip prefix-list Prob3100 seq 5 permit 17.57.100.0/24 ! ip prefix-list Prob3101 seq 5 permit 17.57.101.0/24 --More--   R2# RACK14AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b 1/2 interface Serial1/2 bandwidth 768 ip address 180.40.7.3 255.255.255.224 ! interface Serial1/3 bandwidth 128 ip address 180.40.7.33 255.255.255.224 ! interface Serial1/4 no ip address shutdown ! interface Serial1/5 no ip address shutdown ! interface Serial1/6 no ip address shutdown ! interface Serial1/7 no ip address shutdown --More--  ! router bgp 65003 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65002 65004 bgp bestpath med missing-as-worst bgp dmzlink-bw network 30.0.0.0 neighbor 17.80.1.2 remote-as 65004 neighbor 180.40.7.2 remote-as 65002 neighbor 180.40.7.2 send-community both neighbor 180.40.7.2 dmzlink-bw neighbor 180.40.7.34 remote-as 65002 neighbor 180.40.7.34 send-community both neighbor 180.40.7.34 dmzlink-bw neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! --More--   R3# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#sh access-list Standard IP access list 1 10 deny 17.57.103.0 (24 matches) 20 permit any (422 matches) Standard IP access list Prob6 10 permit 17.57.103.0 (2 matches) R1#sh access-list           ip pre ip prefix-list To102: 1 entries seq 5 permit 17.57.102.0/24 R1#confi g t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# R1(config)#ip pre R1(config)#ip prefix-list ProbB den 17.57.102.0/24 R1(config)#ip prefix-list ProbB den 17.57.102.0/2424                  per any ^ % Invalid input detected at '^' marker. R1(config)#ip prefix-list ProbB per any   0.0.0.0/0 le 32 R1(config)#route-map ProbB R1(config-route-map)#match ip add pre ProbB R1(config-route-map)#rotuer bgp        uter bgp 100 BGP is already running; AS is 300 R1(config)#router bgp 100   300 R1(config-router)#agg R1(config-router)#aggregate-address 17.57.0.0 255.255.. 0.0 ? advertise-map Set condition to advertise attribute as-set Generate AS set path information attribute-map Set attributes of aggregate nlri Nlri aggregate applies to route-map Set parameters of aggregate summary-only Filter more specific routes from updates suppress-map Conditionally filter more specific routes from updates R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 sup R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 suppress-map ? WORD Route map for suppression R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 suppress-map ProbB ? advertise-map Set condition to advertise attribute as-set Generate AS set path information attribute-map Set attributes of aggregate route-map Set parameters of aggregate summary-only Filter more specific routes from updates suppress-map Conditionally filter more specific routes from updates R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 suppress-map ProbB R1(config-router)#^Z R1# *Mar 2 01:57:10.838: %SYS-5-CONFIG_I: Configured from console by console R1#sh ip bgp BGP table version is 102, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i *> 17.57.0.0/16 0.0.0.0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i s>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i s>i17.57.103.0/24 17.57.100.2 0 100 0 i * 17.80.0.0/23 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i *> 208.28.1.2 0 100 i *> 17.80.1.0/24 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 20.0.0.0 208.28.1.2 0 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 208.28.1.65 0 200 100 i * 30.0.0.0 180.40.7.65 0 100 i --More--   R1# RACK14AS>5 [Resuming connection 5 to r5 ... ] 1d0 S5#sh ip bgp BGP table version is 113, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.0.0/16 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 17.57.100.0/24 208.28.1.129 0 100 300 i *> 17.57.101.0/24 208.28.1.129 0 100 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 300 300 300 300 i * 17.80.0.0/23 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 17.80.1.0/24 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i --More--   S5#cl ip     e ip bgp * in S5#cle ip bgp * insh ip bgp  BGP table version is 113, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.0.0/16 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 17.57.100.0/24 208.28.1.129 0 100 300 i *> 17.57.101.0/24 208.28.1.129 0 100 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 300 300 300 300 i * 17.80.0.0/23 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 17.80.1.0/24 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i --More--   S5# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#cl  e ip bgp * R1# *Mar 2 01:58:09.959: %BGP-5-ADJCHANGE: neighbor 17.57.100.2 Down User reset *Mar 2 01:58:09.959: %BGP-5-ADJCHANGE: neighbor 180.40.7.65 Down User reset *Mar 2 01:58:09.963: %BGP-5-ADJCHANGE: neighbor 180.40.7.129 Down User reset *Mar 2 01:58:09.963: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Down User reset *Mar 2 01:58:09.963: %BGP-5-ADJCHANGE: neighbor 208.28.1.65 Down User reset R1# *Mar 2 01:58:36.819: %BGP-5-ADJCHANGE: neighbor 17.57.100.2 Up R1#sh     *Mar 2 01:58:49.764: %BGP-5-ADJCHANGE: neighbor 208.28.1.65 Up *Mar 2 01:58:49.840: %BGP-5-ADJCHANGE: neighbor 180.40.7.129 Up R1# *Mar 2 01:58:51.239: %BGP-5-ADJCHANGE: neighbor 180.40.7.65 Up R1#sh ip *Mar 2 01:58:56.187: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Up R1#sh ip        RACK14AS>5 [Resuming connection 5 to r5 ... ] 1 S5#sh ip bgp BGP table version is 129, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i *> 17.57.0.0/16 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i * 17.57.102.0/24 208.28.1.66 0 300 300 300 300 300 300 300 300 i *> 208.28.1.129 0 100 300 i * 17.80.0.0/23 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 17.80.1.0/24 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 40.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i --More--   S5#q sh ip bgp BGP table version is 129, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i *> 17.57.0.0/16 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i * 17.57.102.0/24 208.28.1.66 0 300 300 300 300 300 300 300 300 i *> 208.28.1.129 0 100 300 i * 17.80.0.0/23 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 17.80.1.0/24 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 40.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i --More--   Network Next Hop Metric LocPrf Weight Path *> 50.0.0.0 0.0.0.0 0 32768 i *> 60.0.0.0 208.28.1.66 0 300 i * 208.28.1.129 0 100 300 i * 65.23.32.0/20 208.28.1.66 0 300 100 1000 i *> 208.28.1.129 0 100 1000 i * 129.23.0.0 208.28.1.66 0 300 100 1000 i *> 208.28.1.129 0 100 1000 i * 180.40.7.0/27 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 180.40.7.32/27 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i *> 180.40.7.64/27 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i *> 180.40.7.128/27 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i * 203.212.1.0 208.28.1.66 0 300 100 1000 i *> 208.28.1.129 0 100 1000 i *> 208.28.1.0/29 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i r> 208.28.1.64/28 208.28.1.66 0 0 300 i r 208.28.1.129 0 100 300 i *> 208.28.1.128/27 0.0.0.0 0 32768 i S5# S5# S5# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#sh run | b bgp router bgp 300 no synchronization bgp router-id 1.1.1.1 bgp log-neighbor-changes network 10.0.0.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 aggregate-address 17.57.0.0 255.255.0.0 suppress-map ProbB neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 1 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 distribute-list 1 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 distribute-list 1 out neighbor 208.28.1.2 route-map Prob5 out neighbor 208.28.1.65 remote-as 200 neighbor 208.28.1.65 send-community neighbor 208.28.1.65 route-map ToS5 out no auto-summary ! --More--  no ip http server ip classless ! ! ! ip prefix-list ProbB seq 5 deny 17.57.102.0/24 ip prefix-list ProbB seq 10 permit 0.0.0.0/0 le 32 ! ip prefix-list To102 seq 5 permit 17.57.102.0/24 ! ip access-list standard Prob6 permit 17.57.103.0 access-list 1 deny 17.57.103.0 access-list 1 permit any ! route-map Prob5 permit 10 match ip address prefix-list To102 set metric 5555 ! route-map Prob5 permit 20 ! route-map ToS5 permit 10 match ip address prefix-list To102 --More--   set as-path prepend 300 300 300 300 300 300 300 ! route-map ToS5 permit 20 match ip address Prob6 set community no-export additive ! route-map ToS5 permit 30 ! route-map ProbB permit 10 match ip address prefix-list ProbB ! ! ! ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 --More--   R1# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#confi t Enter configuration commands, one per line. End with CNTL/Z. S5(config)# S5(config)#ip pre S5(config)#ip prefix-list ? WORD Name of a prefix list sequence-number Include/exclude sequence numbers in NVGEN S5(config)#ip prefix-list FromR1 per 207 8.28.1.66/32 S5(config)#ip pre S5(config)#ip prefix-list Aggg  per 17.57.0.0/16 S5(config)#ip pre S5(config)#ip prefix-list NewRoutes 17.57.104.0/24 ^ % Invalid input detected at '^' marker. S5(config)#ip prefix-list NewRoutes 17.57.104.0/24p17.57.104.0/24e17.57.104.0/24r17.57.104.0/24 17.57.104.0/24 S5(config)#ip prefix-list NewRoutes per 17.57.104.0/244.0/24 5.0/24 S5(config)#ip prefix-list NewRoutes per 17.57.105.0/24.0/24 6.0/24 S5(config)#route-ma S5(config)#route-map ProbC1 S5(config-route-map)#match ip add pre Agg S5(config-route-map)#match ip    ? as-path Match BGP AS path list community Match BGP community list extcommunity Match BGP/VPN extended community list interface Match first hop interface of route ip IP specific information length Packet length metric Match metric of route mpls-label Match routes which have MPLS labels nlri BGP NLRI type policy-list Match IP policy list route-type Match route-type of route tag Match tag of route S5(config-route-map)#match ip ? address Match address of route or match packet next-hop Match next-hop address of route route-source Match advertising source address of route S5(config-route-map)#match ip rou S5(config-route-map)#match ip route-source ? <1-99> IP access-list number <1300-1999> IP access-list number (expanded range) WORD IP standard access-list name prefix-list Match entries of prefix-lists S5(config-route-map)#match ip route-source pre S5(config-route-map)#match ip route-source prefix-list FromR1 S5(config-route-map)#exit S5(config)#exitmatch ip route-source prefix-list FromR1add pre Agg route-map ProbC1   2 S5(config-route-map)#set ip add pre S5(config-route-map)#set ip add prefix-list NewRoutes S5(config-route-map)#roue ter bgp 1 200 S5(config-router)#in S5(config-router)#in? % Unrecognized command S5(config-router)#in  bgp ? always-compare-med Allow comparing MED from different neighbors bestpath Change the default bestpath selection client-to-client Configure client to client route reflection cluster-id Configure Route-Reflector Cluster-id (peers may reset) confederation AS confederation parameters dampening Enable route-flap dampening default Configure BGP defaults deterministic-med Pick the best-MED path among paths advertised from the neighboring AS dmzlink-bw Use DMZ Link Bandwidth as weight for BGP multipaths enforce-first-as Enforce the first AS for EBGP routes(default) fast-external-fallover Immediately reset session if a link to a directly connected external peer goes down graceful-restart Graceful restart capability parameters inject-map Routemap which specifies prefixes to inject log-neighbor-changes Log neighbor up/down and reset reason maxas-limit Allow AS-PATH attribute from any neighbor imposing a limit on number of ASes redistribute-internal Allow redistribution of iBGP into IGPs (dangerous) regexp Select regular expression engine router-id Override configured router identifier (peers will --More--   S5(config-router)#bgp in S5(config-router)#bgp inject-map ? WORD route-map name S5(config-router)#bgp inject-map ProbC2 ? exist-map Routemap which specifies exist condition S5(config-router)#bgp inject-map ProbC2 ex S5(config-router)#bgp inject-map ProbC2 exist-map ProbC2 1 S5(config-router)#^Z S5#sh ip 1d02h: %SYS-5-CONFIG_I: Configured from console by console S5#sh ip bgp in S5#sh ip bgp inj S5#sh ip bgp injected-paths S5#clea ipbg     bgp * in S5#clea ip bgp * insh ip bgp injected-paths S5#sh ip bgp injected-paths   clea ip bgp * in   out S5#clea ip bgp * outsh ip bgp injected-paths S5#sh rn|  un | b bgp macro name testbgp do ping 17.57.100.1 do ping 17.57.100.2 do ping 17.57.101.1 do ping 17.57.102.1 do ping 17.57.103.1 do ping 208.28.1.65 do ping 208.28.1.66 do ping 208.28.1.129 do ping 208.28.1.130 do ping 180.40.7.65 do ping 180.40.7.66 do ping 180.40.7.129 do ping 180.40.7.130 do ping 208.28.1.1 do ping 208.28.1.2 do ping 180.40.7.2 do ping 180.40.7.3 do ping 17.80.1.1 do ping 17.80.1.2 do ping 10.1.1.1 do ping 20.1.1.1 do ping 30.1.1.1 --More--  do ping 40.1.1.1 do ping 50.1.1.1 do ping 60.1.1.1 do ping 180.40.7.33 do ping 180.40.7.34 @ ! macro global description testbgp no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface Loopback99 ip address 50.1.1.1 255.0.0.0 ! interface FastEthernet0/1 switchport access vlan 10 switchport mode dynamic desirable ! interface FastEthernet0/2 --More--   switchport mode dynamic desirable ! interface FastEthernet0/3 switchport access vlan 30 switchport mode dynamic desirable ! interface FastEthernet0/4 switchport mode dynamic desirable ! interface FastEthernet0/5 switchport mode dynamic desirable ! interface FastEthernet0/6 switchport mode dynamic desirable ! interface FastEthernet0/7 switchport mode dynamic desirable ! interface FastEthernet0/8 switchport mode dynamic desirable ! interface FastEthernet0/9 switchport mode dynamic desirable --More--  ! interface FastEthernet0/10 switchport mode dynamic desirable ! interface FastEthernet0/11 switchport mode dynamic desirable ! interface FastEthernet0/12 switchport mode dynamic desirable ! interface FastEthernet0/13 switchport mode dynamic desirable ! interface FastEthernet0/14 switchport mode dynamic desirable ! interface FastEthernet0/15 switchport mode dynamic desirable ! interface FastEthernet0/16 switchport mode dynamic desirable ! interface FastEthernet0/17 --More--   switchport mode dynamic desirable ! interface FastEthernet0/18 switchport mode dynamic desirable ! interface FastEthernet0/19 switchport mode dynamic desirable ! interface FastEthernet0/20 switchport mode dynamic desirable ! interface FastEthernet0/21 switchport mode dynamic desirable ! interface FastEthernet0/22 switchport mode dynamic desirable ! interface FastEthernet0/23 switchport mode dynamic desirable ! interface FastEthernet0/24 switchport mode dynamic desirable ! --More--  interface GigabitEthernet0/1 switchport mode dynamic desirable ! interface GigabitEthernet0/2 switchport mode dynamic desirable ! interface Vlan1 no ip address shutdown ! interface Vlan10 ip address 208.28.1.65 255.255.255.240 ! interface Vlan20 ip address 208.28.1.130 255.255.255.224 ! router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map ProbC2 exist-map ProbC1 network 50.0.0.0 network 208.28.1.128 mask 255.255.255.224 --More--   neighbor 208.28.1.66 remote-as 300 --More--   neighbor 208.28.1.129 remote-as 100 --More--   no auto-summary --More--  ! --More--  ip classless --More--  ip http server --More--  ip http secure-server --More--  ! --More--  ! --More--  ! --More--  ip prefix-list Agg seq 5 permit 17.57.0.0/16 --More--  ! --More--  ip prefix-list FromR1 seq 5 permit 208.28.1.66/32 --More--  ! --More--  ip prefix-list NewRoutes seq 5 permit 17.57.104.0/24 --More--  ip prefix-list NewRoutes seq 10 permit 17.57.105.0/24 --More--  ip prefix-list NewRoutes seq 15 permit 17.57.106.0/24 --More--  route-map ProbC1 permit 10 --More--   match ip address prefix-list Agg --More--   match ip route-source prefix-list FromR1 --More--  ! --More--  route-map ProbC2 permit 10 --More--   set ip address prefix-list NewRoutes --More--  ! --More--  ! --More--  control-plane --More--   S5#sh run | b bgpip bgp injected-paths BGP table version is 132, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.57.104.0/24 208.28.1.66 0 ? *> 17.57.105.0/24 208.28.1.66 0 ? *> 17.57.106.0/24 208.28.1.66 0 ? S5# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp BGP table version is 51, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.0.0/16 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 5555 100 0 (65003) 300 i *> 17.57.104.0/24 17.80.1.1 4294967295 99 0 (65003 65002) 200 ? *> 17.57.105.0/24 17.80.1.1 4294967295 99 0 (65003 65002) 200 ? *> 17.57.106.0/24 17.80.1.1 4294967295 99 0 (65003 65002) 200 ? *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 20.0.0.0 17.80.1.1 0 100 0 (65003 65002) i *> 30.0.0.0 17.80.1.1 0 100 0 (65003) i *> 40.0.0.0 0.0.0.0 0 32768 i *> 50.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 200 i *> 60.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 i *> 65.23.32.0/20 192.10.32.254 0 0 1000 i *> 129.23.0.0 192.10.32.254 0 0 1000 i *> 180.40.7.0/27 17.80.1.1 0 100 0 (65003 65002) i *> 180.40.7.32/27 17.80.1.1 0 100 0 (65003 65002) i --More--   R4# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#sh run | b bgp macro name testbgp do ping 17.57.100.1 do ping 17.57.100.2 do ping 17.57.101.1 do ping 17.57.102.1 do ping 17.57.103.1 do ping 208.28.1.65 do ping 208.28.1.66 do ping 208.28.1.129 do ping 208.28.1.130 do ping 180.40.7.65 do ping 180.40.7.66 do ping 180.40.7.129 do ping 180.40.7.130 do ping 208.28.1.1 do ping 208.28.1.2 do ping 180.40.7.2 do ping 180.40.7.3 do ping 17.80.1.1 do ping 17.80.1.2 do ping 10.1.1.1 do ping 20.1.1.1 do ping 30.1.1.1 --More--  do ping 40.1.1.1 do ping 50.1.1.1 do ping 60.1.1.1 do ping 180.40.7.33 do ping 180.40.7.34 @ ! macro global description testbgp no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface Loopback99 ip address 50.1.1.1 255.0.0.0 ! interface FastEthernet0/1 switchport access vlan 10 switchport mode dynamic desirable ! interface FastEthernet0/2 --More--   S5#sh run | b bgprbgpobgpubgptbgpebgprbgp bgp router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map ProbC2 exist-map ProbC1 network 50.0.0.0 network 208.28.1.128 mask 255.255.255.224 neighbor 208.28.1.66 remote-as 300 neighbor 208.28.1.129 remote-as 100 no auto-summary ! ip classless ip http server ip http secure-server ! ! ! ip prefix-list Agg seq 5 permit 17.57.0.0/16 ! ip prefix-list FromR1 seq 5 permit 208.28.1.66/32 ! ip prefix-list NewRoutes seq 5 permit 17.57.104.0/24 ip prefix-list NewRoutes seq 10 permit 17.57.105.0/24 --More--   S5# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgp BGP table version is 37, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i *> 17.57.0.0/16 0.0.0.0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i s>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i s>i17.57.103.0/24 17.57.100.2 0 100 0 i s 17.57.104.0/24 208.28.1.2 0 100 200 ? s 180.40.7.65 0 100 200 ? s> 208.28.1.65 0 200 ? s 180.40.7.129 0 100 200 ? s 17.57.105.0/24 208.28.1.2 0 100 200 ? s 180.40.7.65 0 100 200 ? s> 208.28.1.65 0 200 ? s 180.40.7.129 0 100 200 ? s 17.57.106.0/24 208.28.1.2 0 100 200 ? s 180.40.7.65 0 100 200 ? s> 208.28.1.65 0 200 ? --More--   R1# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#config t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#rotuer      ute-  map ProbC S5(config-route-map)#match ip add NewRoutes S5(config-route-map)#match ip add NewRoutesnmatch ip add NewRoutesomatch ip add NewRoutes match ip add NewRoutes S5(config-route-map)#no match ip add NewRoutesmatch ip add NewRoutes pNewRoutesrNewRouteseNewRoutes NewRoutes S5(config-route-map)#set commun lo S5(config-route-map)#set commun local-AS ? <1-4294967295> community number aa:nn community number in aa:nn format additive Add to the existing community internet Internet (well-known community) local-AS Do not send outside local AS (well-known community) no-advertise Do not advertise to any peer (well-known community) no-export Do not export to next AS (well-known community) S5(config-route-map)#set commun local-AS S5(config-route-map)#do sh ip bgp BGP table version is 132, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i *> 17.57.0.0/16 208.28.1.66 0 0 300 i * 208.28.1.129 0 100 300 i * 17.57.102.0/24 208.28.1.66 0 300 300 300 300 300 300 300 300 i *> 208.28.1.129 0 100 300 i *> 17.57.104.0/24 208.28.1.66 0 ? *> 17.57.105.0/24 208.28.1.66 0 ? *> 17.57.106.0/24 208.28.1.66 0 ? * 17.80.0.0/23 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 17.80.1.0/24 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i --More--   S5(config-route-map)#sh ip route ^ % Invalid input detected at '^' marker. S5(config-route-map)#dop    sh ip route Codes: 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, E - EGP 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 Gateway of last resort is not set 17.0.0.0/8 is variably subnetted, 7 subnets, 3 masks B 17.57.0.0/16 [20/0] via 208.28.1.66, 00:11:17 B 17.80.1.0/24 [20/0] via 208.28.1.129, 00:40:28 B 17.57.104.0/24 [20/0] via 208.28.1.66, 00:05:16 B 17.80.0.0/23 [20/0] via 208.28.1.129, 00:40:28 B 17.57.105.0/24 [20/0] via 208.28.1.66, 00:05:16 B 17.57.106.0/24 [20/0] via 208.28.1.66, 00:05:16 B 17.57.102.0/24 [20/0] via 208.28.1.129, 00:40:28 C 50.0.0.0/8 is directly connected, Loopback99 65.0.0.0/20 is subnetted, 1 subnets B 65.23.32.0 [20/0] via 208.28.1.129, 00:40:28 B 20.0.0.0/8 [20/0] via 208.28.1.129, 00:40:02 B 203.212.1.0/24 [20/0] via 208.28.1.129, 00:40:28 --More--   S5(config-route-map)# S5(config-route-map)#do sh ip routesh ip route do sh ip bgp set commun local-AS match ip add pre NewRoutesno match ip add NewRoutes match ip add NewRoutes route-map ProbC  20 S5(config-route-map)#router      route-map Probc C3 S5(config-route-map)#route-map ProbC3nroute-map ProbC3oroute-map ProbC3 route-map ProbC3 S5(config)#no route-map ProbC3route-map ProbC3  ? <0-65535> Sequence to insert to/delete from existing route-map entry deny Route map denies set operations permit Route map permits set operations S5(config)#route-map ProbC3 den S5(config-route-map)#route-map ProbC3 den no route-map ProbC3 route-map ProbC3  20do sh ip route sh ip route do sh ip bgp set commun local-AS match ip add pre NewRoutes S5(config-route-map)#~match ip add pre NewRoutes~route-map ProbC3 den     20 S5(config-route-map)#routr bgp       er bgp 200 S5(config-router)#nei     do sh run | b bg    router router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map ProbC2 exist-map ProbC1 network 50.0.0.0 network 208.28.1.128 mask 255.255.255.224 neighbor 208.28.1.66 remote-as 300 neighbor 208.28.1.129 remote-as 100 no auto-summary ! ip classless ip http server ip http secure-server ! ! ! ip prefix-list Agg seq 5 permit 17.57.0.0/16 ! ip prefix-list FromR1 seq 5 permit 208.28.1.66/32 ! ip prefix-list NewRoutes seq 5 permit 17.57.104.0/24 ip prefix-list NewRoutes seq 10 permit 17.57.105.0/24 --More--   S5(config-router)# neighbor 208.28.1.66 route-ma S5(config-router)# neighbor 208.28.1.66 route-map Probc C3 out S5(config-router)# neighbor 208.28.1.129 route-map ProbC % Incomplete command. S5(config-router)# neighbor 208.28.1.129 route-map ProbC out S5(config-router)# neighbor 208.28.1.129 route-map ProbC out                   send % Ambiguous command: " neighbor 208.28.1.129 send" S5(config-router)# neighbor 208.28.1.129 send-x  c -com S5(config-router)# neighbor 208.28.1.129 send-community bo S5(config-router)# neighbor 208.28.1.129 send-community both S5(config-router)#^Z S5#clea ip 1d02h: %SYS-5-CONFIG_I: Configured from console by console S5#clea ip bgp * in S5#clea ip bgp * in\   out S5#sh ip bgp nei 208.28./1  1.129 add  BGP table version is 132, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 208.28.1.66 0 0 300 i *> 17.57.0.0/16 208.28.1.66 0 0 300 i *> 17.57.104.0/24 208.28.1.66 0 ? *> 17.57.105.0/24 208.28.1.66 0 ? *> 17.57.106.0/24 208.28.1.66 0 ? *> 50.0.0.0 0.0.0.0 0 32768 i *> 60.0.0.0 208.28.1.66 0 300 i *> 180.40.7.64/27 208.28.1.66 0 0 300 i *> 180.40.7.128/27 208.28.1.66 0 0 300 i *> 208.28.1.0/29 208.28.1.66 0 0 300 i r> 208.28.1.64/28 208.28.1.66 0 0 300 i *> 208.28.1.128/27 0.0.0.0 0 32768 i S5#sh ip bgp nei 208.28.1.129 ad      65    66 ad BGP table version is 132, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 17.57.102.0/24 208.28.1.129 0 100 300 i *> 17.80.0.0/23 208.28.1.129 0 100 i *> 17.80.1.0/24 208.28.1.129 0 100 i *> 20.0.0.0 208.28.1.129 0 0 100 i *> 30.0.0.0 208.28.1.129 0 100 i *> 40.0.0.0 208.28.1.129 0 100 i *> 50.0.0.0 0.0.0.0 0 32768 i *> 65.23.32.0/20 208.28.1.129 0 100 1000 i *> 129.23.0.0 208.28.1.129 0 100 1000 i *> 180.40.7.0/27 208.28.1.129 0 0 100 i *> 180.40.7.32/27 208.28.1.129 0 0 100 i *> 203.212.1.0 208.28.1.129 0 100 1000 i *> 208.28.1.128/27 0.0.0.0 0 32768 i S5# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp BGP table version is 54, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.0.0/16 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 5555 100 0 (65003) 300 i *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 20.0.0.0 17.80.1.1 0 100 0 (65003 65002) i *> 30.0.0.0 17.80.1.1 0 100 0 (65003) i *> 40.0.0.0 0.0.0.0 0 32768 i *> 50.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 200 i *> 60.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 i *> 65.23.32.0/20 192.10.32.254 0 0 1000 i *> 129.23.0.0 192.10.32.254 0 0 1000 i *> 180.40.7.0/27 17.80.1.1 0 100 0 (65003 65002) i *> 180.40.7.32/27 17.80.1.1 0 100 0 (65003 65002) i *> 180.40.7.64/27 17.80.1.1 0 100 0 (65003) 300 i *> 180.40.7.128/27 17.80.1.1 0 100 0 (65003) 300 i *> 203.212.1.0 192.10.32.254 0 0 1000 i --More--   Network Next Hop Metric LocPrf Weight Path *> 208.28.1.0/29 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.64/28 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.128/27 17.80.1.1 4294967295 100 0 (65003) 300 200 i R4#q  RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#config t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#do sh run | b route-map neighbor 208.28.1.66 route-map ProbC3 out neighbor 208.28.1.129 remote-as 100 neighbor 208.28.1.129 send-community both neighbor 208.28.1.129 route-map ProbC out no auto-summary ! ip classless ip http server ip http secure-server ! ! ! ip prefix-list Agg seq 5 permit 17.57.0.0/16 ! ip prefix-list FromR1 seq 5 permit 208.28.1.66/32 ! ip prefix-list NewRoutes seq 5 permit 17.57.104.0/24 ip prefix-list NewRoutes seq 10 permit 17.57.105.0/24 ip prefix-list NewRoutes seq 15 permit 17.57.106.0/24 route-map ProbC1 permit 10 match ip address prefix-list Agg match ip route-source prefix-list FromR1 ! --More--  route-map ProbC2 permit 10 set ip address prefix-list NewRoutes ! route-map ProbC3 deny 10 match ip address prefix-list NewRoutes ! route-map ProbC3 permit 20 ! route-map ProbC permit 10 match ip address prefix-list NewRoutes set community local-AS ! route-map ProbC permit 20 ! ! control-plane ! ! line con 0 exec-timeout 0 0 logging synchronous line vty 0 4 login --More--   S5(config)#route-map ProbC permit 10 S5(config-route-map)#no set community local-AS S5(config-route-map)#set com S5(config-route-map)#set commu S5(config-route-map)#set community no- S5(config-route-map)#set community no-c e S5(config-route-map)#set community no-export S5(config-route-map)#^Z S5# 1d02h: %SYS-5-CONFIG_I: Configured from console by console S5#clea ip bgp * out S5# RACK14AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp BGP table version is 57, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.0.0/16 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 5555 100 0 (65003) 300 i *> 17.57.104.0/24 17.80.1.1 4294967295 99 0 (65003 65002) 200 ? *> 17.57.105.0/24 17.80.1.1 4294967295 99 0 (65003 65002) 200 ? *> 17.57.106.0/24 17.80.1.1 4294967295 99 0 (65003 65002) 200 ? *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 20.0.0.0 17.80.1.1 0 100 0 (65003 65002) i *> 30.0.0.0 17.80.1.1 0 100 0 (65003) i *> 40.0.0.0 0.0.0.0 0 32768 i *> 50.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 200 i *> 60.0.0.0 17.80.1.1 4294967295 100 0 (65003) 300 i *> 65.23.32.0/20 192.10.32.254 0 0 1000 i *> 129.23.0.0 192.10.32.254 0 0 1000 i *> 180.40.7.0/27 17.80.1.1 0 100 0 (65003 65002) i *> 180.40.7.32/27 17.80.1.1 0 100 0 (65003 65002) i --More--   R4# RACK14AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgp BGP table version is 40, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 0.0.0.0 0 32768 i *> 17.57.0.0/16 0.0.0.0 32768 i r>i17.57.100.0/24 17.57.100.2 0 100 0 i s>i17.57.101.0/24 17.57.100.2 0 100 0 i *>i17.57.102.0/24 17.57.100.2 0 100 0 i s>i17.57.103.0/24 17.57.100.2 0 100 0 i * 17.80.0.0/23 208.28.1.2 0 100 i *> 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i *> 17.80.1.0/24 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 20.0.0.0 208.28.1.2 0 100 i *> 180.40.7.65 0 0 100 i * 180.40.7.129 0 0 100 i * 208.28.1.65 0 200 100 i * 30.0.0.0 208.28.1.2 0 0 100 i --More--   R1# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip route Codes: 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, E - EGP 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 Gateway of last resort is not set 17.0.0.0/8 is variably subnetted, 7 subnets, 3 masks B 17.57.0.0/16 [20/0] via 208.28.1.66, 00:15:51 B 17.80.1.0/24 [20/0] via 208.28.1.129, 00:45:02 B 17.57.104.0/24 [20/0] via 208.28.1.66, 00:09:50 B 17.80.0.0/23 [20/0] via 208.28.1.129, 00:45:02 B 17.57.105.0/24 [20/0] via 208.28.1.66, 00:09:50 B 17.57.106.0/24 [20/0] via 208.28.1.66, 00:09:50 B 17.57.102.0/24 [20/0] via 208.28.1.129, 00:45:02 C 50.0.0.0/8 is directly connected, Loopback99 65.0.0.0/20 is subnetted, 1 subnets B 65.23.32.0 [20/0] via 208.28.1.129, 00:45:02 B 20.0.0.0/8 [20/0] via 208.28.1.129, 00:44:36 B 203.212.1.0/24 [20/0] via 208.28.1.129, 00:45:02 --More--   S5#sh run | b bgp macro name testbgp do ping 17.57.100.1 do ping 17.57.100.2 do ping 17.57.101.1 do ping 17.57.102.1 do ping 17.57.103.1 do ping 208.28.1.65 do ping 208.28.1.66 do ping 208.28.1.129 do ping 208.28.1.130 do ping 180.40.7.65 do ping 180.40.7.66 do ping 180.40.7.129 do ping 180.40.7.130 do ping 208.28.1.1 do ping 208.28.1.2 do ping 180.40.7.2 do ping 180.40.7.3 do ping 17.80.1.1 do ping 17.80.1.2 do ping 10.1.1.1 do ping 20.1.1.1 do ping 30.1.1.1 --More--   S5#[Ash run | b bgprbgpobgpubgptbgpebgp bgpbgp rbgp bgp router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map ProbC2 exist-map ProbC1 network 50.0.0.0 network 208.28.1.128 mask 255.255.255.224 neighbor 208.28.1.66 remote-as 300 neighbor 208.28.1.66 route-map ProbC3 out neighbor 208.28.1.129 remote-as 100 neighbor 208.28.1.129 send-community both neighbor 208.28.1.129 route-map ProbC out no auto-summary ! ip classless ip http server ip http secure-server ! ! ! ip prefix-list Agg seq 5 permit 17.57.0.0/16 ! ip prefix-list FromR1 seq 5 permit 208.28.1.66/32 --More--  ! ip prefix-list NewRoutes seq 5 permit 17.57.104.0/24 ip prefix-list NewRoutes seq 10 permit 17.57.105.0/24 ip prefix-list NewRoutes seq 15 permit 17.57.106.0/24 route-map ProbC1 permit 10 match ip address prefix-list Agg match ip route-source prefix-list FromR1 ! route-map ProbC2 permit 10 set ip address prefix-list NewRoutes ! route-map ProbC3 deny 10 match ip address prefix-list NewRoutes ! route-map ProbC3 permit 20 ! route-map ProbC permit 10 match ip address prefix-list NewRoutes set community no-export ! route-map ProbC permit 20 ! ! --More--   S5#config t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#ip pre S5(config)#ip prefix-list ProbD den 17.80.1.0/24 S5(config)#ip prefix-list ProbD den 17.80.1.0/24                  per 0.0.0.0/0 le 32 S5(config)#router bgp 3 200 S5(config-router)#nei 208/.2   .28.1.129 ? activate Enable the Address Family for this Neighbor advertise-map specify route-map for conditional advertisement advertisement-interval Minimum interval between sending BGP routing updates allowas-in Accept as-path with my AS present in it capability Advertise capability to the peer default-originate Originate default route to this neighbor description Neighbor specific description disable-connected-check one-hop away EBGP peer using loopback address distribute-list Filter updates to/from this neighbor dmzlink-bw Propagate the DMZ link bandwidth ebgp-multihop Allow EBGP neighbors not on directly connected networks filter-list Establish BGP filters inherit Inherit a template local-as Specify a local-as number maximum-prefix Maximum number of prefixes accepted from this peer next-hop-self Disable the next hop calculation for this neighbor next-hop-unchanged Propagate the iBGP paths's next hop unchanged for this neighbor password Set a password peer-group Member of the peer-group prefix-list Filter updates to/from this neighbor --More--   S5(config-router)#nei 208.28.1.129 cp S5(config-router)#nei 208.28.1.129 cp ap S5(config-router)#nei 208.28.1.129 capability ? orf Advertise ORF capability to the peer S5(config-router)#nei 208.28.1.129 capability orf S5(config-router)#nei 208.28.1.129 capability orf ? prefix-list Advertise prefixlist ORF capability to this neighbor S5(config-router)#nei 208.28.1.129 capability orf pr S5(config-router)#nei 208.28.1.129 capability orf prefix-list ? both Capability to SEND and RECEIVE the ORF to/from this neighbor receive Capability to RECEIVE the ORF from this neighbor send Capability to SEND the ORF to this neighbor S5(config-router)#nei 208.28.1.129 capability orf prefix-list sn en S5(config-router)#nei 208.28.1.129 capability orf prefix-list send ? S5(config-router)#nei 208.28.1.129 capability orf prefix-list send S5(config-router)# 1d02h: %BGP-5-ADJCHANGE: neighbor 208.28.1.129 Down Capability changed S5(config-router)#nei 208.28.1.129 capability orf prefix-list send  \                                pre S5(config-router)#nei 208.28.1.129 prefix-list ? WORD Name of a prefix list S5(config-router)#nei 208.28.1.129 prefix-list ProbD in ? S5(config-router)#nei 208.28.1.129 prefix-list ProbD in S5(config-router)# RACK14AS>2 [Resuming connection 2 to r2 ... ] *M R2#confg   ig t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#in  router bgp 65002 R2(config-router)# *Mar 2 02:17:14.443: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up R2(config-router)#nei 2089 .28.1.130 cap R2(config-router)#nei 208.28.1.130 capability o R2(config-router)#nei 208.28.1.130 capability orf ? prefix-list Advertise prefixlist ORF capability to this neighbor R2(config-router)#nei 208.28.1.130 capability orf p R2(config-router)#nei 208.28.1.130 capability orf prefix-list ? both Capability to SEND and RECEIVE the ORF to/from this neighbor receive Capability to RECEIVE the ORF from this neighbor send Capability to SEND the ORF to this neighbor R2(config-router)#nei 208.28.1.130 capability orf prefix-list re R2(config-router)#nei 208.28.1.130 capability orf prefix-list receive ? R2(config-router)#nei 208.28.1.130 capability orf prefix-list receive R2(config-router)# *Mar 2 02:17:53.907: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Down Capability changed R2(config-router)#^Z R2# *Mar 2 02:17:57.377: %SYS-5-CONFIG_I: Configured from console by console R2#sh ip bgp nei ? A.B.C.D Neighbor to display information about | Output modifiers R2#sh ip bgp nei 208.28.1.130 BGP neighbor is 208.28.1.130, remote AS 200, external link BGP version 4, remote router ID 0.0.0.0 BGP state = Active Last read 00:00:03, hold time is 180, keepalive interval is 60 seconds Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcvd Opens: 2 2 Notifications: 0 0 Updates: 71 65 Keepalives: 54 54 Route Refresh: 2 6 Total: 129 124 Default minimum time between advertisement runs is 30 seconds For address family: IPv4 Unicast BGP table version 135, neighbor version 0 Index 4, Offset 0, Mask 0x10 AF-dependant capabilities: Outbound Route Filter (ORF) type (128) Prefix-list: Receive-mode: advertised Inbound path policy configured --More--   R2#sh ip bgp nei 208.28.1.130 BGP neighbor is 208.28.1.130, remote AS 200, external link BGP version 4, remote router ID 0.0.0.0 BGP state = Active Last read 00:00:23, hold time is 180, keepalive interval is 60 seconds Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcvd Opens: 2 2 Notifications: 0 0 Updates: 71 65 Keepalives: 54 54 Route Refresh: 2 6 Total: 129 124 Default minimum time between advertisement runs is 30 seconds For address family: IPv4 Unicast BGP table version 135, neighbor version 0 Index 4, Offset 0, Mask 0x10 AF-dependant capabilities: Outbound Route Filter (ORF) type (128) Prefix-list: Receive-mode: advertised Inbound path policy configured --More--   Route map for incoming advertisements is Prob2 Sent Rcvd Prefix activity: ---- ---- Prefixes Current: 0 13 Prefixes Total: 19 13 Implicit Withdraw: 0 0 Explicit Withdraw: 0 0 Used as bestpath: n/a 0 Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: -------- ------- AS_PATH loop: n/a 10 Well-known Community: 3 n/a Total: 3 10 Number of NLRIs in the update sent: max 5, min 0 Connections established 3; dropped 2 Last reset 00:00:45, due to Capability changed --More-- *Mar 2 02:18:37.579: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up --More--   R2#sh  sh ip bgp nei 208.28.1.130 BGP neighbor is 208.28.1.130, remote AS 200, external link BGP version 4, remote router ID 5.5.5.5 BGP state = Established, up for 00:00:05 Last read 00:00:05, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received(old & new) Address family IPv4 Unicast: advertised and received Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcvd Opens: 3 3 Notifications: 0 0 Updates: 81 74 Keepalives: 57 57 Route Refresh: 2 8 Total: 143 138 Default minimum time between advertisement runs is 30 seconds For address family: IPv4 Unicast BGP table version 138, neighbor version 138 Index 4, Offset 0, Mask 0x10 AF-dependant capabilities: --More--   Outbound Route Filter (ORF) type (128) Prefix-list: Send-mode: received Receive-mode: advertised Outbound Route Filter (ORF): received (2 entries) Inbound path policy configured Route map for incoming advertisements is Prob2 Sent Rcvd Prefix activity: ---- ---- Prefixes Current: 19 13 (Consumes 624 bytes) Prefixes Total: 19 13 Implicit Withdraw: 0 0 Explicit Withdraw: 0 0 Used as bestpath: n/a 3 Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: -------- ------- AS_PATH loop: n/a 10 Well-known Community: 3 n/a Total: 3 10 Number of NLRIs in the update sent: max 5, min 0 Connections established 3; dropped 2 --More--   R2#sh ip pre R2#sh ip prefix-list ? WORD Name of a prefix list detail Detail of prefix lists summary Summary of prefix lists | Output modifiers R2#sh ip prefix-list ip prefix-list Prob3100: 1 entries seq 5 permit 17.57.100.0/24 ip prefix-list Prob3101: 1 entries seq 5 permit 17.57.101.0/24 R2# R2# R2# R2# R2#sh ip prefix-list de R2#sh ip prefix-list detail Prefix-list with the last deletion/insertion: Prob3101 ip prefix-list Prob3100: count: 1, range entries: 0, sequences: 5 - 5, refcount: 2 seq 5 permit 17.57.100.0/24 (hit count: 11, refcount: 1) ip prefix-list Prob3101: count: 1, range entries: 0, sequences: 5 - 5, refcount: 3 seq 5 permit 17.57.101.0/24 (hit count: 11, refcount: 1) R2#sh ip bgp ? A.B.C.D IP prefix /, e.g., 35.0.0.0/8 A.B.C.D Network in the BGP routing table to display cidr-only Display only routes with non-natural netmasks community Display routes matching the communities community-list Display routes matching the community-list dampening Display detailed information about dampening filter-list Display routes conforming to the filter-list inconsistent-as Display only routes with inconsistent origin ASs injected-paths Display all injected paths ipv4 Address family labels Display Labels for IPv4 NLRI specific information neighbors Detailed information on TCP and BGP neighbor connections paths Path information peer-group Display information on peer-groups prefix-list Display routes matching the prefix-list quote-regexp Display routes matching the AS path "regular expression" regexp Display routes matching the AS path regular expression rib-failure Display bgp routes that failed to install in the routing table (RIB) route-map Display routes matching the route-map summary Summary of BGP neighbor status vpnv4 Display VPNv4 NLRI specific information --More--   R2#sh ip bgp nei R2#sh ip bgp neighbors 208.29  28.1.130 ? advertised-routes Display the routes advertised to a BGP neighbor dampened-routes Display the dampened routes received from neighbor flap-statistics Display flap statistics of the routes learned from neighbor paths Display AS paths learned from neighbor received Display information received from a BGP neighbor received-routes Display the received routes from neighbor routes Display routes learned from neighbor | Output modifiers R2#sh ip bgp neighbors 208.28.1.130 re R2#sh ip bgp neighbors 208.28.1.130 received? received received-routes R2#sh ip bgp neighbors 208.28.1.130 received  ? prefix-filter Display the prefixlist filter R2#sh ip bgp neighbors 208.28.1.130 receive pr R2#sh ip bgp neighbors 208.28.1.130 receive prefix-filter ? | Output modifiers R2#sh ip bgp neighbors 208.28.1.130 receive prefix-filter Address family: IPv4 Unicast ip prefix-list 208.28.1.130: 2 entries seq 5 deny 17.80.1.0/24 seq 10 permit 0.0.0.0/0 le 32 R2# R2# R2# R2# R2# RACK14AS>5 [Resuming connection 5 to r5 ... ] 1d0 S5(config-router)#^Z S5#sh ip 1d02h: %SYS-5-CONFIG_I: Configured from console by console S5#sh ip bgp BGP table version is 173, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.0.0/16 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 300 300 300 300 i *> 17.57.104.0/24 208.28.1.66 0 ? *> 17.57.105.0/24 208.28.1.66 0 ? *> 17.57.106.0/24 208.28.1.66 0 ? *> 17.80.0.0/23 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i *> 17.80.1.0/24 208.28.1.66 0 300 100 i *> 20.0.0.0 208.28.1.129 0 0 100 i * 208.28.1.66 0 300 100 i *> 30.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i --More--   S5# RACK14AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp neighbors 208.28.1.130 receive prefix-filter                       add  BGP table version is 138, 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 Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0 180.40.7.66 0 0 300 i *> 17.57.0.0/16 180.40.7.66 0 0 300 i *> 17.57.102.0/24 180.40.7.3 5555 100 0 (65003) 300 i *> 17.80.0.0/23 180.40.7.3 0 100 0 (65003 65004) i *> 20.0.0.0 0.0.0.0 0 32768 i *> 30.0.0.0 180.40.7.3 0 100 0 (65003) i *> 40.0.0.0 180.40.7.3 0 100 0 (65003 65004) i *> 50.0.0.0 180.40.7.66 4294967295 0 300 200 i *> 60.0.0.0 180.40.7.66 4294967295 0 300 i *> 65.23.32.0/20 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 129.23.0.0 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 180.40.7.0/27 0.0.0.0 0 32768 i *> 180.40.7.32/27 0.0.0.0 0 32768 i r> 180.40.7.64/27 180.40.7.66 0 0 300 i r> 180.40.7.128/27 180.40.7.66 0 0 300 i --More--   R2# RACK14AS>5 [Resuming connection 5 to r5 ... ] S5#sh run | b router bgp router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map ProbC2 exist-map ProbC1 network 50.0.0.0 network 208.28.1.128 mask 255.255.255.224 neighbor 208.28.1.66 remote-as 300 neighbor 208.28.1.66 route-map ProbC3 out neighbor 208.28.1.129 remote-as 100 neighbor 208.28.1.129 send-community both neighbor 208.28.1.129 capability orf prefix-list send neighbor 208.28.1.129 prefix-list ProbD in neighbor 208.28.1.129 route-map ProbC out no auto-summary ! ip classless ip http server ip http secure-server ! ! ! ip prefix-list Agg seq 5 permit 17.57.0.0/16 --More--  ! ip prefix-list FromR1 seq 5 permit 208.28.1.66/32 ! ip prefix-list NewRoutes seq 5 permit 17.57.104.0/24 ip prefix-list NewRoutes seq 10 permit 17.57.105.0/24 ip prefix-list NewRoutes seq 15 permit 17.57.106.0/24 ! ip prefix-list ProbD seq 5 deny 17.80.1.0/24 ip prefix-list ProbD seq 10 permit 0.0.0.0/0 le 32 route-map ProbC1 permit 10 match ip address prefix-list Agg match ip route-source prefix-list FromR1 ! route-map ProbC2 permit 10 set ip address prefix-list NewRoutes ! route-map ProbC3 deny 10 match ip address prefix-list NewRoutes ! route-map ProbC3 permit 20 ! route-map ProbC permit 10 match ip address prefix-list NewRoutes --More--   S5# RACK14AS>3 2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp neighbors 208.28.1.130 ad sh run | b bgp router bgp 65002 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65003 65004 bgp bestpath med missing-as-worst bgp dmzlink-bw network 20.0.0.0 network 180.40.7.0 mask 255.255.255.224 network 180.40.7.32 mask 255.255.255.224 neighbor 180.40.7.3 remote-as 65003 neighbor 180.40.7.3 next-hop-self neighbor 180.40.7.3 send-community both neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.3 dmzlink-bw neighbor 180.40.7.33 remote-as 65003 neighbor 180.40.7.33 send-community both neighbor 180.40.7.33 route-map ToR3 in neighbor 180.40.7.33 dmzlink-bw neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list Prob9 out neighbor 180.40.7.66 route-map Prob3100 in --More--   neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3101 in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! ip classless ! ip as-path access-list 1 permit _200$ no ip http server no ip http secure-server ! ip access-list extended Prob9 deny ip 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 permit ip any any ! ! ip prefix-list Prob3100 seq 5 permit 17.57.100.0/24 ! ip prefix-list Prob3101 seq 5 permit 17.57.101.0/24 ! route-map Prob2 permit 10 match as-path 1 --More--   R2#sh run | b bgpip bgp neighbors 208.28.1.130 adreceive prefix-filter Address family: IPv4 Unicast ip prefix-list 208.28.1.130: 2 entries seq 5 deny 17.80.1.0/24 seq 10 permit 0.0.0.0/0 le 32 R2# R2#