=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2006.03.24 08:11:22 =~=~=~=~=~=~=~=~=~=~=~= S6# S6# S6#sh ip int int   brie Interface IP-Address OK? Method Status Protocol Vlan1 unassigned YES manual administratively down down FastEthernet0/1 17.57.100.2 YES manual up up FastEthernet0/2 unassigned YES unset up up FastEthernet0/3 unassigned YES unset down down FastEthernet0/4 unassigned YES unset up up FastEthernet0/5 unassigned YES unset down down FastEthernet0/6 unassigned YES unset down down FastEthernet0/7 unassigned YES unset down down FastEthernet0/8 unassigned YES unset down down FastEthernet0/9 unassigned YES unset down down FastEthernet0/10 unassigned YES unset down down FastEthernet0/11 unassigned YES unset down down FastEthernet0/12 unassigned YES unset down down FastEthernet0/13 unassigned YES unset down down FastEthernet0/14 unassigned YES unset down down FastEthernet0/15 unassigned YES unset down down FastEthernet0/16 unassigned YES unset down down FastEthernet0/17 unassigned YES unset down down FastEthernet0/18 unassigned YES unset down down FastEthernet0/19 unassigned YES unset down down FastEthernet0/20 unassigned YES unset down down FastEthernet0/21 unassigned YES unset down down --More--  FastEthernet0/22 unassigned YES unset down down FastEthernet0/23 unassigned YES unset down down FastEthernet0/24 unassigned YES unset up up GigabitEthernet0/1 unassigned YES unset down down GigabitEthernet0/2 unassigned YES unset down down Loopback0 17.57.101.1 YES manual up up Loopback1 17.57.102.1 YES manual up up Loopback2 17.57.103.1 YES manual up up Loopback99 60.1.1.1 YES manual up up S6#config t        ct Enter configuration commands, one per line. End with CNTL/Z. S6(config)#router bgp            rouetr bgp 300 ^ % Invalid input detected at '^' marker. S6(config)#router bgp 300 S6(config-router)#no auto S6(config-router)#nei 17.57.100.1 remote 300 S6(config-router)#net 60.0.0.0 S6(config-router)#net 17.57.100.0 mask 255.255.255.0 S6(config-router)#net 17.57.100.0 mask 255.255.255.060.0.0.0 17.57.100.0 mask 255.255.255.0.0 mask 255.255.255.0 1.0 mask 255.255.255.0 S6(config-router)#net 17.57.101.0 mask 255.255.255.0.0 mask 255.255.255.0 1.0 mask 255.255.255.0 S6(config-router)#net 17.57.101.0 mask 255.255.255.0.0 mask 255.255.255.0 2.0 mask 255.255.255.0 S6(config-router)#net 17.57.102.0 mask 255.255.255.02.0 mask 255.255.255.0 3.0 mask 255.255.255.0 S6(config-router)#do sh ip proto *** IP Routing is NSF aware *** Routing Protocol is "bgp 300" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set IGP synchronization is disabled Automatic route summarization is disabled Neighbor(s): Address FiltIn FiltOut DistIn DistOut Weight RouteMap 17.57.100.1 Maximum path: 1 Routing Information Sources: Gateway Distance Last Update Distance: external 20 internal 200 local 200 S6(config-router)#end S6#ping 21:56:44: %SYS-5-CONFIG_I: Configured from console by console S6#ping 17.57. % Unrecognized host or address, or protocol not running. S6#ping 17.57.100.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 17.57.100.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms S6# RACK9AS>1 [Resuming connection 1 to r1 ... ] [OK] R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#rouert    ter    ter bgp 1 2 300 R1(config-router)#nbo auto ^ % Invalid input detected at '^' marker. R1(config-router)#nor auto ^ % Invalid input detected at '^' marker. R1(config-router)#nor auto auto  R1(config-router)#nei 17.57.100.2 remote 399  00 R1(config-router)#nei 208.28.1.65 remote 200 R1(config-router)#nei 180.40.7.129 remote 100 R1(config-router)#\nei 180.40.7.129 remote 1009 remote 100  remote 100  remote 100 6 remote 1005 remote 100 R1(config-router)#nei 180.40.7.65 remote 100129 remote 100208.28.1.65 remote 200    *Mar 1 21:55:37.956: %BGP-5-ADJCHANGE: neighbor 17.57.100.2 Up R1(config-router)#nei 208.28.1.65 remote 2 1005 remote 100  remote 100 2 remote 100 R1(config-router)#net 208.28.1.64 mask 255.255.255.240 R1(config-router)#net 180.40.7.128 255.m255.a255.s255.k255. 255.255.255.255.224 R1(config-router)#net 180.40.7.128 mask 255.255.255.224 mask 255.255.255.224  mask 255.255.255.224  mask 255.255.255.224 6 mask 255.255.255.2244 mask 255.255.255.224 R1(config-router)#net 180.40.7.64 mask 255.255.255.224128 mask 255.255.255.224208.28.1.64 mask 255.255.255.240  8 mask 255.255.255.248  mask 255.255.255.248 0 mask 255.255.255.248 R1(config-router)#^Z R1# *Mar 1 21:56:39.413: %SYS-5-CONFIG RACK9AS>5 [Resuming connection 5 to r5 ... ] S5#config t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#router bgp 200 S5(config-router)# RACK9AS>1 [Resuming connection 1 to r1 ... ] _I: Configured from console by console R1# R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router bgp 546 BGP is already running; AS is 300 R1(config)#router bgp 546   300 R1(config-router)#net 10.0.0.0 R1(config-router)#^Z R1# RACK9AS>5 [Resuming connection 5 to r5 ... ] S5(config-router)#no auto S5(config-router)#nei 208.28.1.66 remote 300 S5(config-router)#nei 208.28.1.129 remotemo100 ^ % Invalid input detected at '^' marker. S5(config-router)#nei 208.28.1.129 remotemo100100 100  100 S5(config-router)#net 50.0.0.0 S5(config-router)#net 208.28.1.128 mask 22:00:30: %BGP-5-ADJCHANGE: neighbor 208.28.1.66 Up S5(config-router)#net 208.28.1.128 mask 255.255.255.224 S5(config-router)#^Z S5# 22:00:36: %SYS-5-CONFIG_I: Configured from console by console S5# RACK9AS>2 [Resuming connection 2 to r2 ... ] [OK] R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router bgp 100 R2(config-router)#no auto R2(config-router)#nei 208.28.1.12=  30 remote 200 R2(config-router)#nei 180.40.7.6 130 remote 10  300 R2(config-router)#nei 180.40.7.130 remote 300 remote 300  remote 300  remote 300 6 remote 3005 remote 300 remote 300 6 remote 300 *Mar 1 21:58:05.386: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Up R2(config-router)#nei 180.40.7.66 remote 300 R2(config-router)#nei 180.40.7.66 remote 300130 remote 300208.28.1.130 remote 200   300180.40.7.130 remote 300   100 remote 100  remote 100  remote 100 3 remote 100 R2(config-router)#net 20.0.0.0 R2(config-router)#net 180.40.7. *Mar 1 21:58:38.223: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Up R2(config-router)#net 180.40.7.0 mask 255.25 *Mar 1 21:58:51.998: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Up R2(config-router)#net 180.40.7.0 mask 255.255.255.224 R2(config-router)# RACK9AS>3 [Resuming connection 3 to r3 ... ] [OK] R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 R3(config-router)#no auto R3(config-router)#nei 180.40.7.2 remote 200 R3(config-router)#nei 180.40.7.2 remote 200    nei 180.40.7.2 remote 200nnei 180.40.7.2 remote 200onei 180.40.7.2 remote 200 nei 180.40.7.2 remote 200 R3(config-router)#no nei 180.40.7.2 remote 200ei 180.40.7.2 remote 200    100 R3(config-router)#nei 208.28.1.1 remote 300 R3(config-router)#nei 17.80.1.2 remote 100 R3(config-router)#net 30.0.0.0.  R3(config-router)# RACK9AS>4 [Resuming connection 4 to r4 ... ] 19:2 R4#configt Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#no auto R4(config-router)#nei 17.80.1.1 remote 100 R4(config-router)#net 17.80.1.0 8mask mask mask 255.255.255.0 R4(config-router)#net 40.0.00 .0 R4(config-router)# RACK9AS>3 [Resuming connection 3 to r3 ... ] *M R3(config-router)#do sh ip bgp sum BGP router identifier 30.1.1.1, local AS number 100 BGP table version is 1, main routing table version 1 15 network entries using 1515 bytes of memory 27 path entries using 1296 bytes of memory 7 BGP path attribute entries using 420 bytes of memory 3 BGP AS-PATH entries using 72 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3303 total bytes of memory BGP activity 15/0 prefixes, 27/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.2 4 100 0 0 0 0 0 never Active 180.40.7.2 4 100 8 3 0 0 0 00:00:54 14 208.28.1.1 4 300 8 3 0 0 0 00:00:37 12 R3(config-router)# *Mar 1 22:01:34.340: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Up R3(config-router)#do sh ip bgp sum BGP router identifier 30.1.1.1, local AS number 100 BGP table version is 23, main routing table version 23 17 network entries using 1717 bytes of memory 29 path entries using 1392 bytes of memory 7 BGP path attribute entries using 420 bytes of memory 3 BGP AS-PATH entries using 72 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3601 total bytes of memory BGP activity 17/0 prefixes, 29/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.2 4 100 6 10 23 0 0 00:01:12 2 180.40.7.2 4 100 10 11 23 0 0 00:02:09 14 208.28.1.1 4 300 10 9 23 0 0 00:01:52 12 R3(config-router)#do sh ip bgp sum    BGP table version is 25, 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 *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.66 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 0 300 i * i 180.40.7.66 0 100 0 300 i *> 17.57.101.0/24 208.28.1.1 0 300 i * i 180.40.7.66 0 100 0 300 i *> 17.57.102.0/24 208.28.1.1 0 300 i * i 180.40.7.66 0 100 0 300 i *> 17.57.103.0/24 208.28.1.1 0 300 i * i 180.40.7.66 0 100 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 0 300 200 i * i 208.28.1.130 0 100 0 200 i *> 60.0.0.0 208.28.1.1 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path * i 180.40.7.66 0 100 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i *> 180.40.7.64/27 208.28.1.1 0 0 300 i * i 180.40.7.66 0 100 0 300 i *> 180.40.7.128/27 208.28.1.1 0 0 300 i * i 180.40.7.66 0 100 0 300 i r> 208.28.1.0/29 208.28.1.1 0 0 300 i r i 180.40.7.66 0 100 0 300 i *> 208.28.1.64/28 208.28.1.1 0 0 300 i * i 180.40.7.66 0 100 0 300 i *> 208.28.1.128/27 208.28.1.1 0 300 200 i * i 208.28.1.130 0 100 0 200 i R3(config-router)# RACK9AS>4 [Resuming connection 4 to r4 ... ] 22: R4(config-router)#do sh ip bgp BGP table version is 4, 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 208.28.1.1 0 100 0 300 i * i17.57.100.0/24 208.28.1.1 0 100 0 300 i * i17.57.101.0/24 208.28.1.1 0 100 0 300 i * i17.57.102.0/24 208.28.1.1 0 100 0 300 i * i17.57.103.0/24 208.28.1.1 0 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i * i60.0.0.0 208.28.1.1 0 100 0 300 i * i180.40.7.64/27 208.28.1.1 0 100 0 300 i * i180.40.7.128/27 208.28.1.1 0 100 0 300 i * i208.28.1.0/29 208.28.1.1 0 100 0 300 i * i208.28.1.64/28 208.28.1.1 0 100 0 300 i R4(config-router)# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3(config-router)#do sh ip bgp sumnet 30.0.0.0 i 17.80.1.2 remote 100208.28.1.1 remote 30017.80.1.2 remote 100           rou R3(config-router)#nei 17.80.1.2 route-r R3(config-router)#nei 17.80.1.2 route-reflector-client R3(config-router)# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4(config-router)# 22:08:51: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Down Peer closed the session R4(config-router)#do sh ip bgp BGP table version is 5, 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 *> 17.80.1.0/24 0.0.0.0 0 32768 i *> 40.0.0.0 0.0.0.0 0 32768 i R4(config-router)# 22:09:19: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Up R4(config-router)#do sh ip bgp BGP table version is 6, 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 208.28.1.1 0 100 0 300 i * i17.57.100.0/24 208.28.1.1 0 100 0 300 i * i17.57.101.0/24 208.28.1.1 0 100 0 300 i * i17.57.102.0/24 208.28.1.1 0 100 0 300 i * i17.57.103.0/24 208.28.1.1 0 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i * i20.0.0.0 180.40.7.2 0 100 0 i *>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 208.28.1.1 0 100 0 300 200 i * i60.0.0.0 208.28.1.1 0 100 0 300 i * i180.40.7.0/27 180.40.7.2 0 100 0 i * i180.40.7.64/27 208.28.1.1 0 100 0 300 i * i180.40.7.128/27 208.28.1.1 0 100 0 300 i * i208.28.1.0/29 208.28.1.1 0 100 0 300 i * i208.28.1.64/28 208.28.1.1 0 100 0 300 i * i208.28.1.128/27 208.28.1.1 0 100 0 300 200 i R4(config-router)# RACK9AS>2 [Resuming connection 2 to r2 ... ] *Ma R2(config-router)#do sh ip bgp BGP table version is 19, 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 208.28.1.1 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 208.28.1.1 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 * i17.57.101.0/24 208.28.1.1 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 * i17.57.102.0/24 208.28.1.1 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 * i17.57.103.0/24 208.28.1.1 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.80.1.0/24 17.80.1.2 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i *>i30.0.0.0 180.40.7.3 0 100 0 i * i40.0.0.0 17.80.1.2 0 100 0 i * i50.0.0.0 208.28.1.1 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 0 200 i * i60.0.0.0 208.28.1.1 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 r i180.40.7.64/27 208.28.1.1 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 0 200 300 i r i180.40.7.128/27 208.28.1.1 0 100 0 300 i r> 180.40.7.66 0 0 300 i --More--   R2(config-router)# RACK9AS>3 [Resuming connection 3 to r3 ... ] * R3(config-router)#nei 17.80.1.2 route-reflector-client                        ne 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)# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4(config-router)#do sh ip bgp BGP table version is 16, 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 0 100 0 300 i *>i17.57.102.0/24 17.80.1.1 0 100 0 300 i *>i17.57.103.0/24 17.80.1.1 0 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i * i20.0.0.0 180.40.7.2 0 100 0 i *>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 208.28.1.130 0 100 0 200 i *>i60.0.0.0 17.80.1.1 0 100 0 300 i * i180.40.7.0/27 180.40.7.2 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 0 100 0 300 200 i R4(config-router)#   RACK9AS>3 [Resuming connection 3 to r3 ... ] R3(config-router)#nei 17.80.1.2 next-hop-self nnei 17.80.1.2 next-hop-self onei 17.80.1.2 next-hop-self  nei 17.80.1.2 next-hop-self  R3(config-router)# RACK9AS>2 [Resuming connection 2 to r2 ... ] R2(config-router)#do sh ip bgp do sh ip bgpnet 180.40.7.0 mask 255.255.255.22420.0.0.0 i 180.40.7.3 remote 100          nex R2(config-router)#nei 180.40.7.3 next-hop-s R2(config-router)#nei 180.40.7.3 next-hop-self R2(config-router)#exit R2(config)#route R2(config)#route- R2(config)#route-map ToR3 R2(config-route-map)#set ip ? address Specify IP address default Set default information df Set DF bit next-hop Next hop address precedence Set precedence field qos-group Set QOS Group ID tos Set type of service field R2(config-route-map)#set ip > nue R2(config-route-map)#set ip nue  ex R2(config-route-map)#set ip next-hop ? A.B.C.D IP address of next hop peer-address Use peer address (for BGP only) verify-availability Verify if nexthop is a CDP neighbor R2(config-route-map)#set ip next-hop peer R2(config-route-map)#set ip next-hop peer-address > ? R2(config-route-map)#set ip next-hop peer-address R2(config-route-map)#router bgp 100 R2(config-router)#nei 180.40.7.3 rout R2(config-router)#nei 180.40.7.3 route-m R2(config-router)#nei 180.40.7.3 route-map ToR3 in R2(config-router)#do sh ip bgp BGP table version is 19, 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 208.28.1.1 0 100 0 300 i *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 208.28.1.1 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 * i17.57.101.0/24 208.28.1.1 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 * i17.57.102.0/24 208.28.1.1 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 * i17.57.103.0/24 208.28.1.1 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.80.1.0/24 17.80.1.2 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i *>i30.0.0.0 180.40.7.3 0 100 0 i * i40.0.0.0 17.80.1.2 0 100 0 i * 50.0.0.0 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i *> 208.28.1.130 0 0 200 i * i60.0.0.0 208.28.1.1 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 r i180.40.7.64/27 208.28.1.1 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 0 200 300 i r i180.40.7.128/27 208.28.1.1 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i --More--   R2(config-router)#c do clea ip bgp * in R2(config-router)#do clea ip bgp * insh ip bgp  BGP table version is 21, 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 *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * 50.0.0.0 180.40.7.66 0 300 200 i * 180.40.7.130 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 *> 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 r i180.40.7.64/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 0 200 300 i r i180.40.7.128/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i --More--   R2(config-router)#^x4 ^ % Invalid input detected at '^' marker. R2(config-router)# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4(config-router)#exit R4(config)#route-map R ToR3 R4(config-route-map)#set ip nex R4(config-route-map)#set ip next-hop pr ^ % Invalid input detected at '^' marker. R4(config-route-map)#set ip next-hop pr  R4(config-route-map)# R4(config-route-map)#set ip next-hop p R4(config-route-map)#set ip next-hop peer-address   R4(config-route-map)#router bgp 100 R4(config-router)#nei 17.80.1.1 rout R4(config-router)#nei 17.80.1.1 route-m R4(config-router)#nei 17.80.1.1 route-map ToR23  3 in R4(config-router)#^Z R4#cle 22:17:32: %SYS-5-CONFIG_I: Configured from console by console R4#clea ip bgp * in R4#sh ip bgp BGP table version is 56, 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 0 100 0 300 i *>i17.57.102.0/24 17.80.1.1 0 100 0 300 i *>i17.57.103.0/24 17.80.1.1 0 100 0 300 i *> 17.80.1.0/24 0.0.0.0 0 32768 i *>i20.0.0.0 17.80.1.1 0 100 0 i *>i30.0.0.0 17.80.1.1 0 100 0 i *> 40.0.0.0 0.0.0.0 0 32768 i *>i50.0.0.0 17.80.1.1 0 100 0 200 i *>i60.0.0.0 17.80.1.1 0 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 0 100 0 200 i R4# 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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 17.0.0.0/24 is subnetted, 5 subnets C 17.80.1.0 is directly connected, FastEthernet0/0 B 17.57.100.0 [200/0] via 17.80.1.1, 00:00:15 B 17.57.101.0 [200/0] via 17.80.1.1, 00:00:15 B 17.57.102.0 [200/0] via 17.80.1.1, 00:00:15 B 17.57.103.0 [200/0] via 17.80.1.1, 00:00:15 B 50.0.0.0/8 [200/0] via 17.80.1.1, 00:00:15 B 20.0.0.0/8 [200/0] via 17.80.1.1, 00:00:15 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:15 208.28.1.0/24 is variably subnetted, 3 subnets, 3 masks B 208.28.1.128/27 [200/0] via 17.80.1.1, 00:00:16 B 208.28.1.64/28 [200/0] via 17.80.1.1, 00:00:16 --More--  B 208.28.1.0/29 [200/0] via 17.80.1.1, 00:00:17 C 192.10.32.0/24 is directly connected, ATM1/0 180.40.0.0/27 is subnetted, 3 subnets B 180.40.7.128 [200/0] via 17.80.1.1, 00:00:17 B 180.40.7.0 [200/0] via 17.80.1.1, 00:00:17 B 180.40.7.64 [200/0] via 17.80.1.1, 00:00:17 B 60.0.0.0/8 [200/0] via 17.80.1.1, 00:00:17 B 30.0.0.0/8 [200/0] via 17.80.1.1, 00:08:35 R4#pin 60.1.1.1.  Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 60.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 60/60/60 ms R4#ping 50.1.1.1.1   Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 50.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms R4# RACK9AS>1 [Resuming connection 1 to r1 ... ] *Ma R1#sh run | b router      bgp router bgp 300 no synchronization 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 no auto-summary ! no ip http server ip classless ! ! ! ! ! ! --More--   R1# RACK9AS>2 [Resuming connection 2 to r2 ... ] R2(config-router)#^Z R2#sh *Mar 1 22:17:01.608: %SYS-5-CONFIG_I: Configured from console by console R2#sh run | b bgp router bgp 100 no synchronization 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 ToR3 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 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! route-map ToR3 permit 10 set ip next-hop peer-address ! ! --More--   R2# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3(config-router)#^Z R3#sh run | b *Mar 1 22:17:21.845: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b bgp router bgp 100 no synchronization bgp log-neighbor-changes 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 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ! ! ! ! ! dial-peer cor custom ! --More--   R3# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#sh run | b bgp router bgp 100 no synchronization bgp log-neighbor-changes network 17.80.1.0 mask 255.255.255.0 network 40.0.0.0 neighbor 17.80.1.1 remote-as 100 neighbor 17.80.1.1 route-map ToR3 in no auto-summary ! no ip http server no ip http secure-server ip classless ! ! ! route-map ToR3 permit 10 set ip next-hop peer-address ! ! ! dial-peer cor custom ! ! --More--   R4# RACK9AS>5 [Resuming connection 5 to r5 ... ] 22:01:11: %BGP-5-ADJCHANGE S5#sh run | b bgp router bgp 200 no synchronization bgp log-neighbor-changes network 50.0.0.0 network 208.28.1.128 mask 255.255.255.224 neighbor 208.28.1.66 remote-as 300 neighbor 208.28.1.129 remote-as 100 no auto-summary ! ip classless ip http server ip http secure-server ! ! ! control-plane ! alias exec configt config t alias exec ct config t ! line con 0 exec-timeout 0 0 logging synchronous --More--   S5# RACK9AS>6 [Resuming connection 6 to r6 ... ] 21:57 S6#sh run | b b gp S6#sh run | b b gp   gp router bgp 300 no synchronization 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 neighbor 17.57.100.1 remote-as 300 no auto-summary ! ip classless ip http server ip http secure-server ! ! ! control-plane ! alias exec configt config t alias exec ct config t ! line con 0 --More--   S6# RACK9AS>2 [Resuming connection 2 to r2 ... ] R2#configt Enter configuration commands, one per line. End with CNTL/Z. R2(config)#config t ^ % Invalid input detected at '^' marker. R2(config)#ip as 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 ? LINE A regular-expression to match BGP AS paths. Use "ctrl-v ?" to enter "?" R2(config)#ip as-path access-list 1 per ^200$   (_\1)*$ % invalid Back reference R2(config)#ip as-path access-list 1 per ^200(_\1)*$_\1)*$^(200(_\1)*$200)(_\1)*$(_\1)*$ R2(config)#route-map R2(config)#route-map Prob3 2 R2(config-route-map)#match ? as-path Match BGP AS path list clns CLNS information community Match BGP community list extcommunity Match BGP/VPN extended community list interface Match first hop interface of route ip IP specific information ipv6 IPv6 specific information length Packet length metric Match metric of route mpls-label Match routes which have MPLS labels nlri BGP NLRI type policy-list Match IP policy list route-type Match route-type of route tag Match tag of route 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 ? <1-500> AS path access-list R2(config-route-map)#match as-path 1 R2(config-route-map)#set lo R2(config-route-map)#set local-preference ? <0-4294967295> Preference value R2(config-route-map)#set local-preference 90 R2(config-route-map)#set local-preference 90match as-path 1 route-map Prob2  20 R2(config-route-map)#router bgp 100 R2(config-router)#nei 2082 .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 bgp *Mar 1 22:23:19.111: %SYS-5-CONFIG_I: Configured from console by console R2#sh ip bgp BGP table version is 21, 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 *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * 50.0.0.0 180.40.7.66 0 300 200 i * 180.40.7.130 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 *> 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 r i180.40.7.64/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 0 200 300 i r i180.40.7.128/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i --More--   R2#ship bgp reg R2#ship bgp reg  R2#ship bgp reh ip bgp reip bgp re R2#sh ip bgp regexp ? LINE A regular-expression to match BGP AS paths. Use "ctrl-v ?" to enter "?" R2#sh ip bgp regexp _200$ BGP table version is 21, 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 * 50.0.0.0 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i *> 208.28.1.130 0 0 200 i r 208.28.1.128/27 180.40.7.66 0 300 200 i r 180.40.7.130 0 300 200 i r> 208.28.1.130 0 0 200 i R2#clea ip bgp * in R2#clea ip bgp * insh ip bgp regexp _200$ 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 *> 50.0.0.0 180.40.7.66 0 300 200 i * 180.40.7.130 0 300 200 i * 208.28.1.130 0 90 0 200 i r> 208.28.1.128/27 180.40.7.66 0 300 200 i r 180.40.7.130 0 300 200 i r 208.28.1.130 0 90 0 200 i R2#sh run | b router      bgp router bgp 100 no synchronization 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 ToR3 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)(_\1)*$ no ip http server no ip http secure-server ! ! route-map Prob2 permit 10 match as-path 1 --More--   set local-preference 90 ! route-map Prob2 permit 20 ! route-map ToR3 permit 10 set ip next-hop peer-address ! ! ! ! ! ! dial-peer cor custom ! ! ! ! alias exec configt config t alias exec ct config t ! line con 0 exec-timeout 0 0 logging synchronous --More--   R2#sh access-list R2#conffi      ct Enter configuration commands, one per line. End with CNTL/Z. R2(config)#access-list 21  1 per 17.57.100.0 R2(config)#access-list 1 per 17.57.100.00.0 1.0 per 17.57.101.0 2 per 17.57.101.0 R2(config)#route-map R2(config)#route-map Prob3a R2(config-route-map)#match ip add 1 R2(config-route-map)#set we R2(config-route-map)#set weight 100 R2(config-route-map)#set weight 100match ip add 1route-map Prob3a 20 R2(config-route-map)#route-map Prob3a 20set weight 100 match ip add 1route-map Prob3a b R2(config-route-map)#route-map Prob3ba 20set weight 100 match ip add 1route-map Prob3amatch ip add 1  2 R2(config-route-map)#match ip add 2route-map Prob3ba 20set weight 100  1 R2(config-route-map)#set weight 101match ip add 2route-map Prob3b 20 R2(config-route-map)#router bgp 100 R2(config-router)#neu i 180.40.7.66 % Incomplete command. R2(config-router)#nei 180.40.7.66 route   R2(config-router)#nei 180.40.7.66 route-m R2(config-router)#nei 180.40.7.66 route-map Prob3a in R2(config-router)#nei 180.40.7.66 route-map Prob3a in in b in route-map Prob3b in  route-map Prob3b in 1 route-map Prob3b in3 route-map Prob3b in0 route-map Prob3b in R2(config-router)#^Z R2#clea ip *Mar 1 22:29:26.505: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip gbp * in ^ % Invalid input detected at '^' marker. R2#clea ip gbp * in * in  * in  * in b * ing * inp * in R2#sh ip bgp * reg ^300$ BGP table version is 25, 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 *> 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 *> 180.40.7.66 100 300 i * 180.40.7.130 0 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.66 0 300 i *> 180.40.7.130 101 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 *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * i60.0.0.0 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i --More--   R2#w sh ip bgp reg ^300$300$ _300$ BGP table version is 25, 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 *> 180.40.7.66 0 0 300 i * 180.40.7.130 0 0 300 i * 208.28.1.130 0 200 300 i * i17.57.100.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 100 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.66 0 300 i *> 180.40.7.130 101 300 i * 208.28.1.130 0 200 300 i * i17.57.102.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 0 300 i * 180.40.7.130 0 300 i * 208.28.1.130 0 200 300 i * i17.57.103.0/24 180.40.7.3 0 100 0 300 i --More--   R2# R2#shj    h run| b bgp ^ % Invalid input detected at '^' marker. R2#sh run| b bgp | b bgp router bgp 100 no synchronization 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 ToR3 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 ! ip classless ! ip as-path access-list 1 permit ^(200)(_\1)*$ no ip http server no ip http secure-server ! access-list 1 permit 17.57.100.0 --More--  access-list 2 permit 17.57.101.0 ! route-map Prob2 permit 10 match as-path 1 set local-preference 90 ! route-map Prob2 permit 20 ! route-map ToR3 permit 10 set ip next-hop peer-address ! route-map Prob3a permit 10 match ip address 1 set weight 100 ! route-map Prob3a permit 20 ! route-map Prob3b permit 10 match ip address 2 set weight 101 ! route-map Prob3b permit 20 ! --More--   R2# RACK9AS>1 [Resuming connection 1 to r1 ... ] R1# R1#cofng     ct Enter configuration commands, one per line. End with CNTL/Z. R1(config)#do sh access-lsis   ist R1(config)#access-list 1 per 17.57.102.0 R1(config)#route R1(config)#route-m R1(config)#route-map prob4rob4 Prob4rob4 R1(config-route-map)#match ip add 1 R1(config-route-map)#set as R1(config-route-map)#set as-path p R1(config-route-map)#set as-path prepend 300 300 300 R1(config-route-map)#set as-path prepend 300 300 300match ip add 1 route-map Prob4 20 R1(config-route-map)#router bgp 1 300 R1(config-router)#nei 208.28.1.65 route R1(config-router)#nei 208.28.1.65 route-m R1(config-router)#nei 208.28.1.65 route-map Prob4 out R1(config-router)#^Z R1# *Mar 1 22:36:39.103: %SYS-5-CONF RACK9AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp BGP table version is 24, local router ID is 50.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 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i * 17.57.100.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.101.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.102.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i * 17.57.103.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 17.80.1.0/24 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i *> 40.0.0.0 208.28.1.129 0 100 i --More--   S5#clea ipbg *     bgp 8 * oin   in S5#clea ip bgp * insh ip bgp  BGP table version is 25, local router ID is 50.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 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 i * 17.57.103.0/24 208.28.1.129 0 100 300 i *> 208.28.1.66 0 300 i *> 17.80.1.0/24 208.28.1.129 0 100 i * 208.28.1.66 0 300 100 i * 20.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 0 100 i * 30.0.0.0 208.28.1.66 0 300 100 i *> 208.28.1.129 0 100 i *> 40.0.0.0 208.28.1.129 0 100 i --More--   S5# RACK9AS>1 [Resuming connection 1 to r1 ... ] IG_I: Configured from console by console R1#sh run | b bgp router bgp 300 no synchronization 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 Prob4 out no auto-summary ! no ip http server ip classless ! ! access-list 1 permit 17.57.102.0 ! route-map Prob4 permit 10 --More--   match ip address 1 set as-path prepend 300 300 300 ! route-map Prob4 permit 20 ! ! ! ! dial-peer cor custom ! ! ! alias exec configt config t alias exec ct config t ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! --More--   R1# RACK9AS>2 [Resuming connection 2 to r2 ... ] R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# R2(config)#router bgp 100 R2(config-router)#m 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--   scan-time Configure background scanner interval 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 R2(config-router)#bgp     be R2(config-router)#bes R2(config-router)#bes   ? 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 med ? confed Compare MED among confederation paths missing-as-worst Treat missing MED as the least preferred one R2(config-router)# bgp bestpath med mi R2(config-router)# bgp bestpath med missing-as-worst ? R2(config-router)# bgp bestpath med missing-as-worst R2(config-router)#^Z R2#cela ip *Mar 1 22:38:50.778: %SYS-5-CONFIG_I: Configured from console by console R2#cela ip        lea      sh ip bgp BGP table version is 25, 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 *> 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 * i17.57.100.0/24 180.40.7.3 0 100 0 300 i *> 180.40.7.66 4294967295 100 300 i * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i * i17.57.101.0/24 180.40.7.3 0 100 0 300 i * 180.40.7.66 4294967295 0 300 i *> 180.40.7.130 4294967295 101 300 i * 208.28.1.130 4294967295 0 200 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 *> 180.40.7.66 4294967295 0 300 i --More--   Network Next Hop Metric LocPrf Weight Path * 180.40.7.130 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *>i17.80.1.0/24 180.40.7.3 0 100 0 i *> 20.0.0.0 0.0.0.0 0 32768 i *>i30.0.0.0 180.40.7.3 0 100 0 i *>i40.0.0.0 180.40.7.3 0 100 0 i * i50.0.0.0 180.40.7.3 0 100 0 300 200 i *> 180.40.7.66 4294967295 0 300 200 i * 180.40.7.130 4294967295 0 300 200 i * 208.28.1.130 0 90 0 200 i * i60.0.0.0 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 * 208.28.1.130 4294967295 0 200 300 i *> 180.40.7.0/27 0.0.0.0 0 32768 i r i180.40.7.64/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i r 208.28.1.130 4294967295 0 200 300 i r i180.40.7.128/27 180.40.7.3 0 100 0 300 i r> 180.40.7.66 0 0 300 i r 180.40.7.130 0 0 300 i --More--   R2#cel  lea ip bgpo    * R2# *Mar 1 22:39:17.638: %BGP-5-ADJCHAN RACK9AS>3 [Resuming connection 3 to r3 ... ] *M R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#routerbgp      bgp 100 R3(config-router)# bgp bestpath med missing-as-worst R3(config-router)#^Z R3#cela    *Mar 1 22:39:28.007: %SYS-5-CONFIG_I: Configured from console by console R3#clea ip bgp * R3# RACK9AS>1 [Resuming connection 1 to r1 ... ] *Ma R1# *Mar 1 22:40:30.065: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Down Peer closed the session R1# *Mar 1 22:40:43.776: %BGP-5-ADJCHANGE: neighbor 180.40.7.65 Up R1#conf *Mar 1 22:40:47.710: %BGP-5-ADJCHANGE: neighbor 180.40.7.129 Up R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#route-map Prob5 R1(config-route-map)#match ip add 1 R1(config-route-map)#do sh acces-list sh acces-list ^ % Invalid input detected at '^' marker. R1(config-route-map)#do sh acces-lists-list Standard IP access list 1 10 permit 17.57.102.0 (1 match) R1(config-route-map)#set me *Mar 1 22:41:11.117: %BGP-5-ADJCHANGE: neighbor 208.28.1.2 Up 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 11111 R1(config-route-map)#set metric 11111do sh access-list-list match ip add 1 route-map Prob5 20 R1(config-route-map)#router bgp 300 R1(config-router)#nei 208.8 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)#^Z R1#cl *Mar 1 22:41:55.586: %SYS-5-CONFIG_I: Configured from console by console R1#clea ip bg * opu  ut R1# RACK9AS>3 [Resuming connection 3 to r3 ... ] *Ma R3#sh ip bgp BGP table version is 34, 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 *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i *> 17.57.103.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i --More-- RACK9AS>2 [Resuming connection 2 to r2 ... ] GE: neighbor 180.40.7.3 Down User reset *Mar 1 22:39:17.638: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Down User reset *Mar 1 22:39:17.638: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Down User reset *Mar 1 22:39:17.642: %BGP-5-ADJCH R2#sh 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 * i10.0.0.0 180.40.7.3 0 100 0 300 i * 180.40.7.130 0 0 300 i *> 180.40.7.66 0 0 300 i * 208.28.1.130 4294967295 0 200 300 i * i17.57.100.0/24 180.40.7.3 4294967295 100 0 300 i * 180.40.7.130 4294967295 0 300 i *> 180.40.7.66 4294967295 100 300 i * 208.28.1.130 4294967295 0 200 300 i * i17.57.101.0/24 180.40.7.3 4294967295 100 0 300 i *> 180.40.7.130 4294967295 101 300 i * 180.40.7.66 4294967295 0 300 i * 208.28.1.130 4294967295 0 200 300 i *>i17.57.102.0/24 180.40.7.3 11111 100 0 300 i * 180.40.7.130 4294967295 0 300 i * 180.40.7.66 4294967295 0 300 i * i17.57.103.0/24 180.40.7.3 4294967295 100 0 300 i * 180.40.7.130 4294967295 0 300 i --More--   R2#a sh run | b bgp 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 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 route-map 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 ! ip classless ! ip as-path access-list 1 permit ^(200)(_\1)*$ no ip http server no ip http secure-server ! --More--   R2# RACK9AS>3 [Resuming connection 3 to r3 ... ]  r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More--  *> 180.40.7.64/27 208.28.1.1 0 0 300 i --More--   R3#sh run | b bgp 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 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ! ! ! ! ! dial-peer cor custom --More--   R3# RACK9AS>1 [Resuming connection 1 to r1 ... ] R1#sh run | b bgp router bgp 300 no synchronization 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 Prob4 out no auto-summary ! no ip http server ip classless ! ! access-list 1 permit 17.57.102.0 ! --More--  route-map Prob5 permit 10 match ip address 1 set metric 11111 ! route-map Prob5 permit 20 ! route-map Prob4 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map Prob4 permit 20 ! ! ! ! dial-peer cor custom ! ! ! alias exec configt config t alias exec ct config t ! line con 0 --More--   R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#access-list 2 per   deb   n 17.57  57.103.0 R1(config)#access-list 2 per any R1(config)#routeer    r bgp 100   200 BGP is already running; AS is 300 R1(config)#router bgp 200   300 R1(config-router)#nei 180.4.0  0.7.129 dis R1(config-router)#nei 180.40.7.129 dist R1(config-router)#nei 180.40.7.129 distribute-list 2 ? in Filter incoming updates out Filter outgoing updates R1(config-router)#nei 180.40.7.129 distribute-list 2 out R1(config-router)#nei 180.40.7.129 distribute-list 2 out9 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 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  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)#do clea ip bgp * out R1(config-router)# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip nbg   n   bgp BGP table version is 36, 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 *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i *>i17.57.103.0/24 180.40.7.2 4294967295 100 0 200 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More--   R3#o RACK9AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#exit R1(config)#exitdo clea ip bgp * outnei 208.28.1.2 distribute-list 2 out180.40.7.65 distribute-list 2 out129 distribute-list 2 outrouter bgp 300 200access-list 2 per anyden 17.57.103.0 17.57.103.0  17.57.103.0  17.57.103.0 p 17.57.103.0e 17.57.103.0r 17.57.103.02 per 17.57.103.0 3 per 17.57.103.0 R1(config)#do sh run | b bgp router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 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 Prob4 out no auto-summary ! no ip http server ip classless ! --More--  ! access-list 1 permit 17.57.102.0 access-list 2 deny 17.57.103.0 access-list 2 permit any access-list 3 permit 17.57.103.0 ! route-map Prob5 permit 10 match ip address 1 set metric 11111 ! route-map Prob5 permit 20 ! route-map Prob4 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map Prob4 permit 20 ! ! ! ! dial-peer cor custom ! --More--   R1(config)#route-map Prob4 permit 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 R1(config-route-map)#set community noe R1(config-route-map)#set community noe -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 Prob4 permit 20  30 R1(config-route-map)#cl  do cle ip bgp * out R1(config-route-map)# RACK9AS>3 [Resuming connection 3 to r3 ... ] sh ip bgp BGP table version is 36, 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 *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i *>i17.57.103.0/24 180.40.7.2 4294967295 100 0 200 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More--   R3# RACK9AS>5 [Resuming connection 5 to r5 ... ] 22:4 S5#sh ip bgp BGP table version is 42, local router ID is 50.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 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 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 *> 208.28.1.129 0 100 i --More--   S5#sh ip bgp  17.57.0 10. 3.0 BGP routing table entry for 17.57.103.0/24, version 6 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to update-groups: 1 300 208.28.1.66 from 208.28.1.66 (10.1.1.1) Origin IGP, localpref 100, valid, external, best S5#sh ip bgp 17.57.103.0           ? 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 all All address families 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 extcommunity-list Display routes matching the extcommunity-list 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 ipv6 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 replication Display replication status of update-group(s) rib-failure Display bgp routes that failed to install in the routing --More--   S5#sh ip bgp com ? <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 com no-ex S5#sh ip bgp com no-export S5# RACK9AS>1 [Resuming connection 1 to r1 ... ] R1(config-route-map)#routert    bgp 300 R1(config-router)#nei 208.28.1.65 sen R1(config-router)#nei 208.28.1.65 send-c R1(config-router)#nei 208.28.1.65 send-community ? both Send Standard and Extended Community attributes extended Send Extended Community attribute standard Send Standard Community attribute R1(config-router)#nei 208.28.1.65 send-community R1(config-router)#nei 208.28.1.65 send-community router bgp 300 do cle ip bgp * out R1(config-router)# RACK9AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp com no-export BGP table version is 43, local router ID is 50.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 *> 17.57.103.0/24 208.28.1.66 0 300 i S5#sh ip bgp com no-export 17.57.103.0  17.57.103.0 BGP routing table entry for 17.57.103.0/24, version 43 Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised to EBGP peer) Flag: 0x880 Not advertised to any peer 300 208.28.1.66 from 208.28.1.66 (10.1.1.1) Origin IGP, localpref 100, valid, external, best Community: no-export S5# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 37, 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 *> 10.0.0.0 208.28.1.1 0 0 300 i * i 180.40.7.2 0 100 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i r>i17.80.1.0/24 17.80.1.2 0 100 0 i *>i20.0.0.0 180.40.7.2 0 100 0 i *> 30.0.0.0 0.0.0.0 0 32768 i *>i40.0.0.0 17.80.1.2 0 100 0 i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i * i 180.40.7.2 4294967295 100 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i * i 180.40.7.2 4294967295 100 0 300 i r>i180.40.7.0/27 180.40.7.2 0 100 0 i *> 180.40.7.64/27 208.28.1.1 0 0 300 i --More--   R3# RACK9AS>1 [Resuming connection 1 to r1 ... ] R1(config-router)#^Z R1#sh run | *Mar 1 22:57:13.374: %SYS-5-CONFIG_I: Configured from console by console R1#sh run | b bgp router bgp 300 no synchronization bgp log-neighbor-changes network 10.0.0.0 network 180.40.7.64 mask 255.255.255.224 network 180.40.7.128 mask 255.255.255.224 network 208.28.1.0 mask 255.255.255.248 network 208.28.1.64 mask 255.255.255.240 neighbor 17.57.100.2 remote-as 300 neighbor 180.40.7.65 remote-as 100 neighbor 180.40.7.65 distribute-list 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 Prob4 out no auto-summary ! no ip http server ip classless --More--  ! ! access-list 1 permit 17.57.102.0 access-list 2 deny 17.57.103.0 access-list 2 permit any access-list 3 permit 17.57.103.0 ! route-map Prob5 permit 10 match ip address 1 set metric 11111 ! route-map Prob5 permit 20 ! route-map Prob4 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map Prob4 permit 20 match ip address 3 set community no-export ! route-map Prob4 permit 30 ! --More--  ! ! ! dial-peer cor custom ! ! ! alias exec configt config t alias exec ct config t ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 login ! ! end R1# R1# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b bgp 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 208.28.1.1 remote-as 300 no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ! ! ! ! ! dial-peer cor custom --More--   R3#confi      rt Translating "crt" Translating "crt" % Unknown command or computer name, or unable to find computer address R3#crt  t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 R3(config-router)#no    nei ? A.B.C.D Neighbor address WORD Neighbor tag X:X:X:X::X Neighbor IPv6 address R3(config-router)#nei Prob    AS100in ? activate Enable the Address Family for this Neighbor advertise-map specify route-map for conditional advertisement advertisement-interval Minimum interval between sending BGP routing updates allowas-in Accept as-path with my AS present in it capability Advertise capability to the peer default-originate Originate default route to this neighbor description Neighbor specific description disable-connected-check One-hop away EBGP peer using loopback address distribute-list Filter updates to/from this neighbor dmzlink-bw Propagate the DMZ link bandwidth ebgp-multihop Allow EBGP neighbors not on directly connected networks filter-list Establish BGP filters local-as Specify a local-as number maximum-prefix Maximum number of prefixes accepted from this peer next-hop-self Disable the next hop calculation for this neighbor next-hop-unchanged Propagate the iBGP paths's next hop unchanged for this neighbor password Set a password peer-group Configure peer-group prefix-list Filter updates to/from this neighbor remote-as Specify a BGP neighbor --More--   R3(config-router)#nei AS100in pee R3(config-router)#nei AS100in peer-group ? nlri Specify nlri type supported by peer-group R3(config-router)#nei AS100in peer-group R3(config-router)#nei AS100in peer-group            ? activate Enable the Address Family for this Neighbor advertise-map specify route-map for conditional advertisement advertisement-interval Minimum interval between sending BGP routing updates allowas-in Accept as-path with my AS present in it capability Advertise capability to the peer default-originate Originate default route to this neighbor description Neighbor specific description disable-connected-check One-hop away EBGP peer using loopback address distribute-list Filter updates to/from this neighbor dmzlink-bw Propagate the DMZ link bandwidth ebgp-multihop Allow EBGP neighbors not on directly connected networks filter-list Establish BGP filters local-as Specify a local-as number maximum-prefix Maximum number of prefixes accepted from this peer next-hop-self Disable the next hop calculation for this neighbor next-hop-unchanged Propagate the iBGP paths's next hop unchanged for this neighbor password Set a password peer-group Configure peer-group prefix-list Filter updates to/from this neighbor remote-as Specify a BGP neighbor --More--   R3(config-router)#nei AS100in remote 100 R3(config-router)#nei AS100in remote 100   rout R3(config-router)#nei AS100in remote rout  R3(config-router)#nei AS100in remote rou         ou R3(config-router)#nei AS100in route-e r R3(config-router)#nei AS100in route-reflector-client R3(config-router)#nei 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)#nei 17.80.1.2 peer  R3(config-router)#nei 17.80.1.2 peer ? WORD peer-group name R3(config-router)#nei 17.80.1.2 peer AS100in R3(config-router)#nei 17.80.1.2 peer AS100in *Mar 1 22:58:55.866: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Down Member added to peergroup R3(config-router)#nei 17.80.1.2 peer AS100in peer AS100in  peer AS100in  peer AS100in  peer AS100in  peer AS100in  peer AS100in  peer AS100in  peer AS100in 8 peer AS100in0 peer AS100in. peer AS100in4 peer AS100in. peer AS100in peer AS100in 0 peer AS100in. peer AS100in7 peer AS100in. peer AS100in2 peer AS100in R3(config-router)# *Mar 1 22:59:06.054: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down Member added to peergroup R3(config-router)#^Z R3#sh r *Mar 1 22:59:07.324: %SYS-5-CONFIG_I: Configured from console by console R3#sh run | b bgp router bgp 100 no synchronization bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor AS100in peer-group neighbor AS100in remote-as 100 neighbor AS100in route-reflector-client neighbor 17.80.1.2 peer-group AS100in neighbor 180.40.7.2 peer-group AS100in 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:59:23.038: %BGP-5-ADJCHANGE: neighbor 17.80.1.2 Up --More-- *Mar 1 22:59:34.517: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up --More--   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 description permit Specify packets to forward seq sequence number of an entry R3(config)#ip prefix-list Prob8 den 17.80.                                RACK9AS>4 [Resuming connection 4 to r4 ... ] 22: R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#agg R4(config)#agg   router bgp 100 R4(config-router)#agg R4(config-router)#aggregate-address 17.80.0.0 255.255.0.0 R4(config-router)#^Z R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3(config)#dosh ip        sh iop bgp sh iop bgp ^ % Invalid input detected at '^' marker. R3(config)#do sh iop bgpp bgp \p bgp sh i\p bgp ^ % Invalid input detected at '^' marker. R3(config)#do sh i\p bgpp bgp  BGP table version is 48, 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.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/16 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 r>i180.40.7.0/27 180.40.7.2 0 100 0 i --More--   R3(config)#ip pr R3(config)#ip prefix-list Pr ob8 den 17.80.0.0/ob8 den 17.80.0.0/ ob8 den 17.80.0.0/16 ge 24 R3(config)# RACK9AS>4 [Resuming connection 4 to r4 ... ] 23: 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.0 naggregate-address 17.80.0.0 255.255.0.0 oaggregate-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.0 router bgp 100 aggregate-address 17.80.0.0 255.255.0.0 .0 2.0 5.0 4.0  R4(config-router)#^Z R4# 23:06:35: %SYS-5-CONFIG_I: Configured from console by console R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3(config)#ip prefix-list Prob8 den 17.80.0.0/16 ge 24                      per 0.0.0.0/0 le 32 R3(config)#router bgp 100 R3(config-router)#nei 208.28.1.1 pr R3(config-router)#nei 208.28.1.1 prefix-list Prob8 out R3(config-router)#^Z R3# *Mar 1 23:04:40.535: %SYS-5-CONFIG_I: Configured from console by console R3#clea ip bgp *    * outy ^ % Invalid input detected at '^' marker. R3#clea ip bgp * outy  R3#sh ip bgp nei 208.28.1.1 ad R3#sh ip bgp nei 208.28.1.1 advertised-routes BGP table version is 50, 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 *>i17.80.0.0/23 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 r>i180.40.7.0/27 180.40.7.2 0 100 0 i R3# RACK9AS>1 [Resuming connection 1 to r1 ... ] R1#sh ip bgp BGP table version is 61, 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 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.2 0 100 i *> 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 17.80.1.0/24 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# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh run | b bgp router bgp 100 no synchronization bgp log-neighbor-changes bgp bestpath med missing-as-worst network 30.0.0.0 neighbor AS100in peer-group neighbor AS100in remote-as 100 neighbor AS100in route-reflector-client neighbor 17.80.1.2 peer-group AS100in neighbor 180.40.7.2 peer-group AS100in neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 24 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 ! --More--   R3# RACK9AS>2 [Resuming connection 2 to r2 ... ] *Mar R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#access-list 100 ip      den     per ip 17.80.             den ip 17.80.0.0 0.0.255.255 255.255.2557777777777$ 100 den ip 17.80.0.0 0.0.255.255 255.255.25577777777777 777777777p 17.80.0.0 0.0.255.255 255.255.255777777777777777777777 =  \~                      .0 0.0.0.255 100 den ip 17.80.0.0 0.0.255.255 255.255.255.0 0.0.0.255 R2(config)#access-list 100 per ip any any R2(config)#router bgp 100 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 1001  out R2(config-router)#^Z R2#clea *Mar 1 23:10:08.568: %SYS-5-CONFIG_I: Configured from console by console R2#clea ip bgp * out R2#sh accs ess % Ambiguous command: "sh access" R2#sh access-l Standard IP access list 1 10 permit 17.57.100.0 (6 matches) Standard IP access list 2 10 permit 17.57.101.0 (6 matches) Extended IP access list 100 10 deny ip 17.80.0.0 0.0.255.255 255.255.255.0 0.0.0.255 (1 match) 20 permit ip any any (7 matches) R2# RACK9AS> [Resuming connection 2 to r2 ... ] R2#sh ip bgp nei 180.40.7.66 ad R2#sh ip bgp nei 180.40.7.66 advertised-routes BGP table version is 37, 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 *> 17.57.101.0/24 180.40.7.130 4294967295 101 300 i *>i17.57.102.0/24 180.40.7.3 11111 100 0 300 i *>i17.80.0.0/23 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 *> 180.40.7.0/27 0.0.0.0 0 32768 i R2#sh ip bgp nei 180.40.7.66 advertised-routes    advertised-route  advertised-route 1 advertised-route3 advertised-route0 advertised-route BGP table version is 37, 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 *> 17.57.100.0/24 180.40.7.66 4294967295 100 300 i *>i17.57.102.0/24 180.40.7.3 11111 100 0 300 i *>i17.80.0.0/23 180.40.7.3 0 100 0 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.66 4294967295 0 300 200 i *> 60.0.0.0 180.40.7.66 4294967295 0 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.128/27 180.40.7.66 0 0 300 i *> 208.28.1.0/29 180.40.7.66 0 0 300 i *> 208.28.1.64/28 180.40.7.66 0 0 300 i r> 208.28.1.128/27 180.40.7.66 4294967295 0 300 200 i R2# RACK9AS>1 [Resuming connection 1 to r1 ... ] R1#shi  ip bgp BGP table version is 62, 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 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.2 0 100 i *> 180.40.7.65 0 100 i * 180.40.7.129 0 100 i * 208.28.1.65 0 200 100 i * 17.80.1.0/24 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--   R1# RACK9AS>2 [Resuming connection 2 to r2 ... ] R2#sh run  | b  b  b bgp 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 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list 100 out 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 ! ip classless ! ip as-path access-list 1 permit ^(200)(_\1)*$ no ip http server no ip http secure-server --More--  ! --More--  access-list 1 permit 17.57.100.0 --More--  access-list 2 permit 17.57.101.0 --More--  access-list 100 deny ip 17.80.0.0 0.0.255.255 255.255.255.0 0.0.0.255 --More--  access-list 100 permit ip any any --More--  ! --More--  route-map Prob2 permit 10 --More--   R2# RACK9AS>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)# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp 20.0.0.0 BGP routing table entry for 20.0.0.0/8, version 131 Paths: (1 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer Local 17.80.1.1 from 17.80.1.1 (30.1.1.1) Origin IGP, metric 0, localpref 100, valid, internal, best Originator: 20.1.1.1, Cluster list: 30.1.1.1 R4# R4# R4# R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3(config-router)#bgp 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)#^Z R3# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#sh ip bgp 20.0.0.0 BGP routing table entry for 20.0.0.0/8, version 136 Paths: (1 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer Local 17.80.1.1 from 17.80.1.1 (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# RACK9AS>3 [Resuming connection 3 to r3 ... ] *Ma R3#sh run | b 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 AS100in peer-group neighbor AS100in remote-as 100 neighbor AS100in route-reflector-client neighbor 17.80.1.2 peer-group AS100in neighbor 180.40.7.2 peer-group AS100in neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 24 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More--   R3# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#confi Configuring from terminal, memory, or network [terminal]? g t ?Must be "terminal", "memory" or "network" R4# R4#st  ct Enter configuration commands, one per line. End with CNTL/Z. R4(config)# R4(config)#do sh int atm 1/0 ATM1/0 is up, line protocol is up Hardware is RS8234 ATMOC3 Internet address is 192.10.32.9/24 MTU 4470 bytes, sub MTU 4470, BW 155000 Kbit, DLY 80 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ATM, loopback not set Encapsulation(s): AAL5 1023 maximum active VCs, 1 current VCCs VC Auto Creation Disabled. VC idle disconnect time: 300 seconds Last input 00:01:39, output 00:01:39, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: Per VC Queueing 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 699 packets input, 39144 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 699 packets output, 33552 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 output buffer failures, 0 output buffers swapped out R4(config)#qdo sh int atm 1/0rint atm 1/0uint atm 1/0nint atm 1/0 int atm 1/0 Building configuration... Current configuration : 137 bytes ! interface ATM1/0 ip address 192.10.32.9 255.255.255.0 no atm ilmi-keepalive pvc 0/72 protocol ip 192.10.32.254 broadcast ! end R4(config)#do pin 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 bgp 210   100 R4(config-router)#nei 192.10.32.254 remote 1000 R4(config-router)#nei 192.10.32.254 remote 1000           lo R4(config-router)#nei 192.10.32.254 local-as ? <1-65535> AS number used as local AS R4(config-router)#nei 192.10.32.254 local-as 9 R4(config-router)#^Z R4# 23:19:59: %SYS-5-CONFIG_I: Configured from console by console R4# 23:20:31: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Up R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#router bgp 100 R4(config-router)#router bgp 100nei 192.10.32.254 local-as 9 ? no-prepend Do not prepend local-as to updates from ebgp peers R4(config-router)#nei 192.10.32.254 local-as 9                               ^Z R4#sh ip bgp 23:21:28: %SYS-5-CONFIG_I: Configured from console by console R4#sh ip bgp sum BGP router identifier 40.1.1.1, local AS number 100 BGP table version is 140, main routing table version 140 20 network entries using 2020 bytes of memory 20 path entries using 960 bytes of memory 8 BGP path attribute entries using 480 bytes of memory 1 BGP rrinfo entries using 24 bytes of memory 3 BGP AS-PATH entries using 72 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3556 total bytes of memory BGP activity 54/34 prefixes, 69/49 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.1 4 100 164 100 140 0 0 00:19:37 14 192.10.32.254 4 1000 4 11 140 0 0 00:00:59 3 R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 50, 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.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 9 1000 i --More--   Network Next Hop Metric LocPrf Weight Path * i129.23.0.0 192.10.32.254 0 100 0 9 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 * i203.212.1.0 192.10.32.254 0 100 0 9 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 *> 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#q  RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#rpioute       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# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp reg _1000$ BGP table version is 53, 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 *>i65.23.32.0/20 17.80.1.2 0 100 0 9 1000 i *>i129.23.0.0 17.80.1.2 0 100 0 9 1000 i *>i203.212.1.0 17.80.1.2 0 100 0 9 1000 i R3# RACK9AS>4 [Resuming connection 4 to r4 ... ] 23: R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#do sh access % Ambiguous command: "sh access" R4(config)#do sh access-li R4(config)#acccess     cess-list 1 den any R4(config)#router bgp 100 R4(config-router)#nei 192.10.32.254 distr 1 out R4(config-router)#^Z R4# 23:23:23: %SYS-5-CONFIG_I: Configured from console by console R4#celka ip         leqa ip bgp a ip bg a ip bg * out R4#^Z R4#sh run | b bgp 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.254.0 neighbor 17.80.1.1 remote-as 100 neighbor 17.80.1.1 next-hop-self neighbor 17.80.1.1 route-map ToR3 in neighbor 192.10.32.254 remote-as 1000 neighbor 192.10.32.254 local-as 9 neighbor 192.10.32.254 distribute-list 1 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! access-list 1 deny any ! route-map ToR3 permit 10 set ip next-hop peer-address --More--   R4# R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#no router bgp 100 R4(config)#router bgp 65004 R4(config-router)# no synchronization R4(config-router)# bgp log-neighbor-changes R4(config-router)# network 17.80.1.0 mask 255.255.255.0 R4(config-router)# network 40.0.0.0 R4(config-router)# aggregate-address 17.80.0.0 255.255.254.0 R4(config-router)# neighbor 17.80.1.1 remote-as 65003 R4(config-router)# neighbor 17.80.1.1 next-hop-self R4(config-router)# neighbor 17.80.1.1 route-map ToR3 in R4(config-router)# neighbor 192.10.32.254 remote-as 1000 R4(config-router)# neighbor 192.10.32.254 local-as 9 R4(config-router)# neighbor 192.10.32.254 distribute-list 1 out R4(config-router)# no auto-summary R4(config-router)#! 23:26:48: %BGP-5-ADJCHANGE: neighbor 17.80.1.1 Down BGP protocol initialization 23:26:48: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Down BGP protocol initialization R4(config-router)#! ? Router configuration commands: address-family Enter Address Family command mode aggregate-address Configure BGP aggregate entries auto-summary Enable automatic network number summarization bgp BGP specific commands default Set a command to its defaults default-information Control distribution of default information default-metric Set metric of redistributed routes distance Define an administrative distance distribute-list Filter networks in routing updates exit Exit from routing protocol configuration mode help Description of the interactive help system maximum-paths Forward packets over multiple paths neighbor Specify a neighbor router network Specify a network to announce via BGP no Negate a command or set its defaults redistribute Redistribute information from another routing protocol synchronization Perform IGP synchronization table-map Map external entry attributes into routing table timers Adjust routing timers R4(config-router)#bgp ? always-compare-med Allow comparing MED from different neighbors bestpath Change the default bestpath selection client-to-client Configure client to client route reflection cluster-id Configure Route-Reflector Cluster-id (peers may reset) confederation AS confederation parameters dampening Enable route-flap dampening default Configure BGP defaults deterministic-med Pick the best-MED path among paths advertised from the neighboring AS dmzlink-bw Use DMZ Link Bandwidth as weight for BGP multipaths enforce-first-as Enforce the first AS for EBGP routes(default) fast-external-fallover Immediately reset session if a link to a directly connected external peer goes down graceful-restart Graceful restart capability parameters inject-map Routemap which specifies prefixes to inject log-neighbor-changes Log neighbor up/down and reset reason maxas-limit Allow AS-PATH attribute from any neighbor imposing a limit on number of ASes redistribute-internal Allow redistribution of iBGP into IGPs (dangerous) router-id Override configured router identifier (peers will reset) --More--   R4(config-router)#bgp con R4(config-router)#bgp confederation ? identifier as number peers Peer ASs in BGP confederation R4(config-router)#bgp confederation id R4(config-router)#bgp confederation identifier ? <1-65535> Set routing domain confederation AS R4(config-router)#bgp confederation identifier 1000  R4(config-router)#bgp config R4(config-router)#bgp config 23:27:19: %BGP-3-NOTIFICATION: sent to neighbor 17.80.1.1 2/2 (peer in wrong AS) 2 bytes 0064 R4(config-router)#bgp config  FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 002D 0104 0064 00B4 1E01 0101 1002 0601 0400 0100 0102 0280 0002 0202 00 R4(config-router)#bgp confi  R4(config-router)#bgp confederation peer R4(config-router)#bgp confederation peers ? <1-65535> AS number R4(config-router)#bgp confederation peers 65003 65002 R4(config-router)#^Z R4# 23:27:35: %SYS-5-CONFIG_I: Configured from console by console 23:27:36: %BGP-5-ADJCHANGE: neighbor 192.10.32.254 Up R4#wr Building configuration... RACK9AS>3 [Resuming connection 3 to r3 ... ] *M R3#sh run | b 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 AS100in peer-group neighbor AS100in remote-as 100 neighbor AS100in route-reflector-client neighbor 17.80.1.2 peer-group AS100in neighbor 180.40.7.2 peer-group AS100in neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 24 ip prefix-list Prob8 seq 10 permit 0.0.0.0/0 le 32 --More-- *Mar 1 23:25:19.838: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 --More--   R3# *Mar 1 23:25:46.282: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:26:13.386: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:26:39.152: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:27:08.092: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:27:36.663: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:28:02.164: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3# *Mar 1 23:28:29.117: %BGP-3-NOTIFICATION: received from neighbor 17.80.1.2 2/2 (peer in wrong AS) 2 bytes 0064 R3#config t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#no router bgp 100 R3(config)# router bgp 65003 R3(config-router)# bgp confed id 100 R3(config-router)# bgp confed peer 65002 65004 R3(config-router)# no synchronization R3(config-router)# bgp cluster-id 1002 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)# R3(config-router)# neighbor 17.80.1.2 remote 65004 R3(config-router)# neighbor 180.40.7.2 remote 65002 R3(config-router)# neighbor 17.80.1.2 next-hop-self R3(config-router)# neighbor 180.40.7.2 next-hop-self R3(config-router)# neighbor 208.28.1.1 remote-as 300 R3(config-router)# neighbor 208.28.1.1 prefix-list Prob8 out R3(config-router)# no auto-summary R3(config-router)#! R3(config-router)# *Mar 1 23:28:44.542: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Down BGP protocol initialization *Mar 1 23:28:44.542: %BGP-5-ADJCHANGE: neighbor 208.28.1.1 Down BGP protocol initialization R3(config-router)#^Z R3# RACK9AS>2 [Resuming connection 2 to r2 ... ] *Mar R2#config t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# R2(config)#do sh run | b bgp 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 next-hop-self neighbor 180.40.7.3 route-map ToR3 in neighbor 180.40.7.66 remote-as 300 neighbor 180.40.7.66 distribute-list 100 out 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 ! ip classless ! ip as-path access-list 1 permit ^(200)(_\1)*$ no ip http server no ip http secure-server --More-- *Mar 1 23:29:23.582: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 --More--   R2(config)# *Mar 1 23:29:50.005: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 R2(config)# *Mar 1 23:30:19.598: %BGP-3-NOTIFICATION: received from neighbor 180.40.7.3 2/2 (peer in wrong AS) 2 bytes 0064 R2(config)# R2(config)#no router bgp 100 R2(config)# router bgp 65002 R2(config-router)# bgp confed id 100 R2(config-router)# bgp confed peer 65003 65004 R2(config-router)# bgp log-neighbor-changes R2(config-router)# bgp bestpath med missing-as-worst R2(config-router)# network 20.0.0.0 R2(config-router)# network 180.40.7.0 mask 255.255.255.224 R2(config-router)# neighbor 180.40.7.3 remote-as 65003 R2(config-router)# neighbor 180.40.7.3 next-hop-self R2(config-router)# neighbor 180.40.7.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 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)# R2(config-router)# *Mar 1 23:30:25.760: %BGP-5-ADJCHANGE: neighbor 180.40.7.66 Down BGP protocol initialization *Mar 1 23:30:25.760: %BGP-5-ADJCHANGE: neighbor 180.40.7.130 Down BGP protocol initialization *Mar 1 23:30:25.760: %BGP-5-ADJCHANGE: neighbor 208.28.1.130 Down BGP protocol initialization R2(config-router)# R2(config-router)#^Z R2# *Mar 1 23:30:29.286: %SYS-5-CONFIG_I: Configured from console by console R2# RACK9AS>4 [Resuming connection 4 to r4 ... ] [OK] R4#sh ip bgp BGP table version is 7, 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 *> 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 9 1000 i *> 129.23.0.0 192.10.32.254 0 0 9 1000 i *> 203.212.1.0 192.10.32.254 0 0 9 1000 i R4#^x3 % Unknown command or computer name, or unable to find computer address R4# R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] * R3#sh ip bgp sum BGP router identifier 30.1.1.1, local AS number 65003 BGP table version is 1, main routing table version 1 18 network entries using 1818 bytes of memory 18 path entries using 864 bytes of memory 8 BGP path attribute entries using 480 bytes of memory 4 BGP AS-PATH entries using 96 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3258 total bytes of memory BGP activity 18/0 prefixes, 18/0 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 17.80.1.2 4 65004 8 4 0 0 0 00:01:42 6 180.40.7.2 4 65002 3 3 0 0 0 never Active 208.28.1.1 4 300 11 4 0 0 0 00:01:31 11 R3# *Mar 1 23:30:56.775: %BGP-5-ADJCHANGE: neighbor 180.40.7.2 Up R3#sh ip bgp BGP table version is 21, 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 *> 10.0.0.0 208.28.1.1 0 0 300 i *> 17.57.100.0/24 208.28.1.1 4294967295 0 300 i *> 17.57.101.0/24 208.28.1.1 4294967295 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i *> 17.80.0.0/23 17.80.1.2 0 100 0 (65004) i r> 17.80.1.0/24 17.80.1.2 0 100 0 (65004) i *> 30.0.0.0 0.0.0.0 0 32768 i *> 40.0.0.0 17.80.1.2 0 100 0 (65004) i *> 50.0.0.0 208.28.1.1 4294967295 0 300 200 i *> 60.0.0.0 208.28.1.1 4294967295 0 300 i *> 65.23.32.0/20 17.80.1.2 0 100 0 (65004) 9 1000 i *> 129.23.0.0 17.80.1.2 0 100 0 (65004) 9 1000 i * 180.40.7.64/27 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i * 180.40.7.128/27 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i *> 203.212.1.0 17.80.1.2 0 100 0 (65004) 9 1000 i --More--   Network Next Hop Metric LocPrf Weight Path r 208.28.1.0/29 180.40.7.2 0 100 0 (65002) 300 i r> 208.28.1.1 0 0 300 i * 208.28.1.64/28 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i * 208.28.1.128/27 180.40.7.2 4294967295 100 0 (65002) 300 200 i *> 208.28.1.1 4294967295 0 300 200 i R3# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#^x3sh ip bgp BGP table version is 19, 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 4294967295 100 0 (65003) 300 i *> 17.57.101.0/24 17.80.1.1 4294967295 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 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 *> 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 9 1000 i *> 129.23.0.0 192.10.32.254 0 0 9 1000 i *> 180.40.7.64/27 17.80.1.1 0 100 0 (65003) 300 i *> 180.40.7.128/27 17.80.1.1 0 100 0 (65003) 300 i *> 203.212.1.0 192.10.32.254 0 0 9 1000 i *> 208.28.1.0/29 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.64/28 17.80.1.1 0 100 0 (65003) 300 i --More--   Network Next Hop Metric LocPrf Weight Path *> 208.28.1.128/27 17.80.1.1 4294967295 100 0 (65003) 300 200 i R4#sh ip bgp BGP table version is 21, 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 4294967295 100 0 (65003) 300 i *> 17.57.101.0/24 17.80.1.1 4294967295 100 0 (65003) 300 i *> 17.57.102.0/24 17.80.1.1 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 9 1000 i *> 129.23.0.0 192.10.32.254 0 0 9 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 *> 203.212.1.0 192.10.32.254 0 0 9 1000 i --More--   Network Next Hop Metric LocPrf Weight Path *> 208.28.1.0/29 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.64/28 17.80.1.1 0 100 0 (65003) 300 i *> 208.28.1.128/27 17.80.1.1 4294967295 100 0 (65003) 300 200 i R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh ip bgp BGP table version is 24, 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 * 10.0.0.0 180.40.7.2 0 100 0 (65002) 300 i *> 208.28.1.1 0 0 300 i * 17.57.100.0/24 180.40.7.2 4294967295 100 0 (65002) 300 i *> 208.28.1.1 4294967295 0 300 i * 17.57.101.0/24 180.40.7.2 4294967295 100 0 (65002) 300 i *> 208.28.1.1 4294967295 0 300 i *> 17.57.102.0/24 208.28.1.1 11111 0 300 i *> 17.80.0.0/23 17.80.1.2 0 100 0 (65004) i r> 17.80.1.0/24 17.80.1.2 0 100 0 (65004) i *> 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 *> 65.23.32.0/20 17.80.1.2 0 100 0 (65004) 9 1000 i --More--   R3# RACK9AS>1 [Resuming connection 1 to r1 ... ] *Mar R1#shg    ip bgp BGP table version is 89, 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 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 * 180.40.7.65 0 0 100 i * 180.40.7.129 0 0 100 i *> 208.28.1.2 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i * 180.40.7.65 0 100 i --More--   Network Next Hop Metric LocPrf Weight Path * 180.40.7.129 0 100 i *> 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 * 65.23.32.0/20 208.28.1.65 0 200 100 9 1000 i * 180.40.7.65 0 100 9 1000 i * 180.40.7.129 0 100 9 1000 i *> 208.28.1.2 0 100 9 1000 i * 129.23.0.0 208.28.1.65 0 200 100 9 1000 i * 180.40.7.65 0 100 9 1000 i * 180.40.7.129 0 100 9 1000 i *> 208.28.1.2 0 100 9 1000 i * 180.40.7.0/27 208.28.1.65 0 200 100 i * 180.40.7.65 0 0 100 i * 180.40.7.129 0 0 100 i *> 208.28.1.2 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 --More--   R1# RACK9AS>2 [Resuming connection 2 to r2 ... ] *Mar 1 R2#sh run | b bgp 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.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 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 ! ip classless ! ip as-path access-list 1 permit ^(200)(_\1)*$ no ip http server --More--   R2# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3#sh run \   | b bgp router bgp 65003 no synchronization bgp cluster-id 1002 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 ! ip classless ! no ip http server no ip http secure-server ! ! ip prefix-list Prob8 seq 5 deny 17.80.0.0/16 ge 24 --More--   R3# RACK9AS>4 [Resuming connection 4 to r4 ... ] R4#sh run | b bgp 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.254.0 neighbor 17.80.1.1 remote-as 65003 neighbor 17.80.1.1 next-hop-self neighbor 17.80.1.1 route-map ToR3 in neighbor 192.10.32.254 remote-as 1000 neighbor 192.10.32.254 local-as 9 neighbor 192.10.32.254 distribute-list 1 out no auto-summary ! no ip http server no ip http secure-server ip classless ! ! access-list 1 deny any ! --More--   R4# RACK9AS>3 [Resuming connection 3 to r3 ... ] R3# R3#configt Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router bgp 100 BGP is already running; AS is 65003 R3(config)#router bgp 100    5 65003 65003 R3(config-router)#nei 180.40.7.2 ? activate Enable the Address Family for this Neighbor advertise-map specify route-map for conditional advertisement advertisement-interval Minimum interval between sending BGP routing updates allowas-in Accept as-path with my AS present in it capability Advertise capability to the peer default-originate Originate default route to this neighbor description Neighbor specific description disable-connected-check One-hop away EBGP peer using loopback address distribute-list Filter updates to/from this neighbor dmzlink-bw Propagate the DMZ link bandwidth ebgp-multihop Allow EBGP neighbors not on directly connected networks filter-list Establish BGP filters local-as Specify a local-as number maximum-prefix Maximum number of prefixes accepted from this peer next-hop-self Disable the next hop calculation for this neighbor next-hop-unchanged Propagate the iBGP paths's next hop unchanged for this neighbor password Set a password peer-group Member of the peer-group prefix-list Filter updates to/from this neighbor remote-as Specify a BGP neighbor --More--   R3(config-router)#nei 180.40.7.2 b R3(config-router)#nei 180.40.7.2 b dm R3(config-router)#nei 180.40.7.2 dmzlink-bw R3(config-router)#do sh run | b bngp R3(config-router)#do sh run | b bngpgp  router bgp 65003 no synchronization bgp cluster-id 1002 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 180.40.7.2 dmzlink-bw neighbor 208.28.1.1 remote-as 300 neighbor 208.28.1.1 prefix-list Prob8 out no auto-summary ! ip classless ! no ip http server no ip http secure-server ! ! --More--   R3(config-router)#^Z R3# RACK9AS>5 [Resuming connection 5 to r5 ... ] 23: S5#config t Enter configuration commands, one per line. End with CNTL/Z. S5(config)#do sh access-list S5(config)#do sh access-list  RACK9AS>z1 Translating "z1" % Unknown command or computer name, or unable to find computer address RACK9AS> [Resuming connection 5 to r5 ... ] RACK9AS>1 [Resuming connection 1 to r1 ... ] R1#sh aces  cs ess-list Standard IP access list 1 10 permit 17.57.102.0 (10 matches) Standard IP access list 2 10 deny 17.57.103.0 (12 matches) 20 permit any (217 matches) Standard IP access list 3 10 permit 17.57.103.0 (2 matches) R1#a config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#access-list 4 % Incomplete command. R1(config)#access-list 4 den 17.57.102.0 R1(config)#access-list 4 den 17.57.102.0               per any R1(config)#router   -map R1(config)#route-map 1.3  3  Probv 13 R1(config-route-map)#match ip access     dd R1(config-route-map)#match ip address 4 R1(config-route-map)#router bgp 300 R1(config-router)#agg R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 ? advertise-map Set condition to advertise attribute as-set Generate AS set path information attribute-map Set attributes of aggregate nlri Nlri aggregate applies to route-map Set parameters of aggregate summary-only Filter more specific routes from updates suppress-map Conditionally filter more specific routes from updates R1(config-router)#aggregate-address 17.57.0.0 255.255.0.0 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 Prob13 R1(config-router)#^Z R1# RACK9AS>5 [Resuming connection 5 to r5 ... ] S5(config)#^Z S5#sh 23:44:00: %SYS-5-CONFIG_I: Configured from console by console S5#sh ip bgp BGP table version is 97, local router ID is 50.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 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 17.57.0.0/16 208.28.1.66 0 0 300 i *> 17.57.100.0/24 208.28.1.129 0 100 300 i *> 17.57.101.0/24 208.28.1.129 0 100 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 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#clea ip bgp * in S5#clea ip bgp * insh ip bgp  BGP table version is 97, local router ID is 50.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 208.28.1.129 0 100 300 i *> 208.28.1.66 0 0 300 i *> 17.57.0.0/16 208.28.1.66 0 0 300 i *> 17.57.100.0/24 208.28.1.129 0 100 300 i *> 17.57.101.0/24 208.28.1.129 0 100 300 i *> 17.57.102.0/24 208.28.1.129 0 100 300 i * 208.28.1.66 0 300 300 300 300 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#w  RACK9AS>1 [Resuming connection 1 to r1 ... ] *M R1#sh runb | b bgp ^ % Invalid input detected at '^' marker. R1#sh runb | b bgp | b bgp \ | b bgp ^ % Invalid input detected at '^' marker. R1#sh run\ | b bgp | b bgp  router bgp 300 no synchronization 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 Prob13 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 Prob4 out no auto-summary ! no ip http server --More--  ip classless ! ! access-list 1 permit 17.57.102.0 access-list 2 deny 17.57.103.0 access-list 2 permit any access-list 3 permit 17.57.103.0 access-list 4 deny 17.57.102.0 access-list 4 permit any ! route-map Prob5 permit 10 match ip address 1 set metric 11111 ! route-map Prob5 permit 20 ! route-map Prob4 permit 10 match ip address 1 set as-path prepend 300 300 300 ! route-map Prob4 permit 20 match ip address 3 set community no-export --More--  ! --More--  route-map Prob4 permit 30 --More--  ! --More--  route-map Prob13 permit 10 --More--   match ip address 4 --More--  ! --More--  ! --More--  ! --More--  ! --More--   R1#sh  sh ip bgp BGP table version is 93, 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.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 * 180.40.7.65 0 0 100 i * 180.40.7.129 0 0 100 i *> 208.28.1.2 0 100 i * 30.0.0.0 208.28.1.65 0 200 100 i --More--   R1# RACK9AS>5 [Resuming connection 5 to r5 ... ] S5#sh ip bgp BGP table version is 99, local router ID is 50.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 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 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 *> 50.0.0.0 0.0.0.0 0 32768 i --More--   S5# RACK9AS>12 % 12 is not an open connection RACK9AS> [Resuming connection 5 to r5 ... ] RACK9AS>1 [Resuming connection 1 to r1 ... ] R1#