资源描述
描述BGP消息报文和状态机制以及工作原理实验练习如图两AS系统要求全网建立BGP对等体关系,AS65131要求只和自己物理直连设备建立IBGP关系,R3R4R5宣告BGP流使得全网互通,并保证R2和R5之间线缆down掉后保证正常通讯10.1.14.0/24BGP172.2.2.100/32192.2.2.100/3220/I/O0/1/1Loopback01.1.1.1/32EO/l/2RI10.1.12.0/24eo/i/oeO/i/2R2loopback02.2.2.2/320/1/1AS6513210.1.15.0/24eO/1/OR5loopback05.5.5.5/3210.1.25.0/2410.1.23.0/24AS651310/I/OR31x)opback033.X3/32BGP172. 1.3. 100/32192. 1.3. 100/32BGP172.1.4.100/32192.1.4.100/329M覆瓦航M RT5 RT3192. 168.3. 100192.168. 5.100RT1interfaceLoopBackOipaddress1.1.1.1255.255.255.255interfaceGigabitEthernetO/O/Oportlink-moderouteipaddress14.1.1.1255.255.255.0#interfaceGigabitEthernetO/O/1portlink-moderouteipaddress12.1.1.1255.255.255.0#interfaceGigabitEthernetO/O/2portlink-moderouteipaddress15.1.1.1255.255.255.0#bgp100undosynchronizationpeer14.1.1.4as-number400peer5.5.5.5as-number100peer2.2.2.2as-number100peer5.5.5.5connect-interfaceLoopBackOpeer2.2.2.2connect-interfaceLoopBackO#ospf1area0.0.0.0network1.1.1.10.0.0.0network15.1.1.10.0.0.0network12.1.1.10.0.0.0network14.1.1.10.0.0.0#RT2interfaceLoopBackOipaddress2.2.2.2255.255.255.255#interfaceGigabitEthernetO/O/Oportlink-moderouteipaddress23.1.1.2255.255.255.0#interfaceGigabitEthernetO/O/1portlink-moderouteipaddress12.1.1.2255.255.255.0#interfaceGigabitEthernetO/O/2portlink-moderouteipaddress25.1.1.2255.255.255.0#bgp100undosynchronizationpeer1.1.1.1as-number100peer5.5.5.5as-number100peer33.3.3as-number100peer1.1.1.1connect-interfaceLoopBackOpeer5.5.5.5connect-interfaceLoopBackOpeer33.3.3reflect-clientpeer3.3.3.3connect-interfaceLoopBackO#ospf1area0.0.0.0network2.2.2.20.0.0.0network23.1.1.20.0.0.0network25.1.1.20.0.0.0network12.1.1.20.0.0.0#RT3interfaceLoopBackOipaddress3.33.3255.255.255.255#interfaceLoopBacklipaddress192.168.3.100255.255.255.255#interfaceGigabitEthernetO/O/Oportlink-moderouteipaddress23.1.1.3255.255.255.0#bgp100network192.168.3.100255.255.255.255undosynchronizationpeer22.2.2as-number100peer2.2.2.2connect-interfaceLoopBackO#ospfIarea0.0.0.0network3.33.30.0.0.0network23.1.1.30.0.0.0#RT4interfaceLoopBackOipaddress4.4.4.4255.255.255.255#interfaceLoopBacklipaddress192.168.4.100255.255.255.255#interfaceGigabitEthernetO/O/Oportlink-moderouteipaddress14.1.1.4255.255.255.0#bgp400network192.168.4.100255.255.255.255undosynchronizationpeer14.1.1.1as-number100RT5interfaceLoopBackOipaddress5.5.5.5255.255.255.255#interfaceLoopBacklipaddress192.168.5.100255.255.255.255#interfaceGigabitEthernetO/O/Oportlink-moderouteipaddress25.1.1.5255.255.255.0#interfaceGigabitEthernetO/O/2portlink-moderouteipaddress15.1.1.5255.255.255.0#bgp100network192.168.5.100255.255.255.255undosynchronizationpeer1.1.1.1as-number100peer2.2.2.2as-number100peer1.1.1.1connect-interfaceLoopBackOpeer2.2.2.2connect-interfaceLoopBackO#ospf1area0.0.0.0network5.5.5.50.0.0.0network25.1.1.50.0.0.0network15.1.1.50.0.0.0RT5-bg(jdis bgp routing-tableTotalNumberofRoutes:3BGPLocalrouterIDis192.168.5.100Statuscodes:*-valid,A-VPNbest,-bestrd-damped,h-history,i-internal,s-suppressed,S-StaleOrigin:i-IGP,e-EGP,?-incompleteNetworkNextHopMEDLocPrfPrefValPath/Ogn*-i192.168.3.100/323.3.3.3010001*i192.168.4.100/3214.1.1.401000400i*192.168.5.100/320.0.0.000*一一10RT3-bgpd-isbgprouting-tabIeTotalNumberofRoutes:3BGPLocalrouterIDis192.168.3.100Statuscodes:*-valid,人-VPNbest,-best,d-damped,h-history,i-internal,5-suppressed,S-StaleOrigin:i-IGP,e-EGP,?-incompleteNetworkNextHopMEDLocPrfPrefValPath/Ogn0.0.0.014.1.1.45.5.5.5女192.168.3.100/32次192.168.4.100/32”-i192.168.5.100/32RT4-bgpjdisbgprouting-tableTotalNumberofRoutes:3BGPLocalrouterIDis192.168.4.100Statuscodes:丹-valid,A-VPNbest,-best,d-damped,h-history,i-internal,s-suppressed,S-StaleOrigin:i-IGP,e-EGP,?-incompleteNetworkNextHopMEDLocPrfPrefValPath/Ogn192.168.3.100/3214.1.1.101001192.168.4.100/320.0.0.000j192.168.5.100/3214.1.1.10lOOiRT5-bgpping-a192.168.5.100192.168.4.100PING192.168.4.100:56databytes,pressCTRL_CtobreakReplyfrom192.168.4.100:bytes=56Sequence=lttl=254time=5msReplyfrom192.168.4.100:bytes=56Sequence=2ttl=254time=lmsReplyfrom192.168.4.100:bytes=56Sequence=3ttl=254t-ime=26ms
展开阅读全文