=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.08.05 08:24:09 =~=~=~=~=~=~=~=~=~=~=~= RACK98AS>1 [Resuming connection 1 to r1 ... ] R1#sh access-list R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#access-list 1 17.57.102.0 0.0.0.255 ^ % Invalid input detected at '^' marker. R1(config)#access-list 1 17.57.102.0 0.0.0.255p17.57.102.0 0.0.0.255e17.57.102.0 0.0.0.255r17.57.102.0 0.0.0.255 17.57.102.0 0.0.0.255 R1(config)#route-map ToR5 10 R1(config-route-map)#match ip address 1 R1(config-route-map)#set as R1(config-route-map)#set as-path ? prepend Prepend to the as-path tag Set the tag as an AS-path attribute R1(config-route-map)#set as-path pre R1(config-route-map)#set as-path prepend ? <1-65535> AS number last-as Prepend last AS to the as-path R1(config-route-map)#set as-path prepend 300 300 300 R1(config-route-map)#set as-path prepend 300 300 300match ip address 1 route-map ToR5 10   20 R1(config-route-map)# R1(config-route-map)# R1(config-route-map)# R1(config-route-map)# R1(config-route-map)#router bgp 300 R1(config-router)#nei 208.28.1.65 route R1(config-router)#nei 208.28.1.65 route-ma R1(config-router)#nei 208.28.1.65 route-map ToR5 out R1(config-router)#do clea ip bgp * out R1(config-router)# RACK98AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp BGP table version is 27, local router ID is 50.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal 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 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 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.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 *> 40.0.0.0 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i --More--  *> 50.0.0.0 0.0.0.0 0 32768 i --More--   S5# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#do sh ip bgp BGP table version is 22, local router ID is 10.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.100.0/24 0.0.0.0 0 32768 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.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 *> 208.28.1.2 0 100 i * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i * 180.40.7.129 0 100 i * 180.40.7.65 0 100 i *> 208.28.1.2 0 0 100 i --More--   R1(config-router)# RACK98AS> [Resuming connection 1 to r1 ... ] R1(config-router)#^Z R1# *Mar 1 21:01:45.085: %SYS-5-CONFIG_I: Configured from console by console R1#sh run | b ruoter R1#sh run | b ruoterter ter oteruter router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 17.57.100.0 mask 255.255.255.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 ToR5 out no auto-summary ! no ip http server ip classless ! ! ! access-list 1 permit 17.57.102.0 0.0.0.255 --More--  ! route-map ToR5 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map ToR5 permit 20 ! ! call rsvp-sync ! ! mgcp profile default ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 --More--   R1# R1#oasdfpasdfoasdpfoaspdfoapsodfposdfposadfpoaksdfpoasdfpoadspfokasdpfkoasdfa$asdpfoaspdfoapsodfposdfposadfpoaksdfpoasdfpoadspfokasdpfkoasdfas dfpokaspdfoapsodfposdfposadfpoaksdfpoasdfpoadspfokasdpfkoasdfasdfpokaspdf okaspdfoksdfposadfpoaksdfpoasdfpoadspfokasdpfkoasdfasdfpokaspdfokaspdfoka spdfkaspdoaksdfpoasdfpoadspfokasdpfkoasdfasdfpokaspdfokaspdfokaspdfkaspdf okaspdfokdfpoadspfokasdpfkoasdfasdfpokaspdfokaspdfokaspdfkaspdfokaspdfoka spdfokaspkasdpfkoasdfasdfpokaspdfokaspdfokaspdfkaspdfokaspdfokaspdfokaspd fokaspdfodfasdfpokaspdfokaspdfokaspdfkaspdfokaspdfokaspdfokaspdfokaspdfok aspdfokasspdfokaspdfokaspdfkaspdfokaspdfokaspdfokaspdfokaspdfokaspdfokasd pfokasdpffokaspdfkaspdfokaspdfokaspdfokaspdfokaspdfokaspdfokasdpfokasdpfo kasdpfokaspdfokaspdfokaspdfokaspdfokaspdfokaspdfokasdpfokasdpfokasdpfokas pdfokaspdfokaspdfokaspdfokaspdfokaspdfokasdpfokasdpfokasdpfokaspdfokaspdf okaspdokaaspdfokaspdfokaspdfokasdpfokasdpfokasdpfokaspdfokaspdfokaspdokas pdokaspdodfokaspdfokasdpfokasdpfokasdpfokaspdfokaspdfokaspdokaspdokaspdoa spdokasdpkasdpfokasdpfokasdpfokaspdfokaspdfokaspdokaspdokaspdoaspdokasdpo askdpoaksdpfokasdpfokaspdfokaspdfokaspdokaspdokaspdoaspdokasdpoaskdpoaksd fpoaksdfpokaspdfokaspdfokaspdokaspdokaspdoaspdokasdpoaskdpoaksdfpoaksdfpo kasdfpokaspdfokaspdokaspdokaspdoaspdokasdpoaskdpoaksdfpoaksdfpokasdfpokas dfpokasdpokaspdokaspdoaspdokasdpoaskdpoaksdfpoaksdfpokasdfpokasdfpokasdpf k Translating "oasdfpasdfoasdpfoaspdfoapsodfposdfposadfpoaksdfpoasdfpoadspfokasdpfkoasdfasdfpokaspdfokaspdfokaspdfkaspdfokaspdfokaspdfokaspdfokaspdfokaspdfokasdpfokasdpfokasdpfokaspdfokaspdfokaspdokaspdokaspdoaspdokasdpoaskdpoaksdfpoaksdfpokasdfpokasdfpokasdpfk" Translating "oasdfpasdfoasdpfoaspdfoapsodfposdfposadfpoaksdfpoasdfpoadspfokasdpfkoasdfasdfpokaspdfokaspdfokaspdfkaspdfokaspdfokaspdfokaspdfokaspdfokaspdfokasdpfokasdpfokasdpfokaspdfokaspdfokaspdokaspdokaspdoaspdokasdpoaskdpoaksdfpoaksdfpokasdfpokasdfpokasdpfk" % Unknown command or computer name, or unable to find computer address R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router -map Prob5 10 R1(config-route-map)#match  R1(config-route-map)#match ip add 1 R1(config-route-map)#set m R1(config-route-map)#set me 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 10  200   300 R1(config-route-map)#set metric 300match ip add 1route-map Prob5 10    20 R1(config-route-map)#router bgp 2 300 R1(config-router)#nei 208.28.1.2 route R1(config-router)#nei 208.28.1.2 route-, 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)#do cle ip rout * out cle ip rout * out ^ % Invalid input detected at '^' marker. R1(config-router)#do cle ip rout * outut * out  * out  * out  * out b * outg * outp * out R1(config-router)# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 192, local router ID is 30.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 * i10.0.0.0 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.101.0/24 180.40.7.130 0 100 0 300 i *> 208.28.1.1 0 300 i *>i17.57.102.0/24 180.40.7.66 0 100 0 300 i * 208.28.1.1 300 0 300 i * i17.57.103.0/24 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i * i50.0.0.0 180.40.7.66 0 100 0 300 200 i *> 208.28.1.1 0 300 200 i * i60.0.0.0 180.40.7.66 0 100 0 300 i --More--   R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 R3(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 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) scan-time Configure background scanner interval --More--   suppress-inactive Suppress routes that are not in the routing table update-delay Set the max initial delay for sending update upgrade-cli upgrade cli R3(config-router)#bgp bes R3(config-router)#bgp bestpath ? compare-routerid Compare router-id for identical EBGP paths med MED attribute R3(config-router)#bgp bestpath me R3(config-router)#bgp bestpath med ? confed Compare MED among confederation paths missing-as-worst Treat missing MED as the least preferred one R3(config-router)#bgp bestpath med mis R3(config-router)#bgp bestpath med missing-as-worst ? R3(config-router)#bgp bestpath med missing-as-worst R3(config-router)# RACK98AS>c2 [confirm] [OK] RACK98AS>config t ^ % Invalid input detected at '^' marker. RACK98AS>rou   2 [Resuming connection 2 to r2 ... ] [Connection to r2 closed by foreign host] RACK98AS> [Resuming connection 3 to r3 ... ] R3(config-router)# RACK98AS>r2 Trying R2 (1.1.1.1, 2002)... Open ! ************************************************************** Global Knowledge Hands-On Labs Access Server Access is restricted to Global Knowledge CCIE Students ************************************************************** Please re-enter your password. (This is the same password you used to log onto the Lab website.) If you see a username prompt, please wait 40 seconds and try again. If the username prompt persists, please reset equipment from your "Pod x" link. User Access Verification Password: Password OK R2#en R2# R2# R2# R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router bgp 100 R2(config-router)#bgp bestpath med missing-as-worst R2(config-router)#^Z R2#clea ip bgp *Mar 1 21:09:32.808: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * in R2#sh o[    ip     sh ip bgp BGP table version is 28, local router ID is 20.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 * i10.0.0.0 180.40.7.3 0 100 0 300 i * 208.28.1.130 4294967294 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 4294967294 0 200 300 i *> 180.40.7.66 0 5000 300 i * 180.40.7.130 0 0 300 i *> 17.57.101.0/24 180.40.7.130 4294967294 4000 300 i * 208.28.1.130 4294967294 0 200 300 i * 180.40.7.66 4294967294 0 300 i * 17.57.102.0/24 180.40.7.130 4294967294 0 300 i *> 180.40.7.66 4294967294 0 300 i * 17.57.103.0/24 180.40.7.130 4294967294 0 300 i * 208.28.1.130 4294967294 0 200 300 i *> 180.40.7.66 4294967294 0 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i --More--   Network Next Hop Metric LocPrf Weight Path *> 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.66 4294967294 0 300 200 i * 180.40.7.130 4294967294 0 300 200 i * 208.28.1.130 0 99 0 200 i * 60.0.0.0 208.28.1.130 4294967294 0 200 300 i *> 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r i180.40.7.64/27 180.40.7.3 0 100 0 300 i r 208.28.1.130 4294967294 0 200 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r i180.40.7.128/27 180.40.7.3 0 100 0 300 i r 208.28.1.130 4294967294 0 200 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i * i208.28.1.0/29 180.40.7.3 0 100 0 300 i * 208.28.1.130 4294967294 0 200 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i --More-- RACK98AS>3 [Resuming connection 3 to r3 ... ] R3(config-router)#^Z R3#cl ip *Mar 1 21:10:14.504: %SYS-5-CONFIG_I: Configured from console by console R3#cl ip bgp * in % Ambiguous command: "cl ip bgp * in" R3#cl ip bgp * ine ip bgp * in R3#cle ip bgp * in ip bgp * in e ip bgp * in sh ip bgp BGP table version is 203, local router ID is 30.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 * i10.0.0.0 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.101.0/24 180.40.7.130 4294967294 100 0 300 i *> 208.28.1.1 4294967294 0 300 i * i17.57.102.0/24 180.40.7.66 4294967294 100 0 300 i *> 208.28.1.1 300 0 300 i * i17.57.103.0/24 180.40.7.66 4294967294 100 0 300 i *> 208.28.1.1 4294967294 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i * i50.0.0.0 180.40.7.66 4294967294 100 0 300 200 i *> 208.28.1.1 4294967294 0 300 200 i * i60.0.0.0 180.40.7.66 4294967294 100 0 300 i --More--   R3# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#^Z R1#sh *Mar 1 21:11:26.606: %SYS-5-CONFIG_I: Configured from console by console R1#sh run | b router router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 17.57.100.0 mask 255.255.255.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 ToR5 out no auto-summary ! no ip http server ip classless ! ! ! --More--  access-list 1 permit 17.57.102.0 0.0.0.255 ! route-map Prob5 permit 10 match ip address 1 set metric 300 ! route-map Prob5 permit 20 ! route-map ToR5 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map ToR5 permit 20 ! ! call rsvp-sync ! ! mgcp profile default ! dial-peer cor custom ! ! --More--   R1# RACK98AS>2 [Resuming connection 2 to r2 ... ]  * i208.28.1.64/28 180.40.7.3 0 100 0 300 i --More--   R2#shg    run | b router router bgp 100 no synchronization 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 route-map FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map Prob3a in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3b in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! no ip http server no ip http secure-server ip classless ! ip as-path access-list 1 permit ^200$ ! ! --More--   R2# R2# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router        access  -list 2 den 17.57.103.0 0.0.0.255 R1(config)#access-list 2 per any R1(config)#access-list 3 per 17.57.103.0. =~   0.0.0.2558  R1(config)# R1(config)# R1(config)# R1(config)# R1(config)# R1(config)#router bgp 300 R1(config-router)#nei 180.40.7.129 dis R1(config-router)#nei 180.40.7.129 dist R1(config-router)#nei 180.40.7.129 distribute-list 2 out R1(config-router)#nei 180.40.7.129 distribute-list 2 out distribute-list 2 out  distribute-list 2 out  distribute-list 2 out 6 distribute-list 2 out5 distribute-list 2 out R1(config-router)#nei 180.40.7.65 distribute-list 2 out5 distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out  distribute-list 2 out 2 distribute-list 2 out0 distribute-list 2 out8 distribute-list 2 out. distribute-list 2 out2 distribute-list 2 out8 distribute-list 2 out. distribute-list 2 out1 distribute-list 2 out. distribute-list 2 out2 distribute-list 2 out R1(config-router)#router   -map ToR5 20 R1(config-route-map)#match ip add 3 R1(config-route-map)#set com R1(config-route-map)#set commu R1(config-route-map)#set community ? <1-4294967295> community number aa:nn community number in aa:nn format additive Add to the existing community internet Internet (well-known community) local-AS Do not send outside local AS (well-known community) no-advertise Do not advertise to any peer (well-known community) no-export Do not export to next AS (well-known community) none No community attribute R1(config-route-map)#set community no-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 3 route-map ToR5 20  30 R1(config-route-map)#do clea ip bgop    p * out R1(config-route-map)# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#shp    ip bgp BGP table version is 206, local router ID is 30.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 * i10.0.0.0 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.101.0/24 180.40.7.130 4294967294 100 0 300 i *> 208.28.1.1 4294967294 0 300 i *> 17.57.102.0/24 208.28.1.1 300 0 300 i *>i17.57.103.0/24 208.28.1.130 4294967294 100 0 200 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i * i50.0.0.0 180.40.7.66 4294967294 100 0 300 200 i *> 208.28.1.1 4294967294 0 300 200 i * i60.0.0.0 180.40.7.66 4294967294 100 0 300 i *> 208.28.1.1 4294967294 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More-- RACK98AS>5 [Resuming connection 5 to r5 ... ] S5# S5#sh ip bgp BGP table version is 27, local router ID is 50.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal 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 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 i *> 17.57.103.0/24 208.28.1.66 0 300 i *> 17.80.1.0/24 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i *> 20.0.0.0 208.28.1.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 *> 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 --More--   S5#sh ip bgp 17.57.103.0 BGP routing table entry for 17.57.103.0/24, version 18 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 208.28.1.129 300 208.28.1.66 from 208.28.1.66 (10.1.1.1) Origin IGP, localpref 100, valid, external, best S5# S5# S5# S5# S5#sh ip bgp ? A.B.C.D IP prefix /, e.g., 35.0.0.0/8 A.B.C.D Network in the BGP routing table to display cidr-only Display only routes with non-natural netmasks community Display routes matching the communities community-list Display routes matching the community-list dampened-paths Display paths suppressed due to dampening filter-list Display routes conforming to the filter-list flap-statistics Display flap statistics of routes inconsistent-as Display only routes with inconsistent origin ASs ipv4 Address family neighbors Detailed information on TCP and BGP neighbor connections paths Path information peer-group Display information on peer-groups quote-regexp Display routes matching the AS path "regular expression" regexp Display routes matching the AS path regular expression summary Summary of BGP neighbor status vpnv4 Display VPNv4 NLRI specific information | Output modifiers S5#sh ip bgp community ? <1-4294967295> community number exact-match Exact match of the communities 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) | Output modifiers S5#sh ip bgp community no-e S5#sh ip bgp community no-export S5# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1(config-route-map)#do sh ip    route-map route-map Prob5, permit, sequence 10 Match clauses: ip address (access-lists): 1 Set clauses: metric 300 Policy routing matches: 0 packets, 0 bytes route-map Prob5, permit, sequence 20 Match clauses: Set clauses: Policy routing matches: 0 packets, 0 bytes route-map ToR5, permit, sequence 10 Match clauses: ip address (access-lists): 1 Set clauses: as-path prepend 300 300 300 Policy routing matches: 0 packets, 0 bytes route-map ToR5, permit, sequence 20 Match clauses: ip address (access-lists): 3 Set clauses: community no-export Policy routing matches: 0 packets, 0 bytes route-map ToR5, permit, sequence 30 --More--   R1(config-route-map)#do sh run | b router router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 17.57.100.0 mask 255.255.255.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 2 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 distribute-list 2 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 distribute-list 2 out neighbor 208.28.1.2 route-map Prob5 out neighbor 208.28.1.65 remote-as 200 neighbor 208.28.1.65 route-map ToR5 out no auto-summary ! no ip http server ip classless --More--  ! ! ! access-list 1 permit 17.57.102.0 0.0.0.255 access-list 2 deny 17.57.103.0 0.0.0.255 access-list 2 permit any access-list 3 permit 17.57.103.0 0.0.0.255 ! route-map Prob5 permit 10 match ip address 1 set metric 300 ! route-map Prob5 permit 20 ! route-map ToR5 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map ToR5 permit 20 match ip address 3 set community no-export ! route-map ToR5 permit 30 --More--   R1(config-route-map)#reou    router bgp 300 R1(config-router)#neighbor 208.28.1.65 sen R1(config-router)#neighbor 208.28.1.65 send-c R1(config-router)#neighbor 208.28.1.65 send-community R1(config-router)#neighbor 208.28.1.65 send-community router bgp 300 do sh run | b routeroute-map clea ip bgp * out R1(config-router)# RACK98AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp community no-export BGP table version is 28, local router ID is 50.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal 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# S5# S5# S5# S5# S5#sh ip bgp community no-export 17.57.103.0  17.57.103.0 BGP routing table entry for 17.57.103.0/24, version 28 Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised to EBGP peer) Flag: 0x220 Not advertised to any peer 300 208.28.1.66 from 208.28.1.66 (10.1.1.1) Origin IGP, localpref 100, valid, external, best Community: no-export S5# S5# S5# S5# S5# RACK98AS>3 [Resuming connection 3 to r3 ... ]  * i180.40.7.64/27 180.40.7.66 0 100 0 300 i --More--   R3#sh ip bgp BGP table version is 207, local router ID is 30.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 * i10.0.0.0 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.100.0/24 180.40.7.66 0 100 0 300 i *> 208.28.1.1 0 0 300 i * i17.57.101.0/24 180.40.7.130 4294967294 100 0 300 i *> 208.28.1.1 4294967294 0 300 i *> 17.57.102.0/24 208.28.1.1 300 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i * i50.0.0.0 180.40.7.66 4294967294 100 0 300 200 i *> 208.28.1.1 4294967294 0 300 200 i * i60.0.0.0 180.40.7.66 4294967294 100 0 300 i *> 208.28.1.1 4294967294 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i * i180.40.7.64/27 180.40.7.66 0 100 0 300 i --More--   R3#q sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 17.0.0.0/24 is subnetted, 4 subnets C 17.80.1.0 is directly connected, FastEthernet0/0 B 17.57.100.0 [20/0] via 208.28.1.1, 17:31:42 B 17.57.101.0 [20/4294967294] via 208.28.1.1, 00:14:56 B 17.57.102.0 [20/300] via 208.28.1.1, 00:14:56 B 50.0.0.0/8 [20/4294967294] via 208.28.1.1, 00:14:57 B 20.0.0.0/8 [200/0] via 180.40.7.2, 17:21:07 B 40.0.0.0/8 [200/0] via 17.80.1.2, 17:21:32 B 10.0.0.0/8 [20/0] via 208.28.1.1, 17:31:42 208.28.1.0/24 is variably subnetted, 3 subnets, 3 masks B 208.28.1.128/27 [20/4294967294] via 208.28.1.1, 00:14:58 B 208.28.1.64/28 [20/0] via 208.28.1.1, 17:31:43 C 208.28.1.0/29 is directly connected, Serial1/0 --More--   R3# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#^Z R1#sh *Mar 1 21:26:47.612: %SYS-5-CONFIG_I: Configured from console by console R1#sh run | b router router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 17.57.100.0 mask 255.255.255.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 2 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 distribute-list 2 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 distribute-list 2 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 ToR5 out no auto-summary ! no ip http server --More--  ip classless ! ! ! access-list 1 permit 17.57.102.0 0.0.0.255 access-list 2 deny 17.57.103.0 0.0.0.255 access-list 2 permit any access-list 3 permit 17.57.103.0 0.0.0.255 ! route-map Prob5 permit 10 match ip address 1 set metric 300 ! route-map Prob5 permit 20 ! route-map ToR5 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map ToR5 permit 20 match ip address 3 set community no-export ! --More--  route-map ToR5 permit 30 ! ! call rsvp-sync ! ! mgcp profile default ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! end R1# R1# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#sh ruhn  n | b   router bgp     brouter  router  router bgp 100 no synchronization 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 180.40.7.2 remote-as 100 neighbor 180.40.7.2 route-reflector-client neighbor 208.28.1.1 remote-as 300 no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ! ! call rsvp-sync ! ! --More--   R3# R3#conf gt ^ % Invalid input detected at '^' marker. R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#no router bgp 100 R3(config)# *Mar 1 21:28:03.773: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down BGP protocol initialization *Mar 1 21:28:03.773: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down BGP protocol initialization *Mar 1 21:28:03.773: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down BGP protocol initialization R3(config)# R3(config)# R3(config)#router 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 Prob6 ? 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 Prob6    b7 pe R3(config-router)#neighbor Prob7 peer-group ? nlri Specify nlri type supported by peer-group R3(config-router)#neighbor Prob7 peer-group R3(config-router)#neighbor 208.28.1.1 remote-as 300 R3(config-router)#network 30.0.0.0 R3(config-router)#no auto-summary R3(config-router)#no synchronization R3(config-router)# bgp log-neighbor-changes R3(config-router)# bgp bestpath med missing-as-worst R3(config-router)#nei R3(config-router)#neighbor Prob7 ? 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--   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 Prob7 remo R3(config-router)#neighbor Prob7 remo *Mar 1 21:29:59.418: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Up R3(config-router)#neighbor Prob7 remot R3(config-router)#neighbor Prob7 remote-as 100 R3(config-router)#neighbor Prob7 remote-as 100            ou R3(config-router)#neighbor Prob7 route-r R3(config-router)#neighbor Prob7 route-reflector-client R3(config-router)#neighbor 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--   R3(config-router)#neighbor 17.80.1.2  R3(config-router)#neighbor 17.80.1.2 pe R3(config-router)#neighbor 17.80.1.2 peer-group ? WORD peer-group name R3(config-router)#neighbor 17.80.1.2 peer-group Prob7 R3(config-router)#neighbor 17.80.1.2 peer-group Prob7 peer-group Prob7  peer-group Prob7  peer-group Prob7  peer-group Prob7  peer-group Prob7  peer-group Prob7  peer-group Prob7  peer-group Prob7 8 peer-group Prob70 peer-group Prob7. peer-group Prob74 peer-group Prob70 peer-group Prob7. peer-group Prob77 peer-group Prob7. peer-group Prob72 peer-group Prob7 R3(config-router)#^Z R3# *Mar 1 21:30:45.494: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | n b router router bgp 100 no synchronization bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor Prob7 peer-group neighbor Prob7 remote-as 100 neighbor Prob7 route-reflector-client neighbor 17.80.1.2 peer-group Prob7 neighbor 180.40.7.2 peer-group Prob7 neighbor 208.28.1.1 remote-as 300 no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ! ! call rsvp-sync ! --More-- *Mar 1 21:30:55.158: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Up --More--   R3# *Mar 1 21:31:10.711: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up R3#q  R3# RACK98AS> [Resuming connection 3 to r3 ... ] R3# RACK98AS>sh sess Conn Host Address Byte Idle Conn Name 1 r1 1.1.1.1 4 9 r1 2 r2 1.1.1.1 6 23 r2 * 3 r3 1.1.1.1 0 0 r3 4 r4 1.1.1.1 6 17:24 r4 5 r5 1.1.1.1 0 12 r5 6 r6 1.1.1.1 0 40 r6 RACK98AS>4 [Resuming connection 4 to r4 ... ] 21:3 R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#aggr R4(config-router)#aggregate-address 17.80.0.0 255.255.25  0. % Incomplete command. R4(config-router)#0aggregate-address 17.80.0.0 255.255.0.0 R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)#^Z R4# RACK98AS>1 [Resuming connection 1 to r1 ... ] *M R1#sh ip bgp BGP table version is 35, local router ID is 10.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.100.0/24 0.0.0.0 0 32768 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/16 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.65 0 100 i * 180.40.7.129 0 100 i *> 208.28.1.2 0 100 i * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i --More--   R1# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#ip pr R3(config)#ip prefix-list ? WORD Name of a prefix list sequence-number Include/exclude sequence numbers in NVGEN R3(config)#ip prefix-list Prob8 ? deny Specify packets to reject description Prefix-list specific descriptin permit Specify packets to forward seq sequence number of an entry R3(config)#ip prefix-list Prob8 den R3(config)#ip prefix-list Prob8 deny ? A.B.C.D IP prefix /, e.g., 35.0.0.0/8 R3(config)#ip prefix-list Prob8 deny 17.80.0.0/16 ge21   21                                             router bgp 100 R3(config-router)#router bgp 100neighbor 180.40.7.2 peer-group Prob77.80.1.2 peer-group Prob7 Prob7 route-reflector-client 17.80.1.2 peer-group Prob7 80.40.7.2 peer-group Prob7router bgp 100  router bgp 100  RACK98AS>4 [Resuming connection 4 to r4 ... ] 2 R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#router bgp 100aggregate-address 17.80.0.0 255.255.0.0naggregate-address 17.80.0.0 255.255.0.0oaggregate-address 17.80.0.0 255.255.0.0 aggregate-address 17.80.0.0 255.255.0.0 R4(config-router)#no aggregate-address 17.80.0.0 255.255.0.0router bgp 100 aggregate-address 17.80.0.0 255.255.0.0.0 2.04.00.0 R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)# R4(config-router)#^Z R4# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3(config-router)#do sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 17.0.0.0/8 is variably subnetted, 5 subnets, 2 masks C 17.80.1.0/24 is directly connected, FastEthernet0/0 B 17.80.0.0/20 [200/0] via 17.80.1.2, 00:00:21 B 17.57.100.0/24 [20/0] via 208.28.1.1, 00:09:23 B 17.57.101.0/24 [20/4294967294] via 208.28.1.1, 00:09:23 B 17.57.102.0/24 [20/300] via 208.28.1.1, 00:09:23 B 50.0.0.0/8 [20/4294967294] via 208.28.1.1, 00:09:23 B 20.0.0.0/8 [200/0] via 180.40.7.2, 00:08:12 B 40.0.0.0/8 [200/0] via 17.80.1.2, 00:08:28 B 10.0.0.0/8 [20/0] via 208.28.1.1, 00:09:24 208.28.1.0/24 is variably subnetted, 3 subnets, 3 masks B 208.28.1.128/27 [20/4294967294] via 208.28.1.1, 00:09:24 B 208.28.1.64/28 [20/0] via 208.28.1.1, 00:09:24 --More--   R3(config-router)#do sh ip route  R3(config-router)#ip pr R3(config-router)#ip pre R3(config-router)#ip pre      exit R3(config)#ip pr R3(config)#ip prefix-list Prob8 den 17.80.0.0/16 ge 21 R3(config)#ip pref R3(config)#ip prefix-list Prob8 per 0.0.. 0.0/0 le 32 R3(config)#router bgp 100 R3(config-router)#neoi    i 208.28.1.1 ? 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--   R3(config-router)#nei 208.28.1.1 pre R3(config-router)#nei 208.28.1.1 prefix-list ? WORD Name of a prefix list R3(config-router)#nei 208.28.1.1 prefix-list Prob8 ? in Filter incoming updates out Filter outgoing updates R3(config-router)#nei 208.28.1.1 prefix-list Prob8 out R3(config-router)#^Z R3#clea *Mar 1 21:40:56.816: %SYS-5-CONFIG_I: Configured from console by console R3#clea ip bgp * ourt  t R3# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgp BGP table version is 40, local router ID is 10.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.100.0/24 0.0.0.0 0 32768 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/20 180.40.7.65 0 100 i * 208.28.1.65 0 200 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.65 0 100 i * 180.40.7.129 0 100 i * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i --More--  * 180.40.7.65 0 100 i --More--  * 180.40.7.129 0 100 i --More--  *> 208.28.1.2 0 0 100 i --More--   R1# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b router router bgp 100 no synchronization bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor Prob7 peer-group neighbor Prob7 remote-as 100 neighbor Prob7 route-reflector-client neighbor 17.80.1.2 peer-group Prob7 neighbor 180.40.7.2 peer-group Prob7 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 21 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 ! --More--  ! ! call rsvp-sync ! ! mgcp profile default ! ! ! dial-peer cor custom ! ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! --More--   R3# R3# RACK98AS>1 [Resuming connection 1 to r1 ... ] R1#sh acess=-  -list ^ % Invalid input detected at '^' marker. R1#sh acess-listcess-list Standard IP access list 1 10 permit 17.57.102.0, wildcard bits 0.0.0.255 (9 matches) Standard IP access list 2 10 deny 17.57.103.0, wildcard bits 0.0.0.255 (7 matches) 20 permit any (116 matches) Standard IP access list 3 10 permit 17.57.103.0, wildcard bits 0.0.0.255 (2 matches) R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#rotuer      uter        access-list 100 den ip 17.80.0.0 .0 1.0 17.80.1.0 0.0 .0 0 . 0 . 2 5 5 . 2 5 5  ? A.B.C.D Destination address any Any destination host host A single destination host R1(config)#access-list 100 den ip 17.80.0.0 0.0.255.255 255.255.248.0.0~     0.0.7.$ 100 den ip 17.80.0.0 0.0.255.255 255.255.248.0 0.0.7.2 55 R1(config)# R1(config)# R1(config)# R1(config)# R1(config)# R1(config)#acces-list 100 per ip any any ^ % Invalid input detected at '^' marker. R1(config)#acces-list 100 per ip any anyaccess-list 100 per ip any any R1(config)#router bgfp   gp 100 BGP is already running; AS is 300 R1(config)#router bgp 100   2 300 R1(config-router)#nei 180.40.7.65 dis R1(config-router)#nei 180.40.7.65 dist R1(config-router)#nei 180.40.7.65 distribute-list 100 in R1(config-router)#do cle ip bgp * inm  R1(config-router)#do sh ip bgp BGP table version is 41, local router ID is 10.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.100.0/24 0.0.0.0 0 32768 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/20 180.40.7.65 0 100 i * 208.28.1.65 0 200 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.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i * 180.40.7.65 0 100 i --More--   R1(config-router)#nei 208.    180.40.7.129 dist 100 in R1(config-router)#nei 180.40.7.129 dist 100 indo sh ip bgp cle ip bgp * in R1(config-router)#do cle ip bgp * innei 180.40.7.129 dist 100 indo sh ip bgp  BGP table version is 42, local router ID is 10.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.100.0/24 0.0.0.0 0 32768 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/20 180.40.7.65 0 100 i * 208.28.1.65 0 200 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 * 20.0.0.0 208.28.1.2 0 100 i * 208.28.1.65 0 200 100 i * 180.40.7.129 0 0 100 i *> 180.40.7.65 0 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i * 180.40.7.65 0 100 i * 180.40.7.129 0 100 i --More--  *> 208.28.1.2 0 0 100 i --More--  * 40.0.0.0 208.28.1.65 0 200 100 i --More--  * 180.40.7.65 0 100 i --More--  * 180.40.7.129 0 100 i --More--  *> 208.28.1.2 0 100 i --More--   R1(config-router)#^Z R1#sh *Mar 1 21:51:23.367: %SYS-5-CONFIG_I: Configured from console by console R1#sh run | b router router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 17.57.100.0 mask 255.255.255.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 100 in neighbor 180.40.7.65 distribute-list 2 out neighbor 180.40.7.129 remote-as 100 neighbor 180.40.7.129 distribute-list 100 in neighbor 180.40.7.129 distribute-list 2 out neighbor 208.28.1.2 remote-as 100 neighbor 208.28.1.2 distribute-list 2 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 ToR5 out no auto-summary --More--  ! no ip http server ip classless ! ! ! access-list 1 permit 17.57.102.0 0.0.0.255 access-list 2 deny 17.57.103.0 0.0.0.255 access-list 2 permit any access-list 3 permit 17.57.103.0 0.0.0.255 access-list 100 deny ip 17.80.0.0 0.0.255.255 255.255.248.0 0.0.7.255 access-list 100 permit ip any any ! route-map Prob5 permit 10 match ip address 1 set metric 300 ! route-map Prob5 permit 20 ! route-map ToR5 permit 10 match ip address 1 set as-path prepend 300 300 300 ! --More--  route-map ToR5 permit 20 match ip address 3 set community no-export ! route-map ToR5 permit 30 ! ! call rsvp-sync ! ! mgcp profile default ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login --More--   R1# R1# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 R3(config-router)#cl R3(config-router)#clu R3(config-router)#clu? % Unrecognized command R3(config-router)#clu   ? 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 R3(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 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) scan-time Configure background scanner interval --More--   R3(config-router)#bgp lu R3(config-router)#bgp lu  cl R3(config-router)#bgp clu R3(config-router)#bgp cluster-id ? <1-4294967295> Route-Reflector Cluster-id as 32 bit quantity A.B.C.D Route-Reflector Cluster-id in IP address format R3(config-router)#bgp cluster-id 1002 ? R3(config-router)#bgp cluster-id 1002 R3(config-router)#dh su rubn          do sh run | b router router bgp 100 no synchronization bgp cluster-id 1002 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor Prob7 peer-group neighbor Prob7 remote-as 100 neighbor Prob7 route-reflector-client neighbor 17.80.1.2 peer-group Prob7 neighbor 180.40.7.2 peer-group Prob7 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 21 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More--   R3(config-router)#no neighbor Prob7 route-reflector-client R3(config-router)#neighbor Prob7 route-reflector-client *Mar 1 21:55:25.600: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down RR client config change *Mar 1 21:55:25.600: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down RR client config change R3(config-router)#neighbor Prob7 route-reflector-client R3(config-router)#^Z R3# *Mar 1 21:55:42.813: %SYS-5-CONFIG_I: Configured from console by console R3# RACK98AS>4 [Resuming connection 4 to r4 ... ] 21 R4#sh ip bgp sum BGP router identifier 40.1.1.1, local AS number 100 BGP table version is 249, main routing table version 249 3 network entries using 303 bytes of memory 3 path entries using 144 bytes of memory 2 BGP path attribute 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 567 total bytes of memory BGP activity 39/36 prefixes, 53/50 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.1 4 100 1227 1098 0 0 0 00:00:21 Active R4# 21:57:58: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Up R4#sh ip bgp sum BGP router identifier 40.1.1.1, local AS number 100 BGP table version is 263, main routing table version 263 17 network entries using 1717 bytes of memory 17 path entries using 816 bytes of memory 7 BGP path attribute entries using 420 bytes of memory 1 BGP rrinfo entries using 24 bytes of memory 2 BGP AS-PATH entries using 48 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3025 total bytes of memory BGP activity 53/36 prefixes, 67/50 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.1 4 100 1239 1104 263 0 0 00:00:09 14 R4#sh ip bgp ? A.B.C.D IP prefix /, e.g., 35.0.0.0/8 A.B.C.D Network in the BGP routing table to display cidr-only Display only routes with non-natural netmasks community Display routes matching the communities community-list Display routes matching the community-list dampening Display detailed information about dampening filter-list Display routes conforming to the filter-list inconsistent-as Display only routes with inconsistent origin ASs injected-paths Display all injected paths ipv4 Address family labels Display Labels for IPv4 NLRI specific information neighbors Detailed information on TCP and BGP neighbor connections paths Path information peer-group Display information on peer-groups prefix-list Display routes matching the prefix-list quote-regexp Display routes matching the AS path "regular expression" regexp Display routes matching the AS path regular expression rib-failure Display bgp routes that failed to install in the routing table (RIB) route-map Display routes matching the route-map summary Summary of BGP neighbor status vpnv4 Display VPNv4 NLRI specific information --More--   R4#sh ip bgp [A   BGP table version is 263, local router ID is 40.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 *>i10.0.0.0 17.80.1.1 0 100 0 300 i *>i17.57.100.0/24 17.80.1.1 0 100 0 300 i *>i17.57.101.0/24 17.80.1.1 4294967294 100 0 300 i *>i17.57.102.0/24 17.80.1.1 300 100 0 300 i *> 17.80.0.0/20 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 4294967294 100 0 300 200 i *>i60.0.0.0 17.80.1.1 4294967294 100 0 300 i *>i180.40.7.0/27 17.80.1.1 0 100 0 i *>i180.40.7.64/27 17.80.1.1 0 100 0 300 i *>i180.40.7.128/27 17.80.1.1 0 100 0 300 i *>i208.28.1.0/29 17.80.1.1 0 100 0 300 i *>i208.28.1.64/28 17.80.1.1 0 100 0 300 i *>i208.28.1.128/27 17.80.1.1 4294967294 100 0 300 200 i R4#q sh ip bgp 20./  .0.0.0 BGP routing table entry for 20.0.0.0/8, version 262 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x820 Not advertised to any peer Local 17.80.1.1 from 17.80.1.1 (30.1.1.1) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 20.1.1.1, Cluster list: 0.0.3.234 R4# R4# R4# R4# R4# R4# RACK98AS>3 [Resuming connection 3 to r3 ... ] * R3#sh run | b rouer    ter bgp router bgp 100 no synchronization bgp cluster-id 1002 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor Prob7 peer-group neighbor Prob7 remote-as 100 neighbor Prob7 route-reflector-client neighbor 17.80.1.2 peer-group Prob7 neighbor 180.40.7.2 peer-group Prob7 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 21 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More--   R3# RACK98AS>4 [Resuming connection 4 to r4 ... ] R4# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp            ^Z R3#sh run *Mar 1 22:19:22.512: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b router router bgp 100 no synchronization bgp cluster-id 1002 bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor Prob7 peer-group neighbor Prob7 remote-as 100 neighbor Prob7 route-reflector-client neighbor 17.80.1.2 peer-group Prob7 neighbor 180.40.7.2 peer-group Prob7 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 21 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More--   R3# R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#no router bgp 100 R3(config)# *Mar 1 22:20:21.196: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down BGP protocol initialization *Mar 1 22:20:21.196: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down BGP protocol initialization *Mar 1 22:20:21.196: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down BGP protocol initialization R3(config)#router bgp 65003 R3(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 R3(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 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) scan-time Configure background scanner interval --More--   R3(config-router)#bgp con R3(config-router)#bgp confederation ? identifier as number peers Peer ASs in BGP confederation R3(config-router)#bgp confederation id ? <1-65535> Set routing domain confederation AS R3(config-router)#bgp confederation id 100 R3(config-router)#bgp confederation id 100      peer R3(config-router)#bgp confederation peers ? <1-65535> AS number R3(config-router)#bgp confederation peers 65002 65004 R3(config-router)#bgp confederation peers 65002 6500404 65003 65003 Local member-AS not allowed in confed peer list 65003 Local member-AS not allowed in confed peer list R3(config-router)#bgp confederation peers 65002 65004 65003  R3(config-router)#no synchronization R3(config-router)#no auto-summary R3(config-router)#network 30.0.0.0 R3(config-router)#bgp bestpath med missing-as-worst R3(config-router)#bgp log-neighbor-changes R3(config-router)#neighbor 208.28.1.1 remote-as 300 R3(config-router)# neighbor 208.28.1.1 prefix-list Prob8 out R3(config-router)# *Mar 1 22:23:00.593: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Up R3(config-router)#neighbor 17.80.1.2 remotre  e-as 65004 R3(config-router)#neighbor 180.40.7.2 remote 65002 R3(config-router)#^Z R3#sh run *Mar 1 22:23:31.901: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b router router bgp 65003 no synchronization bgp log-neighbor-changes bgp confederation identifier 100 bgp confederation peers 65002 65004 bgp bestpath med missing-as-worst network 30.0.0.0 neighbor 17.80.1.2 remote-as 65004 neighbor 180.40.7.2 remote-as 65002 neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 21 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 ! ! --More--   R3# *Mar 1 22:23:57.386: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes FDEB R3# RACK98AS>4 [Resuming connection 4 to r4 ... ] 22 R4#sh ruhn  n | b rouete   ter router bgp 100 no synchronization 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.240.0 neighbor 17.80.1.1 remote-as 100 neighbor 17.80.1.1 route-map FromR3 in no auto-summary ! no ip http server ip classless ! ! ! ! route-map FromR3 permit 10 set ip next-hop peer-address ! call rsvp-sync ! ! mgcp profile default --More--   R4# R4#q config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#no router bgp 100 R4(config)#router bgp 65004 R4(config-router)#bgp con R4(config-router)#bgp confederation id 100 R4(config-router)#bgp conf peer 65003 65002 R4(config-router)# no synchronization R4(config-router)# bgp log-neighbor-changes R4(config-router)# network 40.0.0.0 R4(config-router)#aggregate-address 17.80.0.0 255.255.240.0 R4(config-router)#network 17.80.1.0 mask 255.255.255.0 R4(config-router)#neighbor 17.80.1.1  remote 655 003 R4(config-router)#^Z R4# RACK98AS>2 [Resuming connection 2 to r2 ... ] *Mar R2#sh run | b router router bgp 100 no synchronization 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 route-map FromR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map Prob3a in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3b in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! no ip http server no ip http secure-server ip classless ! ip as-path access-list 1 permit ^200$ ! ! --More-- *Mar 1 22:25:58.585: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 --More--   R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#no router bgp 100 R2(config)# *Mar 1 22:26:14.868: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Down BGP protocol initialization *Mar 1 22:26:14.868: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Down BGP protocol initialization *Mar 1 22:26:14.868: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Down BGP protocol initialization R2(config)#routre  er bgp 65002 R2(config-router)#bgp conf id 100 R2(config-router)#bgp conf peer 65003 R2(config-router)#bgp conf peer 65003 65004 R2(config-router)#no synchronization R2(config-router)# bgp log-neighbor-changes R2(config-router)# bgp bestpath med missing-as-worst R2(config-router)# network 20.0.0.0 R2(config-router)# network 180.40.7.0 mask 255.255.255.224 R2(config-router)# neighbor 180.40.7.66 remote-as 300 R2(config-router)# neighbor 180.40.7.66 route-map Prob3a in R2(config-router)# neighbor 180.40.7.130 remote-as 300 R2(config-router)# neighbor 180.40.7.130 route-map Prob3b 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)# neighbor 180.40.7.3 remote-as 65003 R2(config-router)#^Z R2# *Mar 1 22:28:21.648: %SYS-5-CONFIG_I: Configured from console by console R2#sh ip bgo sum ^ % Invalid input detected at '^' marker. R2#sh ip bgo sum sum p sum BGP router identifier 20.1.1.1, local AS number 65002 BGP table version is 1, main routing table version 1 2 network entries using 202 bytes of memory 2 path entries using 96 bytes of memory 1 BGP path attribute entries using 60 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 358 total bytes of memory BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 180.40.7.3 4 65003 0 0 0 0 0 never Idle 180.40.7.66 4 300 0 0 0 0 0 never Active 180.40.7.130 4 300 0 0 0 0 0 never Active 208.28.1.130 4 200 0 0 0 0 0 never Active R2# *Mar 1 22:28:34.236: %BGP-5-ADJCHANGE: neighbor 180.40.7.3 Up R2#sh ip bgp sum BGP router identifier 20.1.1.1, local AS number 65002 BGP table version is 1, main routing table version 1 17 network entries using 1717 bytes of memory 17 path entries using 816 bytes of memory 8 BGP path attribute entries using 480 bytes of memory 4 BGP AS-PATH entries using 96 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3109 total bytes of memory BGP activity 17/0 prefixes, 17/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 180.40.7.3 4 65003 11 3 0 0 0 00:00:03 15 180.40.7.66 4 300 0 0 0 0 0 never Active 180.40.7.130 4 300 0 0 0 0 0 never Active 208.28.1.130 4 200 0 0 0 0 0 never Active R2# *Mar 1 22:28:42.486: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up R2#sh *Mar 1 22:28:43.560: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Up R2#sh    sh ip bgp sum *Mar 1 22:28:45.739: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Up R2#sh ip bgp sum BGP router identifier 20.1.1.1, local AS number 65002 BGP table version is 18, main routing table version 18 17 network entries using 1717 bytes of memory 50 path entries using 2400 bytes of memory 15 BGP path attribute entries using 900 bytes of memory 9 BGP AS-PATH entries using 216 bytes of memory 3 BGP route-map cache entries using 60 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 5293 total bytes of memory BGP activity 17/0 prefixes, 50/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 180.40.7.3 4 65003 11 9 18 0 0 00:00:16 15 180.40.7.66 4 300 10 7 18 0 0 00:00:04 11 180.40.7.130 4 300 10 9 18 0 0 00:00:06 11 208.28.1.130 4 200 10 9 18 0 0 00:00:07 11 R2#sh ip bgp BGP table version is 18, local router ID is 20.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 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 0 100 0 (65003) 300 i *> 17.57.100.0/24 180.40.7.66 0 5000 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 0 100 0 (65003) 300 i * 17.57.101.0/24 180.40.7.66 4294967294 0 300 i *> 180.40.7.130 4294967294 4000 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 4294967294 100 0 (65003) 300 i *> 17.57.102.0/24 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i * 208.28.1.130 4294967294 0 200 300 300 300 300 i * 208.28.1.1 300 100 0 (65003) 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 17.80.0.0/20 17.80.1.2 0 100 0 (65003 65004) i * 17.80.1.0/24 17.80.1.2 0 100 0 (65003 65004) i *> 20.0.0.0 0.0.0.0 0 32768 i *> 30.0.0.0 180.40.7.3 0 100 0 (65003) i * 40.0.0.0 17.80.1.2 0 100 0 (65003 65004) i *> 50.0.0.0 180.40.7.66 4294967294 0 300 200 i * 180.40.7.130 4294967294 0 300 200 i * 208.28.1.130 0 99 0 200 i * 208.28.1.1 4294967294 100 0 (65003) 300 200 i *> 60.0.0.0 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 4294967294 100 0 (65003) 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r> 180.40.7.64/27 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967294 0 200 300 i r 208.28.1.1 0 100 0 (65003) 300 i r> 180.40.7.128/27 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967294 0 200 300 i r 208.28.1.1 0 100 0 (65003) 300 i --More--   R2#sh ip bgp BGP table version is 18, local router ID is 20.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 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 0 100 0 (65003) 300 i *> 17.57.100.0/24 180.40.7.66 0 5000 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 0 100 0 (65003) 300 i * 17.57.101.0/24 180.40.7.66 4294967294 0 300 i *> 180.40.7.130 4294967294 4000 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 4294967294 100 0 (65003) 300 i *> 17.57.102.0/24 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i * 208.28.1.130 4294967294 0 200 300 300 300 300 i * 208.28.1.1 300 100 0 (65003) 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 17.80.0.0/20 17.80.1.2 0 100 0 (65003 65004) i * 17.80.1.0/24 17.80.1.2 0 100 0 (65003 65004) i *> 20.0.0.0 0.0.0.0 0 32768 i *> 30.0.0.0 180.40.7.3 0 100 0 (65003) i * 40.0.0.0 17.80.1.2 0 100 0 (65003 65004) i *> 50.0.0.0 180.40.7.66 4294967294 0 300 200 i * 180.40.7.130 4294967294 0 300 200 i * 208.28.1.130 0 99 0 200 i * 208.28.1.1 4294967294 100 0 (65003) 300 200 i *> 60.0.0.0 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 208.28.1.1 4294967294 100 0 (65003) 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r> 180.40.7.64/27 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967294 0 200 300 i r 208.28.1.1 0 100 0 (65003) 300 i r> 180.40.7.128/27 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967294 0 200 300 i r 208.28.1.1 0 100 0 (65003) 300 i --More-- RACK98AS>3 [Resuming connection 3 to r3 ... ] * R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 65003 R3(config-router)#nei 17.80.1.2 next R3(config-router)#nei 17.80.1.2 next-hop-s R3(config-router)#nei 17.80.1.2 next-hop-self R3(config-router)#nei 17.80.1.2 next-hop-self  next-hop-self  next-hop-self  next-hop-self  next-hop-self  next-hop-self  next-hop-self  next-hop-self  next-hop-self 8 next-hop-self 0 next-hop-self . next-hop-self 4 next-hop-self 1 next-hop-self  next-hop-self 0 next-hop-self . next-hop-self 7 next-hop-self . next-hop-self 2 next-hop-self  R3(config-router)#^Z R3#cel ip *Mar 1 22:30:18.022: %SYS-5-CONFIG_I: Configured from console by console R3#cel ip       le ip bgp * out R3# RACK98AS>2 [Resuming connection 2 to r2 ... ]  *> 208.28.1.0/29 180.40.7.66 0 0 300 i --More--   R2#[Ash ip bgp BGP table version is 23, local router ID is 20.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 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 180.40.7.3 0 100 0 (65003) 300 i *> 17.57.100.0/24 180.40.7.66 0 5000 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 180.40.7.3 0 100 0 (65003) 300 i * 17.57.101.0/24 180.40.7.66 4294967294 0 300 i *> 180.40.7.130 4294967294 4000 300 i * 208.28.1.130 4294967294 0 200 300 i * 180.40.7.3 4294967294 100 0 (65003) 300 i * 17.57.102.0/24 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i *> 180.40.7.3 300 100 0 (65003) 300 i *> 17.80.0.0/20 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 4294967294 0 300 200 i * 180.40.7.130 4294967294 0 300 200 i * 208.28.1.130 0 99 0 200 i * 180.40.7.3 4294967294 100 0 (65003) 300 200 i *> 60.0.0.0 180.40.7.66 4294967294 0 300 i * 180.40.7.130 4294967294 0 300 i * 208.28.1.130 4294967294 0 200 300 i * 180.40.7.3 4294967294 100 0 (65003) 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r> 180.40.7.64/27 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967294 0 200 300 i r 180.40.7.3 0 100 0 (65003) 300 i r> 180.40.7.128/27 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967294 0 200 300 i r 180.40.7.3 0 100 0 (65003) 300 i *> 208.28.1.0/29 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i --More--   R2# RACK98AS>4 [Resuming connection 4 to r4 ... ] 22 R4#sh ip routr ^ % Invalid input detected at '^' marker. R4#sh ip routr  Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 17.0.0.0/8 is variably subnetted, 5 subnets, 2 masks C 17.80.1.0/24 is directly connected, FastEthernet0/0 B 17.80.0.0/20 [200/0] via 0.0.0.0, 00:04:07, Null0 B 17.57.100.0/24 [200/0] via 17.80.1.1, 00:00:34 B 17.57.101.0/24 [200/4294967294] via 17.80.1.1, 00:00:34 B 17.57.102.0/24 [200/300] via 17.80.1.1, 00:00:34 B 50.0.0.0/8 [200/4294967294] via 17.80.1.1, 00:00:34 B 20.0.0.0/8 [200/0] via 17.80.1.1, 00:00:34 C 40.0.0.0/8 is directly connected, Loopback99 B 10.0.0.0/8 [200/0] via 17.80.1.1, 00:00:35 208.28.1.0/24 is variably subnetted, 3 subnets, 3 masks B 208.28.1.128/27 [200/4294967294] via 17.80.1.1, 00:00:35 B 208.28.1.64/28 [200/0] via 17.80.1.1, 00:00:35 --More--  B 208.28.1.0/29 [200/0] via 17.80.1.1, 00:00:35 180.40.0.0/27 is subnetted, 3 subnets B 180.40.7.128 [200/0] via 17.80.1.1, 00:00:35 B 180.40.7.0 [200/0] via 17.80.1.1, 00:00:35 B 180.40.7.64 [200/0] via 17.80.1.1, 00:00:35 B 60.0.0.0/8 [200/4294967294] via 17.80.1.1, 00:00:35 B 30.0.0.0/8 [200/0] via 17.80.1.1, 00:04:09 R4#sh ip bgp BGP table version is 18, local router ID is 40.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 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.100.0/24 17.80.1.1 0 100 0 (65003) 300 i *> 17.57.101.0/24 17.80.1.1 4294967294 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 300 100 0 (65003) 300 i *> 17.80.0.0/20 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 4294967294 100 0 (65003) 300 200 i *> 60.0.0.0 17.80.1.1 4294967294 100 0 (65003) 300 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 *> 208.28.1.0/29 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.64/28 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.128/27 17.80.1.1 4294967294 100 0 (65003) 300 200 i R4#   RACK98AS>1 [Resuming connection 1 to r1 ... ] *M R1#sh ip bgp BGP table version is 74, local router ID is 10.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.100.0/24 0.0.0.0 0 32768 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/20 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 * 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.129 0 100 i * 180.40.7.65 0 100 i --More--   Network Next Hop Metric LocPrf Weight Path *> 208.28.1.2 0 0 100 i * 40.0.0.0 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 *> 50.0.0.0 208.28.1.65 0 0 200 i *>i60.0.0.0 17.57.100.2 0 100 0 i * 180.40.7.0/27 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 *> 180.40.7.64/27 0.0.0.0 0 32768 i *> 180.40.7.128/27 0.0.0.0 0 32768 i *> 208.28.1.0/29 0.0.0.0 0 32768 i *> 208.28.1.64/28 0.0.0.0 0 32768 i *> 208.28.1.128/27 208.28.1.65 0 0 200 i R1#q RACK98AS>2 [Resuming connection 2 to r2 ... ] R2#sh run | n b router router bgp 65002 no synchronization 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.66 remote-as 300 neighbor 180.40.7.66 route-map Prob3a in neighbor 180.40.7.130 remote-as 300 neighbor 180.40.7.130 route-map Prob3b in neighbor 208.28.1.130 remote-as 200 neighbor 208.28.1.130 route-map Prob2 in no auto-summary ! no ip http server no ip http secure-server ip classless ! ip as-path access-list 1 permit ^200$ ! --More--   R2# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b router router bgp 65003 no synchronization 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 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 Prob8 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 21 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More--   R3# RACK98AS>3 [Resuming connection 3 to r3 ... ] R3# RACK98AS>4 [Resuming connection 4 to r4 ... ] R4#sh run | b router router bgp 65004 no synchronization 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.240.0 neighbor 17.80.1.1 remote-as 65003 no auto-summary ! no ip http server ip classless ! ! ! ! route-map FromR3 permit 10 set ip next-hop peer-address ! call rsvp-sync ! ! --More--   R4# R4#