Tham khảo tài liệu giáo trình advanced certificate in information technology - sanlein part 106, công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
Nội dung trích xuất từ tài liệu:
Giáo trình Advanced Certificate in Information Technology - Sanlein part 106network 192.168.192.0network 192.168.193.0network 192.168.194.0network 192.168.195.0no auto-summaryrouter bgp 100no synchronizationbgp log-neighbor-changesaggregate-address 192.168.192.0 255.255.248.0redistribute eigrp 1neighbor 192.168.1.202 remote-as 100neighbor 192.168.1.202 next-hop-selfneighbor 192.168.1.253 remote-as 200neighbor 192.168.1.253 send-communityneighbor 192.168.1.253 route-map COMMUNITY outno auto-summaryno ip http serverip classlessaccess-list 101 permit ip host 192.168.192.0 host255.255.248.0route-map COMMUNITY permit 1match ip address 101set community noneroute-map COMMUNITY permit 10set community no-exportcall rsvp-syncmgcp profile defaultdial-peer cor customline con 0logging synchronousline aux 0line vty 0 4password ciscologinendKết quả là trên các router thuộc AS 200 thì tất cả cácroute đều nhận được bình thường tuy nhiên thì khi cácrouter trong AS 200 này cập nhật route cho AS 300 thìnó chỉ quảng cáo mạng 192.168.192.0/21 thôi.Ta xem kết quả trên R2 thuộc AS 200 và R3 thuộc AS300R2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M -mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA -OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSAexternal type 2E1 - OSPF external type 1, E2 - OSPF external type 2,E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setB 192.168.192.0/24 [20/0] via 192.168.1.254,00:03:36B 192.168.193.0/24 [20/0] via 192.168.1.254,00:03:36B 192.168.194.0/24 [20/0] via 192.168.1.254,00:03:36B 192.168.195.0/24 [20/0] via 192.168.1.254,00:03:36B 192.168.196.0/24 [20/409600] via 192.168.1.254,00:03:36B 192.168.197.0/24 [20/409600] via 192.168.1.254,00:03:36B 192.168.198.0/24 [20/409600] via 192.168.1.254,00:03:36B 192.168.199.0/24 [20/409600] via 192.168.1.254,00:03:36192.168.1.0/24 is variably subnetted, 6 subnets, 2masksB 192.168.1.0/24 [20/0] via 192.168.1.254,00:03:36C 192.168.1.236/30 is directly connected, Ethernet0C 192.168.1.248/30 is directly connected, Serial0C 192.168.1.252/30 is directly connected, Serial1B 192.168.1.244/30 [20/2195456] via192.168.1.254, 00:03:37B 192.168.1.200/30 [20/0] via 192.168.1.254,00:03:37B 192.168.192.0/21 [20/0] via 192.168.1.254,00:03:37R2#show ip bgpBGP table version is 124, local router ID is192.168.1.253Status codes: s suppressed, d damped, h history, * valid,> best, i - internalOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf WeightPath*> 192.168.1.0 192.168.1.254 0 100?*i 192.168.1.237 0 100 0 100 ?* i192.168.1.200/30 192.168.1.237 100 0100 ?*> 192.168.1.254 0 0 100 ?* i192.168.1.244/30 192.168.1.237 100 0100 ?*> 192.168.1.254 2195456 0 100?* i192.168.1.252/30 192.168.1.237 100 0100 ?*> 192.168.1.254 0 0 100 ?*> 192.168.192.0 192.168.1.254 0 0100 ?*i 192.168.1.237 409600 100 0 100?*> 192.168.192.0/21 192.168.1.254 0 0100 i*i 192.168.1.237 100 0 100 i*> 192.168.193.0 192.168.1.254 0 0100 ?*i 192.168.1.237 409600 100 0 100?*> 192.168.194.0 192.168.1.254 0 0100 ?*i 192.168.1.237 409600 100 0 100?*> 192.168.195.0 192.168.1.254 0 0100 ?*i 192.168.1.237 409600 100 0 100?Network Next Hop Metric LocPrf WeightPath*> 192.168.196.0 192.168.1.254 409600 0100 ?*i 192.168.1.237 0 100 0 100 ?*> 192.168.197.0 192.168.1.254 409600 0100 ?*i 192.168.1.237 0 100 0 100 ?*> 192.168.198.0 192.168.1.254 409600 0100 ?*i 192.168.1.237 0 100 0 100 ?*> 192.168.199.0 192.168.1.254 409600 0100 ?*i 192.168.1.237 0 100 0 100 ?R3#show ip bgpBGP table version is 41, local router ID is192.168.1.250Status codes: s suppressed, d damped, h history, * valid,> best, i - internalOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf WeightPath*> 192.168.192.0/21 192.168.1.241 0200 100 iR3#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M -mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA -OSPF inter areaN1 - OSPF NSSA external ...