=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.03.02 10:04:29 =~=~=~=~=~=~=~=~=~=~=~= RACK13AS>6 [Resuming connection 6 to r6 ... ] S6#sh urn   =   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 @ ! macro global description testbgp no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface Loopback0 ip address 17.57.101.1 255.255.255.0 ! interface Loopback1 ip address 17.57.102.1 255.255.255.0 ! interface Loopback2 ip address 17.57.103.1 255.255.255.0 ! interface Loopback99 --More--   S6#sh run | b bgp     router router bgp 300 no synchronization bgp router-id 6.6.6.6 bgp log-neighbor-changes network 17.57.100.0 mask 255.255.255.0 network 17.57.101.0 mask 255.255.255.0 network 17.57.102.0 mask 255.255.255.0 network 17.57.103.0 mask 255.255.255.0 network 60.0.0.0 network 76.76.76.0 mask 255.255.255.0 neighbor 17.57.100.1 remote-as 300 neighbor 76.76.76.7 remote-as 307 no auto-summary ! ip classless ip http server ip http secure-server ! ! ! control-plane ! ! --More--   S6# RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#confi t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip a as R2(config)#ip as-path ? access-list Specify an access list number R2(config)#ip as-path acc R2(config)#ip as-path access-list 1 ? deny Specify packets to reject permit Specify packets to forward R2(config)#ip as-path access-list 1 per _200$ R2(config)#route-map Prob2 R2(config-route-map)#match as R2(config-route-map)#match as-path ? <1-500> AS path access-list R2(config-route-map)#match as-path 1               match as R2(config-route-map)#match as-path 1 R2(config-route-map)#set lo R2(config-route-map)#set local-preference 99 R2(config-route-map)#set local-preference 99match as-path 1 route-map Prob2 20 R2(config-route-map)#exit R2(config)#exit ip ad R2(config)#ip address-pool              as R2(config)#ip as-path ac R2(config)#ip as-path access-list 1 per _200_207$ R2(config)#rouert     ter bgp 100 R2(config-router)#nei 208.28.1.130 rout R2(config-router)#nei 208.28.1.130 route-m R2(config-router)#nei 208.28.1.130 route-map Prob2 in R2(config-router)#^Z R2#sh ip *Mar 1 22:26:56.163: %SYS-5-CONFIG_I: Configured from console by console R2#sh ip bgp BGP table version is 70, 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 * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 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 *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * 50.0.0.0 180.40.7.130 0 300 200 i * 180.40.7.66 0 300 200 i *> 208.28.1.130 0 0 200 i * i60.0.0.0 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 75.75.75.0/24 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i *> 208.28.1.130 0 0 200 i * i76.76.76.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i --More--   R2#clea ip    ip bgp * in R2#clea ip bgp * insh ip bgp  BGP table version is 73, 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 * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 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 *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * 50.0.0.0 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 * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i *> 75.75.75.0/24 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i * 208.28.1.130 0 99 0 200 i * i76.76.76.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i --More--   R2#sh ip bgp reg R2#sh ip bgp regexp ? LINE A regular-expression to match BGP AS paths. Use "ctrl-v ?" to enter "?" R2#sh ip bgp regexp           ? 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 bg il R2#sh ip bg il    ful  il R2#sh ip bg filter-list ? <1-500> Regular expression access list number R2#sh ip bg filter-list 1 ? | Output modifiers R2#sh ip bg filter-list 1 BGP table version is 73, 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 * 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 * i75.75.75.0/24 180.40.7.3 0 100 0 300 200 i *> 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i * 208.28.1.130 0 99 0 200 i r i208.28.1.128/27 180.40.7.3 0 100 0 300 200 i r 180.40.7.130 0 300 200 i r> 180.40.7.66 0 300 200 i r 208.28.1.130 0 99 0 200 i R2#sh ip bg filter-list 1  sh ip bgp reg _207_ BGP table version is 73, 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 * 192.168.20.0 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i *> 208.28.1.130 0 200 207 107 i * 192.168.21.0 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i *> 208.28.1.130 0 200 207 107 i * 192.168.22.0 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i *> 208.28.1.130 0 200 207 107 i * 192.168.23.0 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i *> 208.28.1.130 0 200 207 107 i * 192.168.24.0 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i *> 208.28.1.130 0 200 207 107 i R2#conif t ^ % Invalid input detected at '^' marker. R2#confi t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#do sh run |b    b ip as ip as-path access-list 1 permit _200$ ip as-path access-list 1 permit _200_207$ no ip http server no ip http secure-server ! ! route-map Prob2 permit 10 match as-path 1 set local-preference 99 ! route-map Prob2 permit 20 ! route-map FromR3 permit 10 set ip next-hop peer-address ! ! ! ! ! ! dial-peer cor custom ! ! --More--   R2(config)#no ip as-path access-list 1 R2(config)# R2(config)#iip as-path access-list 1 permit _200$ ^ % Invalid input detected at '^' marker. R2(config)#iip as-path access-list 1 permit _200$iip as-path access-list 1 permit _200$  R2(config)#ip as-path access-list 1 permit _200$ _207_ R2(config)#^Z R2#clea *Mar 1 22:29:30.444: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * in R2#sh ip bgp BGP table version is 78, 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 * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   R2#sh ip bgpclea ip bgp * inonfi t if tsh ip bgp reg _207_ filter-list 1 BGP table version is 78, 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 * 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 * i75.75.75.0/24 180.40.7.3 0 100 0 300 200 i *> 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i * 208.28.1.130 0 99 0 200 i * i192.168.20.0 180.40.7.3 0 100 0 300 200 207 107 i *> 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i * 208.28.1.130 99 0 200 207 107 i * i192.168.21.0 180.40.7.3 0 100 0 300 200 207 107 i *> 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i * 208.28.1.130 99 0 200 207 107 i * i192.168.22.0 180.40.7.3 0 100 0 300 200 207 107 i --More--   Network Next Hop Metric LocPrf Weight Path *> 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i * 208.28.1.130 99 0 200 207 107 i * i192.168.23.0 180.40.7.3 0 100 0 300 200 207 107 i *> 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i * 208.28.1.130 99 0 200 207 107 i * i192.168.24.0 180.40.7.3 0 100 0 300 200 207 107 i *> 180.40.7.66 0 300 200 207 107 i * 180.40.7.130 0 300 200 207 107 i * 208.28.1.130 99 0 200 207 107 i r i208.28.1.128/27 180.40.7.3 0 100 0 300 200 i r 180.40.7.130 0 300 200 i r> 180.40.7.66 0 300 200 i r 208.28.1.130 0 99 0 200 i R2#  sh run | b router 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.3 route-map FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.130 remote-as 300 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$ ip as-path access-list 1 permit _200_207_ no ip http server no ip http secure-server ! ! --More--  route-map Prob2 permit 10 match as-path 1 set local-preference 99 ! route-map Prob2 permit 20 ! route-map FromR3 permit 10 set ip next-hop peer-address ! ! ! ! ! ! dial-peer cor custom ! ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous --More--   R2#confi t 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 To100 per 17.57.100.0/24 R2(config)#ip prefix-list To100 per 17.57.100.0/24.0/24 1.0/240 per 17.57.101.0/24 1 per 17.57.101.0/24 R2(config)#route=-  -map To100 R2(config-route-map)#match ip add pre R2(config-route-map)#match ip add prefix-list To100 R2(config-route-map)#set we R2(config-route-map)#set weight 9999 R2(config-route-map)#exit R2(config)#exitset weight 9999match ip add prefix-list To100route-map To100  20 R2(config-route-map)#route-map To100 20exit set weight 9999match ip add prefix-list To100route-map To100  1 R2(config-route-map)#route-map To1010 20exit set weight 9999match ip add prefix-list To100 1 R2(config-route-map)#set wei R2(config-route-map)#set weight 5555 R2(config-route-map)#set weight 5555match ip add prefix-list To101route-map To101  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 To100 in R2(config-router)#nei 180.40.7.66 route-map To100 in in 1 in route-map To101 in  route-map To101 in 1 route-map To101 in3 route-map To101 in0 route-map To101 in R2(config-router)#^Z R2#clea ip *Mar 1 22:35:33.170: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * in R2#sh ip bgp BGP table version is 80, 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 * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 9999 300 i * 180.40.7.130 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i * 180.40.7.66 0 300 i *> 180.40.7.130 5555 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   R2#sh run | b bgp   router 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.3 route-map FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ ip as-path access-list 1 permit _200_207_ no ip http server no ip http secure-server --More--  ! ! ip prefix-list To100 seq 5 permit 17.57.100.0/24 ! ip prefix-list To101 seq 5 permit 17.57.101.0/24 ! route-map To100 permit 10 match ip address prefix-list To100 set weight 9999 ! route-map To100 permit 20 ! route-map To101 permit 10 match ip address prefix-list To101 set weight 5555 ! route-map To101 permit 20 ! route-map Prob2 permit 10 match as-path 1 set local-preference 99 ! route-map Prob2 permit 20 --More--  ! --More--  route-map FromR3 permit 10 --More--   set ip next-hop peer-address --More--  ! --More--  ! --More--  ! --More--  ! --More--   R2# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip pre R1(config)#ip prefix-list To102 % Incomplete command. R1(config)#ip prefix-list To102 per 17.57.102./ 0/24 R1(config)#route- R1(config)#route-map ToS5 R1(config-route-map)#match ip ad pr R1(config-route-map)#match ip ad prefix-list 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 200   300 300 300 300 300 300 R1(config-route-map)#set as-path prepend 300 300 300 300 300 300match ip ad prefix-list To102 route-map ToS5  20 R1(config-route-map)#router bgp 1 2390    300 R1(config-router)#netr i  i 208.28.1.65 re ou 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#clea ip *Mar 1 22:40:07.064: %SYS-5-CONFIG_I: Configured from console by console R1#clea ip bgp * out R1# RACK13AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp BGP table version is 59, 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 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--   Network Next Hop Metric LocPrf Weight Path *> 40.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i *> 50.0.0.0 0.0.0.0 0 32768 i * 60.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 75.75.75.0/24 0.0.0.0 0 32768 i * 76.76.76.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 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.64/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 180.40.7.128/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 192.168.10.0 208.28.1.66 0 300 100 107 i *> 208.28.1.129 0 100 107 i * 192.168.11.0 208.28.1.66 0 300 100 107 i *> 208.28.1.129 0 100 107 i * 192.168.12.0 208.28.1.66 0 300 100 107 i *> 208.28.1.129 0 100 107 i * 192.168.13.0 208.28.1.66 0 300 100 107 i *> 208.28.1.129 0 100 107 i --More--   S5# RACK13AS>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.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 ! 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# R1# RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#rouetr bgp 100 ^ % Invalid input detected at '^' marker. R2(config)#rouetr bgp 100r bgp 100 r bgp 100 tr bgp 100er bgp 100 R2(config-router)#do sh ip bgp BGP table version is 80, 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 * 208.28.1.130 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i *> 180.40.7.66 9999 300 i * 180.40.7.130 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i * 180.40.7.66 0 300 i *> 180.40.7.130 5555 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 0 200 300 i --More--   R2(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 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 be R2(config-router)#bgp bestpath ? compare-routerid Compare router-id for identical EBGP paths med MED attribute R2(config-router)#bgp bestpath m 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 m R2(config-router)#bgp bestpath med missing-as-worst ? R2(config-router)#bgp bestpath med missing-as-worst R2(config-router)#do sh ip bgp BGP table version is 80, 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 * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.66 4294967295 9999 300 i * 180.40.7.130 4294967295 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.66 4294967295 0 300 i *> 180.40.7.130 4294967295 5555 300 i * i17.57.102.0/24 180.40.7.3 0 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 0 100 0 300 i * 208.28.1.130 4294967295 0 200 300 i --More--   R2(config-router)#^Z R2# *Mar 1 22:41:59.343: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * R2# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3# *Mar 1 22:42:01.294: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down Peer closed the session R3#confi t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 R3(config-router)#bgp be R3(config-router)#bgp bestpath m R3(config-router)#bgp bestpath med m R3(config-router)#bgp bestpath med missing-as-worst R3(config-router)#^Z R3#clea ip bg *Mar 1 22:42:16.123: %SYS-5-CONFIG_I: Configured from console by console R3#clea ip bg * R3#^Z R3# RACK13AS>1 [Resuming connection 1 to r1 ... ] *Ma R1# *Mar 1 22:43:39.885: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Down Peer closed the session R1#confi t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# *Mar 1 22:44:00.094: %BGP-5-ADJCHANGE: neighbor 180.40.7.65 Up R1(config)# R1(config)# R1(config)#router *Mar 1 22:44:02.698: %BGP-5-ADJCHANGE: neighbor 180.40.7.129 Up R1(config)#router   -map Prob5 R1(config-route-map)#match ip add pre R1(config-route-map)#match ip add prefix-list To102 R1(config-route-map)#set *Mar 1 22:44:16.120: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Up R1(config-route-map)#set metr R1(config-route-map)#set metric ? +/- Add or subtract metric <0-4294967295> Metric value or Bandwidth in Kbits per second R1(config-route-map)#set metric 11111 R1(config-route-map)#set metric 11111match ip add prefix-list To102route-map Prob5  20 R1(config-route-map)#router bgp 100   300 R1(config-router)#nei 208.28.1.2 tou   rou 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# *Mar 1 22:44:58.021: %SYS-5-CONFIG_I: Configured from console by console R1#clea ipbgp      p bgp * out R1# RACK13AS>3 [Resuming connection 3 to r3 ... ] *Ma R3#sh ip bgp 17.57.102.0 BGP routing table entry for 17.57.102.0/24, version 39 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x800 Advertised to non peer-group peers: 17.80.1.2 17.80.1.7 180.40.7.2 300 208.28.1.1 from 208.28.1.1 (1.1.1.1) Origin IGP, metric 11111, localpref 100, valid, external, best R3# R3# R3# R3# R3# RACK13AS>2 [Resuming connection 2 to r2 ... ] *Mar R2#sh ip bgp 17.57.102.0 BGP routing table entry for 17.57.102.0/24, version 40 Paths: (3 available, best #1, table Default-IP-Routing-Table) Flag: 0x840 Advertised to non peer-group peers: 180.40.7.66 180.40.7.130 208.28.1.130 300 180.40.7.3 from 180.40.7.3 (3.3.3.3) Origin IGP, metric 11111, localpref 100, valid, internal, best 300 180.40.7.130 from 180.40.7.130 (1.1.1.1) Origin IGP, metric 4294967295, localpref 100, valid, external 300 180.40.7.66 from 180.40.7.66 (1.1.1.1) Origin IGP, metric 4294967295, localpref 100, valid, external R2#sh run         RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#sh run | b router 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 11111 ! 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 ! route-map ToS5 permit 20 ! ! ! ! dial-peer cor custom ! ! ! ! line con 0 --More--   R1# RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#sh run | b router 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 FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ ip as-path access-list 1 permit _200_207_ no ip http server --More-- RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b router 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.7 remote-as 107 neighbor 180.40.7.2 remote-as 100 neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ! ! ! ! --More--   R3# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#confi t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip pre R1(config)#ip prefix-list Ye    No103 den 17.57.103.0/24 R1(config)#ip prefix-list No103 den 17.57.103.0/24                  per R1(config)#ip prefix-list No103 permit 0.0.0.0/0 le 32 R1(config)#router bgp 300 R1(config-router)#nei 208.28.1  .2 pr R1(config-router)#nei 208.28.1.2 prefix-list No103 out R1(config-router)#nei 180.40.7.65 pr R1(config-router)#nei 180.40.7.65 prefix-list ` No103 ou ut R1(config-router)#nei 180.40.7.65 prefix-list No103 out prefix-list No103 out  prefix-list No103 out 1 prefix-list No103 out2 prefix-list No103 out9 prefix-list No103 out R1(config-router)#do clea ip bgp * out R1(config-router)#exit R1(config)#exitdo clea ip bgp * outnei 180.40.7.129 prefix-list No103 out65 prefix-list No103 out 208.28.1.2 prefix-list No103 out router bgp 300 ip prefix-list No103 permit 0.0.0.0/0 le 32den 17.57.103.0/24  17.57.103.0/24  17.57.103.0/24  17.57.103.0/24 p 17.57.103.0/24e 17.57.103.0/24r 17.57.103.0/24 No103 per 17.57.103.0/24 103 per 17.57.103.0/24 Y103 per 17.57.103.0/24e103 per 17.57.103.0/24s103 per 17.57.103.0/24 R1(config)#route R1(config)#route-m R1(config)#route-map ToS5 20 R1(config-route-map)#match ip add pre Yes103 R1(config-route-map)#set comm R1(config-route-map)#set commu R1(config-route-map)#set community no R1(config-route-map)#set community noe R1(config-route-map)#set community noe - R1(config-route-map)#set community no-e 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 R1(config-route-map)#set community no-export match ip add pre Yes103 route-map ToS5 20   30 R1(config-route-map)#\ clea ip bgp * out ^ % Invalid input detected at '^' marker. R1(config-route-map)#clea ip bgp * outdclea ip bgp * outoclea ip bgp * out clea ip bgp * out R1(config-route-map)# RACK13AS>2 [Resuming connection 2 to r2 ... ]  no ip http secure-server --More--   R2#sh ip bgp 17.57.103.0 BGP routing table entry for 17.57.103.0/24, version 42 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 180.40.7.3 180.40.7.66 180.40.7.130 200 300 208.28.1.130 from 208.28.1.130 (5.5.5.5) Origin IGP, metric 4294967295, localpref 100, valid, external, best R2# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1(config-route-map)#rouetr   ter bgp 300 R1(config-router)#ne  i 208.28.,1  1.65 sewn  n R1(config-router)#nei 208.28.1.65 send-co R1(config-router)#nei 208.28.1.65 send-community R1(config-router)#^Z R1#c *Mar 1 22:52:19.068: %SYS-5-CONFIG_I: Configured from console by console R1#clea ipb  bgp * out R1# RACK13AS>5 [Resuming connection 5 to r5 ... ] 22:4 S5#sh ip bgp com S5#sh ip bgp community no-ex S5#sh ip bgp community no-export BGP table version is 92, 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.103.0/24 208.28.1.66 0 300 i S5# RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp 17.57.103.0 % Network not in table R2# RACK13AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp BGP table version is 92, 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 i *> 17.57.103.0/24 208.28.1.66 0 300 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 --More--   S5#[6~   sh ip bgp 17.57.103.0 BGP routing table entry for 17.57.103.0/24, version 92 Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised to EBGP peer) 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# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#sh run | b router 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 prefix-list No103 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 prefix-list No103 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 prefix-list No103 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 No103 seq 5 deny 17.57.103.0/24 ip prefix-list No103 seq 10 permit 0.0.0.0/0 le 32 ! ip prefix-list To102 seq 5 permit 17.57.102.0/24 ! ip prefix-list Yes103 seq 5 permit 17.57.103.0/24 ! route-map Prob5 permit 10 match ip address prefix-list To102 set metric 11111 ! 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 ! route-map ToS5 permit 20 match ip address prefix-list Yes103 --More--   set community no-export ! 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# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#rouetr bgp 100 ^ % Invalid input detected at '^' marker. R3(config)#rouetr bgp 100tr bgp 100 r bgp 100 er bgp 100\r bgp 100r bgp 100 tr bgp 100er bgp 100rr bgp 100 bgp 100 r bgp 100 r bgp 100 r bgp 100 tr bgp 100er bgp 100rr bgp 100 bgp 100  R3(config-router)#nei R3(config-router)#neighbor ? A.B.C.D Neighbor address WORD Neighbor tag X:X:X:X::X Neighbor IPv6 address R3(config-router)#neighbor MyAS ? 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)#neighbor MyAS peer R3(config-router)#neighbor MyAS peer-group ? nlri Specify nlri type supported by peer-group R3(config-router)#neighbor MyAS peer-group R3(config-router)#neighbor MyAS peer-group            remo R3(config-router)#neighbor MyAS remot R3(config-router)#neighbor MyAS remote-as 100 R3(config-router)#neighbor MyAS remote-as 100            ou R3(config-router)#neighbor MyAS route-r R3(config-router)#neighbor MyAS route-reflector-client R3(config-router)#nei R3(config-router)#neighbor MyAS route-reflector-client                             17.80.1.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 17.80.1.2 peer R3(config-router)#neighbor 17.80.1.2 peer-group ? WORD peer-group name R3(config-router)#neighbor 17.80.1.2 peer-group MsAS % Configure the peer-group first R3(config-router)#neighbor 17.80.1.2 peer-group MsASAS yAS R3(config-router)#neighbor 17.80.1.2 peer-group MyAS *Mar 1 22:56:22.302: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down Member added to peergroup R3(config-router)#neighbor 17.80.1.2 peer-group MyAS.2 peer-group MyAS 2 peer-group MyAS .2 peer-group MyAS .2 peer-group MyAS 2 peer-group MyAS .2 peer-group MyAS 8.2 peer-group MyAS0.2 peer-group MyAS..2 peer-group MyAS4.2 peer-group MyAS0.2 peer-group MyAS..2 peer-group MyAS7.2 peer-group MyAS R3(config-router)#^Z R3# *Mar 1 22:56:31.064: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down Member added to peergroup R3#sh *Mar 1 22:56:32.162: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b router 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 MyAS peer-group neighbor MyAS remote-as 100 neighbor MyAS route-reflector-client neighbor 17.80.1.2 peer-group MyAS neighbor 17.80.1.7 remote-as 107 neighbor 180.40.7.2 peer-group MyAS neighbor 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ! ! --More-- *Mar 1 22:56:52.684: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Up --More-- *Mar 1 22:57:00.693: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up --More--   R3# RACK13AS>4 [Resuming connection 4 to r4 ... ] 22 R4#conf 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 ? A.B.C.D Aggregate address R4(config-router)#aggregate-address 17.80.0.0 ? A.B.C.D Aggregate mask R4(config-router)#aggregate-address 17.80.0.0 255.255.25 534  4.0 R4(config-router)#^Z R4# 23:02:49: %SYS-5-CONFIG_I: Configured from console by console R4# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 53, 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 * i10.0.0.0 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i * i17.57.101.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 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 * i50.0.0.0 180.40.7.2 4294967295 100 0 300 200 i *> 208.28.1.1 4294967295 0 300 200 i * i60.0.0.0 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i * i75.75.75.0/24 180.40.7.2 4294967295 100 0 300 200 i --More--   R3#confi t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#ip pre R3(config)#ip prefix-list No24or  longer 17.80.0.0/    10 .0/24 le 32d17.80.1.0/24 le 32e17.80.1.0/24 le 32n17.80.1.0/24 le 32 17.80.1.0/24 le 3217.80.1.0/24 le 32 R3(config)#ip prefix-list No24orlonger den 17.80.1.0/24 le 32 \                      per 0.0.0.0/0 le 32 R3(config)#router bgp 100 R3(config-router)#nei 208.28.1.1 rout    pre R3(config-router)#nei 208.28.1.1 prefix-list No24orlonger out R3(config-router)#^Z R3#clea ip *Mar 1 23:03:18.737: %SYS-5-CONFIG_I: Configured from console by console R3#clea ip bgp * out R3# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgp BGP table version is 95, 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 * 208.28.1.65 0 200 100 i * 208.28.1.2 0 100 i * 180.40.7.129 0 100 i * 17.80.1.0/24 208.28.1.65 0 200 100 i *> 180.40.7.65 0 100 i * 180.40.7.129 0 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 208.28.1.65 0 200 100 i --More--   R1# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b router 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 MyAS peer-group neighbor MyAS remote-as 100 neighbor MyAS route-reflector-client neighbor 17.80.1.2 peer-group MyAS neighbor 17.80.1.7 remote-as 107 neighbor 180.40.7.2 peer-group MyAS neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list No24orlonger out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list No24orlonger seq 5 deny 17.80.1.0/24 le 32 --More--  ip prefix-list No24orlonger seq 10 permit 0.0.0.0/0 le 32 --More--  ! --More--  ! --More-- RACK13AS>2 [Resuming connection 2 to r2 ... ] *Ma R2#confi t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip access         access-list 100 den ip 17.80.1.0 0.0.0.255 255.255.255.90  0 0.0.0.255 R2(config)#access R2(config)#access-list 100 per ip an   an R2(config)#roue ter bgp 100 R2(config-router)#nei 180.04  4090.7.66 distr R2(config-router)#nei 180.4090.7.66 distribute-list 100 out % Specify remote-as or peer-group commands first R2(config-router)#nei 180.4090.7.66 distribute-list 100 out.7.66 distribute-list 100 out .7.66 distribute-list 100 out  % Specify remote-as or peer-group commands first R2(config-router)#nei 180.40.7.66 distribute-list 100 out                         R2(config-router)#nei 180.40.7.66 dis R2(config-router)#nei 180.40.7.66 dist R2(config-router)#nei 180.40.7.66 distribute-list 100 out % Specify remote-as or peer-group commands first R2(config-router)#do 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 FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ ip as-path access-list 1 permit _200_207_ no ip http server --More--   R2(config-router)# neighbor 180.40.7.66 ? 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--   R2(config-router)# neighbor 180.40.7.66 distr R2(config-router)# neighbor 180.40.7.66 distribute-list ? <1-199> IP access list number <1300-2699> IP access list number (expanded range) WORD IP Access-list name R2(config-router)# neighbor 180.40.7.66 distribute-list 100 ? in Filter incoming updates out Filter outgoing updates R2(config-router)# neighbor 180.40.7.66 distribute-list 100 out R2(config-router)# neighbor 180.40.7.66 distribute-list 100 out do sh run | b bgp nei 180.40.7.66 distribute-list 100 outdo sh run | b bgp  neighbor 180.40.7.66 distribute-list 100 out  ^Z R2#clea ip bgp *Mar 1 23:11:32.258: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * oput    out R2# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgprun | b routerip 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 * 208.28.1.65 0 200 100 i * 208.28.1.2 0 100 i * 180.40.7.129 0 100 i * 17.80.1.0/24 208.28.1.65 0 200 100 i *> 180.40.7.129 0 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 208.28.1.65 0 200 100 i * 180.40.7.65 0 100 i --More-- RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#sh rnu | b        un | b router 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 FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list 100 out neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ ip as-path access-list 1 permit _200_207_ --More--  no ip http server --More--  no ip http secure-server --More--  ! ! ip prefix-list To100 seq 5 permit 17.57.100.0/24 ! ip prefix-list To101 seq 5 permit 17.57.101.0/24 access-list 100 deny ip 17.80.1.0 0.0.0.255 255.255.255.0 0.0.0.255 access-list 100 permit ip any any ! route-map To100 permit 10 match ip address prefix-list To100 set weight 9999 ! route-map To100 permit 20 ! route-map To101 permit 10 match ip address prefix-list To101 set weight 5555 ! route-map To101 permit 20 ! route-map Prob2 permit 10 match as-path 1 set local-preference 99 --More--  ! --More--   R2#sh ip bgp 40.0.0.0 BGP routing table entry for 40.0.0.0/8, version 54 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# R2# RACK13AS>3 [Resuming connection 3 to r3 ... ]  ! --More--   R3#confi 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 10  1002 R3(config-router)#^Z R3# RACK13AS>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 64 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x800 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: 0.0.3.234 R2# R2# R2# R2# RACK13AS>3 [Resuming connection 3 to r3 ... ] *M R3#sh run | bgp ^ % Invalid input detected at '^' marker. R3#sh run | bgp bbgp  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 MyAS peer-group neighbor MyAS remote-as 100 neighbor MyAS route-reflector-client neighbor 17.80.1.2 peer-group MyAS neighbor 17.80.1.7 remote-as 107 neighbor 180.40.7.2 peer-group MyAS neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list No24orlonger out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! --More--   R3# RACK13AS>4 [Resuming connection 4 to r4 ... ] R4#c onf t % Ambiguous command: "c onf t" R4#confi t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#nei 192.10.32.254 remote 1000 R4(config-router)#do p 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)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)#do sh ip bgp BGP table version is 219, 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 11111 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 *>i75.75.75.0/24 17.80.1.1 4294967295 100 0 300 200 i *>i76.76.76.0/24 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 * i192.168.10.0 17.80.1.1 0 100 0 107 i --More--   R4(config-router)#do sh ip bgp sum BGP router identifier 4.4.4.4, local AS number 100 BGP table version is 219, main routing table version 219 34 network entries using 3434 bytes of memory 39 path entries using 1872 bytes of memory 11 BGP path attribute entries using 660 bytes of memory 1 BGP rrinfo entries using 24 bytes of memory 5 BGP AS-PATH entries using 120 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 6110 total bytes of memory BGP activity 103/69 prefixes, 132/93 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.1 4 100 1231 1141 219 0 0 00:21:20 31 17.80.1.7 4 107 1085 1097 219 0 0 17:41:20 5 192.10.32.254 4 1000 0 0 0 0 0 never Active R4(config-router)#do sh log Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled) Console logging: level debugging, 25 messages logged, xml disabled Monitor logging: level debugging, 0 messages logged, xml disabled Buffer logging: disabled, xml disabled Logging Exception size (4096 bytes) Count and timestamp logging messages: disabled Trap logging: level informational, 30 message lines logged R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)#do sh logip bgp sum p 192.10.32.254nei 192.10.32.254 remote 1000           loca R4(config-router)#nei 192.10.32.254 local-as 13 R4(config-router)#nei 192.10.32.254 local-as 13do sh log nei 192.10.32.254 local-as 13  23:22:52: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Up R4(config-router)#nei 192.10.32.254 local-as 13           rout R4(config-router)#nei 192.10.32.254 route-m R4(config-router)#nei 192.10.32.254 route-map Norouter s out R4(config-router)#clea i      do clea iup  p bgpo *    * ppoi    out R4(config-router)#^Z R4# 23:24:12: %SYS-5-CONFIG_I: Configured from console by console R4# R4# R4#sh ip bgp nei ? A.B.C.D Neighbor to display information about | Output modifiers R4#sh ip bgp nei 192.10.32.254 >? % Unrecognized command R4#sh ip bgp nei 192.10.32.254 > ? 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 R4#sh ip bgp nei 192.10.32.254 ad R4#sh ip bgp nei 192.10.32.254 advertised-routes R4#sh ip bgp nei 17.80.1.1 ad R4#sh ip bgp nei 17.80.1.1 advertised-routes 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 *> 17.80.0.0/23 0.0.0.0 32768 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i *> 65.23.32.0/20 192.10.32.254 0 0 13 1000 i *> 129.23.0.0 192.10.32.254 0 0 13 1000 i *> 192.168.10.0 17.80.1.7 0 0 107 i *> 192.168.11.0 17.80.1.7 0 0 107 i *> 192.168.12.0 17.80.1.7 0 0 107 i *> 192.168.13.0 17.80.1.7 0 0 107 i *> 192.168.14.0 17.80.1.7 0 0 107 i *> 203.212.1.0 192.10.32.254 0 0 13 1000 i R4# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 53, 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 * i10.0.0.0 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i * i17.57.101.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 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 * i50.0.0.0 180.40.7.2 4294967295 100 0 300 200 i *> 208.28.1.1 4294967295 0 300 200 i * i60.0.0.0 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i * i65.23.32.0/20 192.10.32.254 0 100 0 13 1000 i --More--   Network Next Hop Metric LocPrf Weight Path * i75.75.75.0/24 180.40.7.2 4294967295 100 0 300 200 i *> 208.28.1.1 4294967295 0 300 200 i * i76.76.76.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i * i129.23.0.0 192.10.32.254 0 100 0 13 1000 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i * i180.40.7.64/27 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i180.40.7.128/27 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i192.168.10.0 17.80.1.7 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.11.0 17.80.1.7 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.12.0 17.80.1.7 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.13.0 17.80.1.7 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.14.0 17.80.1.7 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.20.0 180.40.7.2 4294967295 100 0 300 200 207 107 i *> 208.28.1.1 4294967295 0 300 200 207 107 i --More--   Network Next Hop Metric LocPrf Weight Path * i192.168.21.0 180.40.7.2 4294967295 100 0 300 200 207 107 i *> 208.28.1.1 4294967295 0 300 200 207 107 i * i192.168.22.0 180.40.7.2 4294967295 100 0 300 200 207 107 i *> 208.28.1.1 4294967295 0 300 200 207 107 i * i192.168.23.0 180.40.7.2 4294967295 100 0 300 200 207 107 i *> 208.28.1.1 4294967295 0 300 200 207 107 i * i192.168.24.0 180.40.7.2 4294967295 100 0 300 200 207 107 i *> 208.28.1.1 4294967295 0 300 200 207 107 i * i192.168.30.0 180.40.7.2 4294967295 100 0 300 307 107 i *> 208.28.1.1 4294967295 0 300 307 107 i * i192.168.31.0 180.40.7.2 4294967295 100 0 300 307 107 i *> 208.28.1.1 4294967295 0 300 307 107 i * i192.168.32.0 180.40.7.2 4294967295 100 0 300 307 107 i *> 208.28.1.1 4294967295 0 300 307 107 i * i192.168.33.0 180.40.7.2 4294967295 100 0 300 307 107 i *> 208.28.1.1 4294967295 0 300 307 107 i * i192.168.34.0 180.40.7.2 4294967295 100 0 300 307 107 i *> 208.28.1.1 4294967295 0 300 307 107 i * i203.212.1.0 192.10.32.254 0 100 0 13 1000 i r i208.28.1.0/29 180.40.7.2 0 100 0 300 i r> 208.28.1.1 0 0 300 i * i208.28.1.64/28 180.40.7.2 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 208.28.1.1 0 0 300 i * i208.28.1.128/27 180.40.7.2 4294967295 100 0 300 200 i *> 208.28.1.1 4294967295 0 300 200 i R3# RACK13AS>4 [Resuming connection 4 to r4 ... ] R4#cp onfi t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#nei 17.80.1.1 nex R4(config-router)#nei 17.80.1.1 next-hop-s R4(config-router)#nei 17.80.1.1 next-hop-self R4(config-router)#^Z R4# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp reg _1000$ BGP table version is 56, 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 *>i65.23.32.0/20 17.80.1.2 0 100 0 13 1000 i *>i129.23.0.0 17.80.1.2 0 100 0 13 1000 i *>i203.212.1.0 17.80.1.2 0 100 0 13 1000 i R3# R3# R3# R3# R3# RACK13AS>6 [Resuming connection 6 to r6 ... ] S6#sh ip bgp BGP table version is 94, 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 180.40.7.65 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 180.40.7.65 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 13 1000 i *>i75.75.75.0/24 208.28.1.65 0 100 0 200 i *> 76.76.76.0/24 0.0.0.0 0 32768 i *>i129.23.0.0 208.28.1.2 0 100 0 100 13 1000 i *>i180.40.7.0/27 180.40.7.65 0 100 0 100 i --More--  *>i180.40.7.64/27 17.57.100.1 0 100 0 i --More--  *>i180.40.7.128/27 17.57.100.1 0 100 0 i --More--   S6# RACK13AS>4 [Resuming connection 4 to r4 ... ] 23:2 R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#route r  r bgp 100 R4(config-router)#router bgp 100nei 17.80.1.1 next-hop-self router bgp 100 do clea ip bgp * outnei 192.10.32.254 route-map Noroutes outlocal-as 13  no R4(config-router)#nei 192.10.32.254 local-as 13 no-prepend R4(config-router)#^Z R4#clea ip 23:26:55: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Down Local AS change 23:26:55: %SYS-5-CONFIG_I: Configured from console by console R4#clea ip bgp * out R4# RACK13AS>6 [Resuming connection 6 to r6 ... ] S6#sh ip bgp run | b routerip bgp  BGP table version is 100, 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 180.40.7.65 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 180.40.7.65 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 *>i75.75.75.0/24 208.28.1.65 0 100 0 200 i *> 76.76.76.0/24 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 --More--   Network Next Hop Metric LocPrf Weight Path *>i192.168.10.0 208.28.1.2 0 100 0 100 107 i *>i192.168.11.0 208.28.1.2 0 100 0 100 107 i *>i192.168.12.0 208.28.1.2 0 100 0 100 107 i *>i192.168.13.0 208.28.1.2 0 100 0 100 107 i *>i192.168.14.0 208.28.1.2 0 100 0 100 107 i *>i192.168.20.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.21.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.22.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.23.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.24.0 208.28.1.65 0 100 0 200 207 107 i *> 192.168.30.0 76.76.76.7 0 0 307 107 i *> 192.168.31.0 76.76.76.7 0 0 307 107 i *> 192.168.32.0 76.76.76.7 0 0 307 107 i *> 192.168.33.0 76.76.76.7 0 0 307 107 i *> 192.168.34.0 76.76.76.7 0 0 307 107 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# sh ip bgp BGP table version is 100, 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 180.40.7.65 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 180.40.7.65 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 *>i75.75.75.0/24 208.28.1.65 0 100 0 200 i *> 76.76.76.0/24 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 --More--   Network Next Hop Metric LocPrf Weight Path *>i192.168.10.0 208.28.1.2 0 100 0 100 107 i *>i192.168.11.0 208.28.1.2 0 100 0 100 107 i *>i192.168.12.0 208.28.1.2 0 100 0 100 107 i *>i192.168.13.0 208.28.1.2 0 100 0 100 107 i *>i192.168.14.0 208.28.1.2 0 100 0 100 107 i *>i192.168.20.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.21.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.22.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.23.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.24.0 208.28.1.65 0 100 0 200 207 107 i *> 192.168.30.0 76.76.76.7 0 0 307 107 i *> 192.168.31.0 76.76.76.7 0 0 307 107 i *> 192.168.32.0 76.76.76.7 0 0 307 107 i *> 192.168.33.0 76.76.76.7 0 0 307 107 i *> 192.168.34.0 76.76.76.7 0 0 307 107 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#sh ip bgp BGP table version is 100, 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 180.40.7.65 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 180.40.7.65 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 *>i75.75.75.0/24 208.28.1.65 0 100 0 200 i *> 76.76.76.0/24 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 --More--   Network Next Hop Metric LocPrf Weight Path *>i192.168.10.0 208.28.1.2 0 100 0 100 107 i *>i192.168.11.0 208.28.1.2 0 100 0 100 107 i *>i192.168.12.0 208.28.1.2 0 100 0 100 107 i *>i192.168.13.0 208.28.1.2 0 100 0 100 107 i *>i192.168.14.0 208.28.1.2 0 100 0 100 107 i *>i192.168.20.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.21.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.22.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.23.0 208.28.1.65 0 100 0 200 207 107 i *>i192.168.24.0 208.28.1.65 0 100 0 200 207 107 i *> 192.168.30.0 76.76.76.7 0 0 307 107 i *> 192.168.31.0 76.76.76.7 0 0 307 107 i *> 192.168.32.0 76.76.76.7 0 0 307 107 i *> 192.168.33.0 76.76.76.7 0 0 307 107 i *> 192.168.34.0 76.76.76.7 0 0 307 107 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# RACK13AS>34 % 34 is not an open connection RACK13AS> [Resuming connection 6 to r6 ... ] S6# RACK13AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip   bgp BGP table version is 62, 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 * i10.0.0.0 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i * i17.57.101.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 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 * i50.0.0.0 180.40.7.2 4294967295 100 0 300 200 i *> 208.28.1.1 4294967295 0 300 200 i * i60.0.0.0 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 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 * i75.75.75.0/24 180.40.7.2 4294967295 100 0 300 200 i *> 208.28.1.1 4294967295 0 300 200 i * i76.76.76.0/24 180.40.7.2 4294967295 100 0 300 i *> 208.28.1.1 4294967295 0 300 i *>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 * i180.40.7.64/27 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i180.40.7.128/27 180.40.7.2 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i192.168.10.0 17.80.1.2 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.11.0 17.80.1.2 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.12.0 17.80.1.2 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.13.0 17.80.1.2 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.14.0 17.80.1.2 0 100 0 107 i *> 17.80.1.7 0 0 107 i * i192.168.20.0 180.40.7.2 4294967295 100 0 300 200 207 107 i *> 208.28.1.1 4294967295 0 300 200 207 107 i --More-- RACK13AS>6 [Resuming connection 6 to r6 ... ] S6#sh ip bgp BGP table version is 103, 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 180.40.7.65 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 180.40.7.65 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 *>i75.75.75.0/24 208.28.1.65 0 100 0 200 i *> 76.76.76.0/24 0.0.0.0 0 32768 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 --More--   S6# RACK13AS>4 [Resuming connection 4 to r4 ... ] 23 R4#sh run | b router 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 FromR3 in neighbor 17.80.1.7 remote-as 107 neighbor 192.10.32.254 remote-as 1000 neighbor 192.10.32.254 local-as 13 no-prepend neighbor 192.10.32.254 route-map Noroutes out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! route-map FromR3 permit 10 --More--   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 ! ! end R4# R4# RACK13AS>4 [Resuming connection 4 to r4 ... ] R4#confi t Enter configuration commands, one per line. End with CNTL/Z. R4(config)# R4(config)#no router bgp 100 R4(config)# router bgp 65004 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)#bgp conf id 100 R4(config-router)#bgp conf peer 65002 65003 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.7 remote-as 107 R4(config-router)# neighbor 192.10.32.254 remote-as 1000 R4(config-router)# neighbor 192.10.32.254 local-as 13 no-prepend R4(config-router)# neighbor 192.10.32.254 route-map Noroutes out R4(config-router)# no auto-summary R4(config-router)# 23:33:38: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Down BGP protocol initialization 23:33:38: %BGP-5-ADJCHANGE: neighbor 17.80.1.7 Down BGP protocol initialization 23:33:38: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Down BGP protocol initialization R4(config-router)# R4(config-router)# R4(config-router)#^Z R4# RACK13AS>3 [Resuming connection 3 to r3 ... ] *Mar * i192.168.21.0 180.40.7.2 4294967295 100 0 300 200 207 107 i --More--   R3#sh run | b router 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 MyAS peer-group neighbor MyAS remote-as 100 neighbor MyAS route-reflector-client neighbor 17.80.1.2 peer-group MyAS neighbor 17.80.1.7 remote-as 107 neighbor 180.40.7.2 peer-group MyAS neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list No24orlonger out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! --More--   R3# *Mar 1 23:31:38.463: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:32:07.130: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:32:33.890: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:33:01.531: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3#confi 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)# 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)#bgp confed id 100 R3(config-router)#bgp conf peer 65002 65004 R3(config-router)# neighbor 17.80.1.2 remote-as 65004 R3(config-router)# neighbor 17.80.1.7 remote-as 107 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 No24orlonger out R3(config-router)# no auto-summary R3(config-router)# *Mar 1 23:33:18.884: %BGP-5-ADJCHANGE: neighbor 17.80.1.7 Down BGP protocol initialization *Mar 1 23:33:18.884: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down BGP protocol initialization *Mar 1 23:33:18.888: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down BGP protocol initialization R3(config-router)#nei      neighbor 17.80.1.2 nex R3(config-router)# neighbor 17.80.1.2 next-hop-s R3(config-router)# neighbor 17.80.1.2 next-hop-self R3(config-router)# neighbor 180.40.7.2 nex R3(config-router)# neighbor 180.40.7.2 next-hop-s R3(config-router)# neighbor 180.40.7.2 next-hop-self R3(config-router)#^Z R3# *Mar 1 23:33:42.374: %SYS-5-CONFIG_I: Configured from console by console R3# RACK13AS>2 [Resuming connection 2 to r2 ... ] *Ma R2#sh run } | *Mar 1 23:33:50.900: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 R2#sh run | b router 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 FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list 100 out neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ ip as-path access-list 1 permit _200_207_ --More-- *Mar 1 23:34:17.263: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 --More-- *Mar 1 23:34:47.148: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 --More--  no ip http server --More--  no ip http secure-server --More--   R2#confi t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# R2(config)#no router bgp 100 R2(config)#router bgp 65002 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)#bgp confed id 100 R2(config-router)#bgp confed peer 65003 65004 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.66 remote-as 300 R2(config-router)# neighbor 180.40.7.66 distribute-list 100 out R2(config-router)# neighbor 180.40.7.66 route-map To100 in R2(config-router)# neighbor 180.40.7.130 remote-as 300 R2(config-router)# neighbor 180.40.7.130 route-map To101 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)#! R2(config-router)# *Mar 1 23:35:08.692: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Down BGP protocol initialization *Mar 1 23:35:08.692: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Down BGP protocol initialization *Mar 1 23:35:08.696: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Down BGP protocol initialization R2(config-router)# R2(config-router)# R2(config-router)# R2(config-router)#^Z R2# *Mar 1 23:35:12.101: %SYS-5-CONFIG_I: Configured from console by console R2# *Mar 1 23:35:31.469: %BGP-5-ADJCHANGE: neighbor 180.40.7.3 Up R2# *Mar 1 23:35:46.778: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Up *Mar 1 23:35:47.655: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up R2# *Mar 1 23:35:48.509: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Up R2# R2# R2# R2#sh ip bgp sum BGP router identifier 2.2.2.2, local AS number 65002 BGP table version is 62, main routing table version 62 37 network entries using 3737 bytes of memory 105 path entries using 5040 bytes of memory 23 BGP path attribute entries using 1380 bytes of memory 16 BGP AS-PATH entries using 400 bytes of memory 4 BGP route-map cache entries using 80 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 10637 total bytes of memory BGP activity 37/0 prefixes, 106/1 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 180.40.7.3 4 65003 16 16 62 0 0 00:01:37 35 180.40.7.66 4 300 16 18 62 0 0 00:01:20 23 180.40.7.130 4 300 16 17 62 0 0 00:01:22 23 208.28.1.130 4 200 21 22 62 0 0 00:01:21 22 R2# R2# R2# R2# R2#sh ip bgp BGP table version is 62, 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 * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * 180.40.7.3 0 100 0 (65003) 300 i *> 17.57.100.0/24 180.40.7.66 4294967295 9999 300 i * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 4294967295 0 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i * 17.57.101.0/24 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.130 4294967295 5555 300 i * 180.40.7.3 4294967295 100 0 (65003) 300 i * 17.57.102.0/24 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i *> 180.40.7.3 11111 100 0 (65003) 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.66 4294967295 0 300 200 i * 208.28.1.130 0 99 0 200 i * 180.40.7.130 4294967295 0 300 200 i * 180.40.7.3 4294967295 100 0 (65003) 300 200 i *> 60.0.0.0 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.3 4294967295 100 0 (65003) 300 i *> 65.23.32.0/20 180.40.7.3 0 100 0 (65003 65004) 1000 i *> 75.75.75.0/24 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 * 180.40.7.3 4294967295 100 0 (65003) 300 200 i *> 76.76.76.0/24 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.3 4294967295 100 0 (65003) 300 i *> 129.23.0.0 180.40.7.3 0 100 0 (65003 65004) 1000 i --More--   R2# RACK13AS>1 [Resuming connection 1 to r1 ... ] *M * 180.40.7.129 0 100 i R1#sh ip bgp BGP table version is 158, 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 208.28.1.65 0 200 100 i * 180.40.7.65 0 100 i * 180.40.7.129 0 100 i *> 208.28.1.2 0 100 i * 17.80.1.0/24 208.28.1.65 0 200 100 i *> 180.40.7.129 0 100 i * 20.0.0.0 208.28.1.65 0 200 100 i * 208.28.1.2 0 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.65 0 100 i --More--   R1# RACK13AS>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.66 remote-as 300 neighbor 180.40.7.66 distribute-list 100 out neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ --More-- RACK13AS>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 17.80.1.2 next-hop-self neighbor 17.80.1.7 remote-as 107 neighbor 180.40.7.2 remote-as 65002 neighbor 180.40.7.2 next-hop-self neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list No24orlonger out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! --More-- RACK13AS>4 [Resuming connection 4 to r4 ... ] 23: R4# 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.7 remote-as 107 neighbor 192.10.32.254 remote-as 1000 neighbor 192.10.32.254 local-as 13 no-prepend neighbor 192.10.32.254 route-map Noroutes out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! --More--   R4# RACK13AS>1 [Resuming connection 1 to r1 ... ] R1#confi t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#do sh ip pre R1(config)#do sh ip pref ip prefix-list No103: 2 entries seq 5 deny 17.57.103.0/24 seq 10 permit 0.0.0.0/0 le 32 ip prefix-list To102: 1 entries seq 5 permit 17.57.102.0/24 ip prefix-list Yes103: 1 entries seq 5 permit 17.57.103.0/24 R1(config)#ip pre R1(config)#ip prefix-list Not102 den 17.57.102.0/42  24 R1(config)#ip prefix-list Not102 den 17.57.102.0/24                  per 0.0.0.0/0 le 24 R1(config)#ip prefix-list Not102 per 0.0.0.0/0 le 24 do sh ip pre ip prefix-list No103: 2 entries seq 5 deny 17.57.103.0/24 seq 10 permit 0.0.0.0/0 le 32 ip prefix-list Not102: 2 entries seq 5 deny 17.57.102.0/24 seq 10 permit 0.0.0.0/0 le 24 ip prefix-list To102: 1 entries seq 5 permit 17.57.102.0/24 ip prefix-list Yes103: 1 entries seq 5 permit 17.57.103.0/24 R1(config)#no do sh ip preip prefix-list Not102 per 0.0.0.0/0 le 24do sh ip pre ip prefix-list Not102 per 0.0.0.0/0 le 2402 sper 0.0.0.0/0 le 24eper 0.0.0.0/0 le 24qper 0.0.0.0/0 le 24 per 0.0.0.0/0 le 241per 0.0.0.0/0 le 240per 0.0.0.0/0 le 24 ^ % Invalid input detected at '^' marker. R1(config)#ip prefix-list Not102 seq 10per 0.0.0.0/0 le 24 per 0.0.0.0/0 le 24nip prefix-list Not102 seq 10 per 0.0.0.0/0 le 24oip prefix-list Not102 seq 10 per 0.0.0.0/0 le 24 ip prefix-list Not102 seq 10 per 0.0.0.0/0 le 24 R1(config)#no ip prefix-list Not102 seq 10 per 0.0.0.0/0 le 24ip prefix-list Not102 seq 10per 0.0.0.0/0 le 24 do sh ip pre ip prefix-list Not102 per 0.0.0.0/0 le 24  32 R1(config)#route-map ProbB R1(config-route-map)#match ip add pre R1(config-route-map)#match ip add prefix-list 1 Not102 R1(config-route-map)#router bgp 300 R1(config-router)#agg R1(config-router)#aggregate-address 17.57.0.0 255.2555.   5.0.0 su 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 rout R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 suppress-map rout    ? WORD Route map for suppression R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 suppress-map ProbB R1(config-router)#^Z R1# *Mar 1 23:48:46.348: %SYS-5-CONFIG_I: Configured from console by console R1#sh ip bgp BGP table version is 162, 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.65 0 200 100 i * 180.40.7.65 0 100 i * 180.40.7.129 0 100 i *> 208.28.1.2 0 100 i * 17.80.1.0/24 208.28.1.65 0 200 100 i *> 180.40.7.129 0 100 i * 20.0.0.0 208.28.1.65 0 200 100 i * 208.28.1.2 0 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# RACK13AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp BGP table version is 44, 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 11111 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 *> 75.75.75.0/24 17.80.1.1 4294967295 100 0 (65003) 300 200 i *> 76.76.76.0/24 17.80.1.1 4294967295 100 0 (65003) 300 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.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 --More--   R4# R4# R4# RACK13AS>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 prefix-list No103 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 prefix-list No103 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 prefix-list No103 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 No103 seq 5 deny 17.57.103.0/24 ip prefix-list No103 seq 10 permit 0.0.0.0/0 le 32 ! ip prefix-list Not102 seq 5 deny 17.57.102.0/24 ip prefix-list Not102 seq 10 permit 0.0.0.0/0 le 32 ! ip prefix-list To102 seq 5 permit 17.57.102.0/24 ! ip prefix-list Yes103 seq 5 permit 17.57.103.0/24 ! route-map Prob5 permit 10 match ip address prefix-list To102 set metric 11111 ! route-map Prob5 permit 20 ! route-map ToS5 permit 10 match ip address prefix-list To102 --More--   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 prefix-list No103 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 prefix-list No103 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 prefix-list No103 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 No103 seq 5 deny 17.57.103.0/24 ip prefix-list No103 seq 10 permit 0.0.0.0/0 le 32 ! ip prefix-list Not102 seq 5 deny 17.57.102.0/24 ip prefix-list Not102 seq 10 permit 0.0.0.0/0 le 32 ! ip prefix-list To102 seq 5 permit 17.57.102.0/24 ! ip prefix-list Yes103 seq 5 permit 17.57.103.0/24 ! route-map Prob5 permit 10 match ip address prefix-list To102 set metric 11111 ! 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 ! route-map ToS5 permit 20 match ip address prefix-list Yes103 set community no-export ! route-map ToS5 permit 30 ! route-map ProbB permit 10 match ip address prefix-list Not102 ! ! ! ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 --More--   R1# RACK13AS>5 [Resuming connection 5 to r5 ... ] 2 S5#confit  t Enter configuration commands, one per line. End with CNTL/Z. S5(config)# S5(config)#ip pre S5(config)#ip prefix-list NewRoutes per 17.57.104.0/24 S5(config)#ip prefix-list NewRoutes per 17.57.104.0/24.0/24 5.0/24 S5(config)#ip prefix-list NewRoutes per 17.57.105.0/24.0/24 6.0/24 S5(config)#ip pre S5(config)#ip prefix-list Trigger pe  r 17.57.0.0/16 S5(config)#ip pre S5(config)#ip prefix-list R1 per 208.28.1.66/32 S5(config)#route-map Trigger S5(config-route-map)#match ip add pre S5(config-route-map)#match ip add prefix-list Trigger S5(config-route-map)#match ip rou S5(config-route-map)#match ip route-source R1 S5(config-route-map)#exit S5(config)#route-map NewRoute es S5(config-route-map)#set New   ip add S5(config-route-map)#set ip address ? prefix-list Specify prefix-list S5(config-route-map)#set ip address p S5(config-route-map)#set ip address prefix-list NewRoutes S5(config-route-map)#router bgp 1 200 S5(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) 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 NewRoutes ? exist-map Routemap which specifies exist condition S5(config-router)#bgp inject-map NewRoutes ex S5(config-router)#bgp inject-map NewRoutes exist-map ? WORD route-map name S5(config-router)#bgp inject-map NewRoutes exist-map Trigger ? copy-attributes Copy attributes from aggregate S5(config-router)#bgp inject-map NewRoutes exist-map Trigger S5(config-router)#^Z S5#sh ip b 23:56:51: %SYS-5-CONFIG_I: Configured from console by console S5#sh ip bgp BGP table version is 186, 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 i *> 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 *> 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.129 0 100 i * 208.28.1.66 0 300 100 i *> 40.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i --More--   S5#sh    clea ip bgp * in S5#clea ip bgp * insh ip bgp  BGP table version is 186, 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 i *> 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 *> 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.129 0 100 i * 208.28.1.66 0 300 100 i *> 40.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 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.129 0 100 300 i *> 208.28.1.66 0 300 i *> 65.23.32.0/20 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 100 1000 i *> 75.75.75.0/24 0.0.0.0 0 32768 i * 76.76.76.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 129.23.0.0 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 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.64/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 180.40.7.128/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 192.168.10.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i *> 192.168.11.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i *> 192.168.12.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i --More--   Network Next Hop Metric LocPrf Weight Path *> 192.168.13.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i *> 192.168.14.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i *> 192.168.20.0 75.75.75.7 0 0 207 107 i *> 192.168.21.0 75.75.75.7 0 0 207 107 i *> 192.168.22.0 75.75.75.7 0 0 207 107 i *> 192.168.23.0 75.75.75.7 0 0 207 107 i *> 192.168.24.0 75.75.75.7 0 0 207 107 i * 192.168.30.0 208.28.1.129 0 100 300 307 107 i *> 208.28.1.66 0 300 307 107 i * 192.168.31.0 208.28.1.129 0 100 300 307 107 i *> 208.28.1.66 0 300 307 107 i * 192.168.32.0 208.28.1.129 0 100 300 307 107 i *> 208.28.1.66 0 300 307 107 i * 192.168.33.0 208.28.1.129 0 100 300 307 107 i *> 208.28.1.66 0 300 307 107 i * 192.168.34.0 208.28.1.129 0 100 300 307 107 i *> 208.28.1.66 0 300 307 107 i *> 203.212.1.0 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 100 1000 i * 208.28.1.0/29 208.28.1.129 0 100 300 i --More--   S5#sh ip bgp BGP table version is 186, 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 i *> 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 *> 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.129 0 100 i * 208.28.1.66 0 300 100 i *> 40.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 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.129 0 100 300 i *> 208.28.1.66 0 300 i *> 65.23.32.0/20 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 100 1000 i *> 75.75.75.0/24 0.0.0.0 0 32768 i * 76.76.76.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 129.23.0.0 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 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.64/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 180.40.7.128/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 192.168.10.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i *> 192.168.11.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i *> 192.168.12.0 208.28.1.129 0 100 107 i * 208.28.1.66 0 300 100 107 i --More--   S5#do sh rnu |      un | ^ % Invalid input detected at '^' marker. S5#do sh run |do \sh run |sh run | sh run | sh run | sh run | 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 @ ! 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 switchport mode dynamic desirable ! --More--   S5#sh run | b bgp   router router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map NewRoutes exist-map Trigger network 50.0.0.0 network 75.75.75.0 mask 255.255.255.0 network 208.28.1.128 mask 255.255.255.224 neighbor 75.75.75.7 remote-as 207 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 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 ! --More--  ip prefix-list R1 seq 5 permit 208.28.1.66/32 --More--  ! --More--  ip prefix-list Trigger seq 5 permit 17.57.0.0/16 --More--  route-map Trigger permit 10 --More--   match ip address prefix-list Trigger --More--   match ip route-source R1 --More--  ! --More--  route-map NewRoutes permit 10 --More--   set ip address prefix-list NewRoutes --More--  ! --More--  ! --More--   S5#sh run | b routerbgp do sh run | sh ip bgp  BGP table version is 189, 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 i * 17.57.104.0/24 208.28.1.66 0 ? *> 208.28.1.129 0 ? * 17.57.105.0/24 208.28.1.66 0 ? *> 208.28.1.129 0 ? * 17.57.106.0/24 208.28.1.66 0 ? *> 208.28.1.129 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 *> 208.28.1.129 0 100 i --More--   Network Next Hop Metric LocPrf Weight Path * 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.129 0 100 i * 208.28.1.66 0 300 100 i *> 40.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i *> 50.0.0.0 0.0.0.0 0 32768 i * 60.0.0.0 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 65.23.32.0/20 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 100 1000 i *> 75.75.75.0/24 0.0.0.0 0 32768 i * 76.76.76.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 129.23.0.0 208.28.1.129 0 100 1000 i * 208.28.1.66 0 300 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.64/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 180.40.7.128/27 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i --More--   S5#q  RACK13AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp BGP table version is 47, 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 11111 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 *> 75.75.75.0/24 17.80.1.1 4294967295 100 0 (65003) 300 200 i *> 76.76.76.0/24 17.80.1.1 4294967295 100 0 (65003) 300 i *> 129.23.0.0 192.10.32.254 0 0 1000 i --More-- RACK13AS>3 [Resuming connection 3 to r3 ... ]  ip prefix-list No24orlonger seq 5 deny 17.80.1.0/24 le 32 --More--   R3#sh ip bgp BGP table version is 50, 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.0.0/16 208.28.1.1 0 0 300 i * 180.40.7.2 0 100 0 (65002) 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i *> 17.57.104.0/24 180.40.7.2 4294967295 99 0 (65002) 200 ? *> 17.57.105.0/24 180.40.7.2 4294967295 99 0 (65002) 200 ? *> 17.57.106.0/24 180.40.7.2 4294967295 99 0 (65002) 200 ? *> 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 *> 20.0.0.0 180.40.7.2 0 100 0 (65002) 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 --More-- RACK13AS>2 [Resuming connection 2 to r2 ... ]  ip as-path access-list 1 permit _200_207_ --More--   R2#sh ip bgp BGP table version is 73, 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 * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * 180.40.7.3 0 100 0 (65003) 300 i * 17.57.0.0/16 180.40.7.3 0 100 0 (65003) 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 17.57.102.0/24 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i *> 180.40.7.3 11111 100 0 (65003) 300 i *> 17.57.104.0/24 208.28.1.130 4294967295 99 0 200 ? *> 17.57.105.0/24 208.28.1.130 4294967295 99 0 200 ? *> 17.57.106.0/24 208.28.1.130 4294967295 99 0 200 ? *> 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 *> 20.0.0.0 0.0.0.0 0 32768 i --More--   R2# RACK13AS>5 [Resuming connection 5 to r5 ... ] S5#confi t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#bgp inject-map NewRoutes exist-map Trigger  router bgp 1 200 S5(config-router)#router bgp 200bgp inject-map NewRoutes exist-map Trigger ? copy-attributes Copy attributes from aggregate S5(config-router)#bgp inject-map NewRoutes exist-map Trigger cop S5(config-router)#bgp inject-map NewRoutes exist-map Trigger copy-attributes ? S5(config-router)#bgp inject-map NewRoutes exist-map Trigger copy-attributes S5(config-router)#^Z S5# 1d00h: %SYS-5-CONFIG_I: Configured from console by console S5#clea ip bgp * out S5#sh ip bgp BGP table version is 189, 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 i * 17.57.104.0/24 208.28.1.66 0 ? *> 208.28.1.129 0 ? * 17.57.105.0/24 208.28.1.66 0 ? *> 208.28.1.129 0 ? * 17.57.106.0/24 208.28.1.66 0 ? *> 208.28.1.129 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 *> 208.28.1.129 0 100 i --More--   S5# RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp BGP table version is 73, 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 * 208.28.1.130 4294967295 0 200 300 i * 180.40.7.130 0 0 300 i * 180.40.7.3 0 100 0 (65003) 300 i * 17.57.0.0/16 180.40.7.3 0 100 0 (65003) 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * 17.57.102.0/24 180.40.7.66 4294967295 0 300 i * 180.40.7.130 4294967295 0 300 i *> 180.40.7.3 11111 100 0 (65003) 300 i *> 17.57.104.0/24 208.28.1.130 4294967295 99 0 200 ? *> 17.57.105.0/24 208.28.1.130 4294967295 99 0 200 ? *> 17.57.106.0/24 208.28.1.130 4294967295 99 0 200 ? *> 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 *> 20.0.0.0 0.0.0.0 0 32768 i --More--   R2# RACK13AS>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--   S5#sh run | b bgp   router router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map NewRoutes exist-map Trigger copy-attributes network 50.0.0.0 network 75.75.75.0 mask 255.255.255.0 network 208.28.1.128 mask 255.255.255.224 neighbor 75.75.75.7 remote-as 207 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 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 ! --More--  ip prefix-list R1 seq 5 permit 208.28.1.66/32 ! ip prefix-list Trigger seq 5 permit 17.57.0.0/16 route-map Trigger permit 10 match ip address prefix-list Trigger match ip route-source R1 ! route-map NewRoutes permit 10 set ip address prefix-list NewRoutes ! ! control-plane ! ! line con 0 exec-timeout 0 0 logging synchronous line vty 0 4 login line vty 5 15 login ! ! --More--   S5#confi t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#ip pre S5(config)#ip prefix-list No  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 S5(config)#ip prefix-list ProbD per 0.0.0.0/0 le 32 S5(config)#do sh ip pre ip prefix-list NewRoutes: 3 entries seq 5 permit 17.57.104.0/24 seq 10 permit 17.57.105.0/24 seq 15 permit 17.57.106.0/24 ip prefix-list ProbD: 3 entries seq 5 deny 17.80.1.0/24 seq 10 permit 0.0.0.0/0 seq 15 permit 0.0.0.0/0 le 32 ip prefix-list R1: 1 entries seq 5 permit 208.28.1.66/32 ip prefix-list Trigger: 1 entries seq 5 permit 17.57.0.0/16 S5(config)#do sh ip preip prefix-list ProbD per 0.0.0.0/0 le 32 sProbD per 0.0.0.0/0eProbD per 0.0.0.0/0qProbD per 0.0.0.0/0 ProbD per 0.0.0.0/01ProbD per 0.0.0.0/00ProbD per 0.0.0.0/0 ProbD per 0.0.0.0/0nip prefix-list seq 10 ProbD per 0.0.0.0/0oip prefix-list seq 10 ProbD per 0.0.0.0/0 ip prefix-list seq 10 ProbD per 0.0.0.0/0 ^ % Invalid input detected at '^' marker. S5(config)#no ip prefix-list seq 10 ProbD per 0.0.0.0/0 ProbD per 0.0.0.0/0  ProbD per 0.0.0.0/0 ProbD per 0.0.0.0/0  ProbD per 0.0.0.0/0  ProbD per 0.0.0.0/0  ProbD per 0.0.0.0/0 ProbD per 0.0.0.0/0  ProbD psper 0.0.0.0/0eper 0.0.0.0/0qper 0.0.0.0/0 per 0.0.0.0/01per 0.0.0.0/00per 0.0.0.0/0 per 0.0.0.0/0 S5(config)#no ip prefix-list ProbD seq 10 per 0.0.0.0/0seq 10 ProbD per 0.0.0.0/0do sh ip pre  ip prefix-list NewRoutes: 3 entries seq 5 permit 17.57.104.0/24 seq 10 permit 17.57.105.0/24 seq 15 permit 17.57.106.0/24 ip prefix-list ProbD: 2 entries seq 5 deny 17.80.1.0/24 seq 15 permit 0.0.0.0/0 le 32 ip prefix-list R1: 1 entries seq 5 permit 208.28.1.66/32 ip prefix-list Trigger: 1 entries seq 5 permit 17.57.0.0/16 S5(config)#router bgp 200 S5(config-router)#nei 208.28.1129 pre S5(config-router)#nei 208.28.1129 prefix-list Prob129 prefix-list Prob .129 prefix-list Prob1129 prefix-list Prob129 prefix-list Prob 1.129 prefix-list Prob.129 prefix-list ProbD in S5(config-router)#nei 208.28.1.129 prefix-list ProbD in                    co S5(config-router)#nei 208.28.1.129 co a 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 o 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 p 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 se 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)#^Z S5# 1d00h: %BGP-5-ADJCHANGE: neighbor 208.28.1.129 Down Capability changed 1d00h: %SYS-5-CONFIG_I: Configured from console by console S5# RACK13AS>2 [Resuming connection 2 to r2 ... ] * R2# R2#confi t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router bgp 65002 R2(config-router)#nei 28.28.1.130 ca R2(config-router)#nei 28.28.1.130 capability o R2(config-router)#nei 28.28.1.130 capability orf p R2(config-router)#nei 28.28.1.130 capability orf prefix-list             ? prefix-list Advertise prefixlist ORF capability to this neighbor R2(config-router)#nei 28.28.1.130 capability orf p R2(config-router)#nei 28.28.1.130 capability orf prefix-list re R2(config-router)#nei 28.28.1.130 capability orf prefix-list receive \ ^ % Invalid input detected at '^' marker. R2(config-router)#nei 28.28.1.130 capability orf prefix-list receive \  % Specify remote-as or peer-group commands first R2(config-router)# *Mar 2 00:04:52.095: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up R2(config-router)#nei 28.28.1.130 capability orf prefix-list receive nei 28.2808.28.1.130 capability orf prefix-list receive  R2(config-router)#^Z R2# *Mar 2 00:05:02.356: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Down Capability changed R2# *Mar 2 00:05:03.498: %SYS-5-CONFIG_I: Configured from console by console R2#sh *Mar 2 00:05:42.858: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up R2#sh ip bgp sum BGP router identifier 2.2.2.2, local AS number 65002 BGP table version is 88, main routing table version 88 39 network entries using 3939 bytes of memory 104 path entries using 4992 bytes of memory 26 BGP path attribute entries using 1620 bytes of memory 17 BGP AS-PATH entries using 440 bytes of memory 6 BGP route-map cache entries using 120 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 11111 total bytes of memory BGP activity 41/2 prefixes, 163/59 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 180.40.7.3 4 65003 47 54 88 0 0 00:30:16 34 180.40.7.66 4 300 46 54 88 0 0 00:29:59 22 180.40.7.130 4 300 47 54 85 0 0 00:30:01 22 208.28.1.130 4 200 110 98 88 0 0 00:00:05 24 R2# RACK13AS>5 [Resuming connection 5 to r5 ... ] 1d00h: %BGP-5-A S5#sh ip bgp BGP table version is 252, 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 i *> 17.57.104.0/24 208.28.1.66 0 0 300 i *> 17.57.105.0/24 208.28.1.66 0 0 300 i *> 17.57.106.0/24 208.28.1.66 0 0 300 i *> 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# RACK13AS>2 [Resuming connection 2 to r2 ... ] R2#sh ip bgp nei 208.28.1.30 ? 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 nei 208.28.1.30 re R2#sh ip bgp nei 208.28.1.30 received ? prefix-filter Display the prefixlist filter R2#sh ip bgp nei 208.28.1.30 received p R2#sh ip bgp nei 208.28.1.30 received prefix-filter ? | Output modifiers R2#sh ip bgp nei 208.28.1.30 received prefix-filter 130 received prefix-filter  Address family: IPv4 Unicast ip prefix-list 208.28.1.130: 2 entries seq 5 deny 17.80.1.0/24 seq 15 permit 0.0.0.0/0 le 32 R2#sh rnu    un | b router 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.66 remote-as 300 neighbor 180.40.7.66 distribute-list 100 out neighbor 180.40.7.66 route-map To100 in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map To101 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$ --More--   R2# RACK13AS>3 [Resuming connection 3 to r3 ... ]  *> 65.23.32.0/20 17.80.1.2 0 100 0 (65004) 1000 i --More--   R3#sh r     RACK13AS>5 [Resuming connection 5 to r5 ... ] S5#sh run | b router router bgp 200 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes bgp inject-map NewRoutes exist-map Trigger copy-attributes network 50.0.0.0 network 75.75.75.0 mask 255.255.255.0 network 208.28.1.128 mask 255.255.255.224 neighbor 75.75.75.7 remote-as 207 neighbor 208.28.1.66 remote-as 300 neighbor 208.28.1.129 remote-as 100 neighbor 208.28.1.129 capability orf prefix-list send neighbor 208.28.1.129 prefix-list ProbD in no auto-summary ! ip classless ip http server ip http secure-server ! ! ! 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--  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 15 permit 0.0.0.0/0 le 32 ! ip prefix-list R1 seq 5 permit 208.28.1.66/32 ! ip prefix-list Trigger seq 5 permit 17.57.0.0/16 route-map Trigger permit 10 match ip address prefix-list Trigger match ip route-source R1 ! route-map NewRoutes permit 10 set ip address prefix-list NewRoutes ! ! control-plane ! ! line con 0 exec-timeout 0 0 logging synchronous line vty 0 4 --More--   S5#