版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
MPLSVPN試驗(yàn)
一、拓樸圖
說明:
1、設(shè)備接互聯(lián)地址:如R1與R2間的互聯(lián)地址為10.1.12.0/24;
LOOKBACK接口地址為:1.1.1.1/32;
2、CORE內(nèi)運(yùn)行OSPF(進(jìn)行號(hào)100,area0),激活MPLS;
3、PE上創(chuàng)建VRF(VPNA),PE與CE間通過OSPF互聯(lián)(進(jìn)程號(hào):
1);
4、R2與R4兩臺(tái)PE間建立MP-IBGP鄰接關(guān)系,(BGPAS234)
5、完成PE-CE間的路由重發(fā)布;
二、配置信息:
RI:(CE1)
Rl#showrun
!
hostnameRI
!
ipcef
!
interfaceLoopbackO
ipospfnetworkpoint-to-point
!
interfaceFastEthernetO/0
duplexauto
speedauto
mplsip
!
interfaceFastEthernetO/1
noipaddress
shutdown
duplexauto
speedauto
routerospf1
log-adjacency-changes
network1.1.1.10.0.0.0area0
network10.1.12.10.0.0.0area0
!
!
end
RI#
session-192.168.197.12001-20170116.log
R2:(PEI)
R2#
R2#showrun
!
hostnameR2
ipcef
ipvrfvpna
rd1:1
route-targetexport234:2
route-targetimport234:4
I
mplslabelrange200299
mplsIdprouter-idLoopbackO
!
!
interfaceLoopbackO
!
interfaceFastEthernet0/0
ipvrfforwardingvpna
duplexauto
speedauto
!
interfaceFastEthernetO/1
duplexauto
speedauto
mplsip
routerospf1vrfvpna
log-adjacency-changes
redistributebgp234subnets
network10.1.12.20.0.0.0area0
I
routerospf100
log-adjacency-changes
network2.2.2.20.0.0.0area0
network10.1.23.20.0.0.0area0
I
routerbgp234
nobgpdefaultipv4-unicast
bgplog-neighbor-changes
neighbor4.4.4.4remote-as234
neighbor4.4.4.4update-sourceLoopbackO
I
address-familyvpnv4
neighbor4.4.4.4activate
neighbor4.4.4.4send-communityextended
exit-address-family
address-familyipv4vrfvpna
redistributeospf1vrfvpnamatchinternalexternal1
external2
noauto-summary
nosynchronization
exit-address-family
I
!
end
R2#
session-192.168.197.12002-20170116.log
R3:(P)
R3#
R3#showrun
!
hostnameR3
ipcef
mplslabelrange300399
mplsIdprouter-idLoopbackO
!
!
interfaceLoopbackO
!
interfaceFastEthemetO/0
duplexauto
speedauto
mplsip
!
interfaceFastEthemetO/1
duplexauto
speedauto
mplsip
!
routerospf100
log-adjacency-changes
network3.3.3.30.0.0.0area0
network10.1.23.30.0.0.0area0
network10.1.34.30.0.0.0area0
end
R3#
session-192.168.197.12003-20170116.log
R4:(PE2)
R4#
R4#showrun
Buildingconfiguration...
!
hostnameR4
!
ipcef
!
ipvrfvpna
rd1:1
route-targetexport234:4
route-targetimport234:2
mplslabelrange400499
mplsIdprouter-idLoopbackO
!
!
interfaceLoopbackO
!
interfaceFastEthemetO/0
duplexauto
speedauto
mplsip
!
interfaceFastEthemetO/1
ipvrfforwardingvpna
duplexauto
speedauto
!
routerospf1vrfvpna
log-adjacency-changes
redistributebgp234subnets
network10.1.45.40.0.0.0area0
routerospf100
log-adjacency-changes
network4.4.4.40.0.0.0area0
network10.1.34.40.0.0.0area0
I
routerbgp234
nobgpdefaultipv4-unicast
bgplog-neighbor-changes
neighbor2.2.2.2remote-as234
neighbor2.2.2.2update-sourceLoopbackO
!
address-familyvpnv4
neighbor2.2.2.2activate
neighbor2.2.2.2send-communityextended
exit-address-family
I
address-familyipv4vrfvpna
redistributeospf1vrfvpnamatchinternalexternal1
external2
noauto-summary
nosynchronization
exit-address-family
end
session-192.168.197.12004-20170116.log
R5:(CE2)
R5#
R5#showrun
Buildingconfiguration...
!
hostnameR5
!
ipcef
!
interfaceLoopbackO
ipospfnetworkpoint-to-point
!
interfaceFastEthernetO/0
duplexauto
speedauto
interfaceFastEthernetO/1
noipaddress
shutdown
duplexauto
speedauto
I
routerospf1
log-adjacency-changes
network5.5.5.50.0.0.0area0
network10.1.45.50.0.0.0area0
!
end
R5#
session-192.168.197.12005-20170116.log
三、相關(guān)檢查吩咐:
1、R2#shipospfneighbor//查PE的OSPF鄰居
R2#shipospfneighbor〃查PE的OSPF鄰居
NeighborIDPriStateDeadTimeAddress
Interface
3.3.3.31FULL/DR00:00:30
10.1.23.3FastEthernetO/1
1.1.1.11FULL/BDR00:00:30
10.1.12.1FastEthernetO/0
2、R2#shmplsIdpneighbor〃查PE上的MPLS鄰居信息
R2#shmplsIdpneighbor〃查PE上的MPLS鄰居信息
PeerLDPIdent:3.3.3.3:0;LocalLDPIdent2.2.2.2:0
State:Oper;Msgssent/rcvd:11/11;Downstream
Uptime:00:03:23
LDPdiscoverysources:
AddressesboundtopeerLDPIdent:
10.1.23.33.3.3.310.1.34.3
3、R2#shmplsforwarding-table//查PE上的MPLS標(biāo)簽轉(zhuǎn)發(fā)表
R2#shmplsforwarding-table〃查PE上的MPLS標(biāo)簽轉(zhuǎn)發(fā)表
LocalOutgoingPrefixBytestagOutgoing
NextHop
tagtagorVCorTunnelIdswitchedinterface
203Untagged1.1.1.1/32[V]3138Fa0/0
10.1.12.1
204Aggregate10.1.12.0/24[V]0
R2#
4、R2#shipbgpvpnv4allsummary〃查PE上的VPNV4鄰居
信息
R2#shipbgpvpnv4allsummary〃查PE上的VPNV4鄰居
信息:
BGProuteridentifier2.2.2.2,localASnumber234
BGPtableversionis9,mainroutingtableversion9
4networkentriesusing548bytesofmemory
4pathentriesusing272bytesofmemory
5/4BGPpath/bestpathattributeentriesusing620bytesof
memory
2BGPextendedcommunityentriesusing80bytesofmemory
0BGProute-mapcacheentriesusing0bytesofmemory
0BGPfilter-listcacheentriesusing0bytesofmemory
BGPusing1520totalbytesofmemory
BGPactivity4/0prefixes,4/0paths,scaninterval15secs
NeighborVASMsgRcvdMsgSentTblVerInQOutQ
Up/DownState/PfxRcd
4.4.4.44234191990
000:12:012
5、R2#shipbgpvpnv4all〃查PE上的VPNV4路由信息,可推
斷路由重發(fā)布是否正確
R2#shipbgpvpnv4all〃查PE上的VPNV4路由信息,可
推斷路由重發(fā)布是否正確
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>
best,i-internal,
rRIB-failure,SStale
Origincodes:i-IGP,e-EGP,?-incomplete
NetworkNextHopMetricLocPrf
WeightPath
RouteDistinguisher:1:1(defaultforvrfvpna)
*>ilO.1.45.0/244.4.4.40100
0?
6、R2#shiprovrfvpna〃查看VRF下的路由表信息
R2#shiprovrfvpna//查看VRF下的路由表信息
RoutingTable:vpna
Codes:C-connected,S-static,R-RIP,M-mobile,B-BGP
D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPF
interarea
N1-OSPFNSSAexternaltype1,N2-OSPFNSSA
externaltype2
El-OSPFexternaltype1,E2-OSPFexternaltype2
i-IS-IS,su-IS-ISsummary,LI-IS-ISlevel-1,L2-
IS-ISlevel-2
ia-IS-ISinterarea,*-candidatedefault,U-per-user
staticroute
o-ODR,P-periodicdownloadedstaticroute
Gatewayoflastresortisnotset
1.0.0.0/32issubnetted,1subnets
o1.1.1.1[110/2]via10.1.12.1,00:17:52,
FastEthernetO/0
5.0.0.0/24issubnetted,1subnets
B5.5.5.0[200/2]via4.4.4.4,00:17:02
10.0.0.0/24issubnetted,2subnets
C10.1.12.0isdirectlyconnected,FastEthernetO/0
B10.1.45.0[200/0]via4.4.4.4,00:17:02
R2#
7、R2#shipcef〃查看CEF表
R2#shipcef//查看CEF表
PrefixNextHopInterface
O.O.O.O/OdropNullO(default
routehandlerentry)
R2#
8、〃在CE1上帶源地址拼CE2
R1#〃在CE1上帶源地址拼CE2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto5.5.5.5,timeoutis2
seconds:
Packetsentwithasourceaddressof1.1.1.1
mu
9、//在CE1上帶源地址路由跟蹤C(jī)E2
RI#〃在CE1上帶源地址路由跟蹤C(jī)E2
Typeescapesequencetoabort.
110.1.12.2128msec188msec196msec
210.1.23.3[MPLS:Labels300/403Exp0]664msec600
msec616msec
310.1.45.4[MPLS:Label403Exp0]372msec408msec
560msec
410.1.45.5624msec764msec576msec
RI#
10、Rl#showipospfneighbor//查看CE1上的OSPF鄰居表
Rl#showipospfneighbor//查看CE1上的OSPF鄰居表
NeighborIDPriStateDeadTimeAddress
Interface
10.1.12.21FULL/DR00:00:3810.1.12.2
FastEthernet0
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度農(nóng)業(yè)耕地租賃與農(nóng)業(yè)國(guó)際合作合同3篇
- 二零二五年度體育場(chǎng)館經(jīng)營(yíng)權(quán)轉(zhuǎn)讓合同3篇
- 2025年度全款購(gòu)房合同:房屋質(zhì)量保證及售后服務(wù)協(xié)議3篇
- 二零二五年度公廁信息化管理系統(tǒng)承包施工合同模板3篇
- 《孟子》解讀(新)課件
- 2024年部門管理制度
- 單位管理制度集粹匯編員工管理篇十篇
- 單位管理制度分享匯編【人事管理篇】
- 單位管理制度分享大全【人力資源管理篇】十篇
- 單位管理制度范例合集職工管理篇
- 2025年中國(guó)社會(huì)科學(xué)院外國(guó)文學(xué)研究所專業(yè)技術(shù)人員招聘3人歷年高頻重點(diǎn)提升(共500題)附帶答案詳解
- 【9歷期末】安徽省淮北市2023-2024學(xué)年九年級(jí)上學(xué)期期末歷史試題
- 2024年度物流園區(qū)運(yùn)營(yíng)承包合同范本3篇
- 第五單元第四節(jié) 全球發(fā)展與合作 教學(xué)實(shí)錄-2024-2025學(xué)年粵人版地理七年級(jí)上冊(cè)
- 貴州省部分學(xué)校2024-2025學(xué)年高三年級(jí)上冊(cè)10月聯(lián)考 化學(xué)試卷
- 期末綜合試卷(試題)2024-2025學(xué)年人教版數(shù)學(xué)五年級(jí)上冊(cè)(含答案)
- 2024-2025學(xué)年上學(xué)期武漢小學(xué)語文六年級(jí)期末模擬試卷
- 2023-2024學(xué)年貴州省貴陽外國(guó)語實(shí)驗(yàn)中學(xué)八年級(jí)(上)期末數(shù)學(xué)試卷(含答案)
- 《爭(zhēng)做文明班級(jí)》課件
- 遼寧省大連市沙河口區(qū)2022-2023學(xué)年八年級(jí)上學(xué)期物理期末試卷(含答案)
- 2024年新能源汽車概論考試題庫
評(píng)論
0/150
提交評(píng)論