router_b#sh ip bgp BGP table version is 3, local router ID is 172.16.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i0.0.0.0 10.0.0.2 200 0 100 i *> 10.0.0.4 110 0 100 i * i221.10.1.0 11.1.1.1 0 100 0 i *> 0.0.0.0 0 32768 i router_b#sh ip bgp 0.0.0.0 BGP routing table entry for 0.0.0.0/0, version 2 Paths: (2 available, best #2, table Default-IP-Routing-Table) Advertised to non peer-group peers: 11.1.1.1 100 10.0.0.2 from 11.1.1.1 (210.210.210.1) Origin IGP, localpref 200, valid, internal, not synchronized 100 10.0.0.4 from 10.0.0.4 (192.168.1.2) Origin IGP, localpref 110, valid, external, best router_b# router_b#sh run Building configuration... Current configuration : 1658 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname router_b ! enable password cisco ! ip subnet-zero ! ! no ip domain-lookup ! call rsvp-sync ! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.1.1 255.255.255.0 ! interface Serial0/0 ip address 10.0.0.3 255.255.255.0 serial restart-delay 0 ! interface Serial0/1 no ip address shutdown serial restart-delay 0 ! interface Serial0/2 no ip address shutdown serial restart-delay 0 ! interface Serial0/3 no ip address shutdown serial restart-delay 0 ! interface Ethernet1/0 ip address 11.1.1.2 255.255.255.0 half-duplex ! interface Ethernet1/1 no ip address shutdown half-duplex ! interface Ethernet1/2 no ip address shutdown half-duplex ! interface Ethernet1/3 no ip address shutdown half-duplex ! router bgp 200 bgp log-neighbor-changes network 221.10.1.0 neighbor 10.0.0.4 remote-as 100 neighbor 10.0.0.4 prefix-list default in neighbor 10.0.0.4 prefix-list agg out neighbor 10.0.0.4 route-map router-d-in in neighbor 10.0.0.4 route-map router-d-out out neighbor 11.1.1.1 remote-as 200 ! ip classless ip route 221.10.1.0 255.255.255.0 Null0 ip http server ! ! ip prefix-list agg seq 5 permit 221.10.1.0/24 ! ip prefix-list default seq 5 permit 0.0.0.0/0 route-map router-d-out permit 10 match ip address prefix-list agg set metric 38 set metric-type internal ! route-map router-d-out permit 20 ! route-map router-d-in permit 10 match ip address prefix-list default set local-preference 110 ! ! ! dial-peer cor custom ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! end router_b#