




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
MPLSVPN試驗
一、拓樸圖
說明:
1、設備接互聯(lián)地址:如R1與R2間的互聯(lián)地址為10.1.12.0/24;
LOOKBACK接口地址為:1.1.1.1/32;
2、CORE內運行OSPF(進行號100,area0),激活MPLS;
3、PE上創(chuàng)建VRF(VPNA),PE與CE間通過OSPF互聯(lián)(進程號:
1);
4、R2與R4兩臺PE間建立MP-IBGP鄰接關系,(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
三、相關檢查吩咐:
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標簽轉發(fā)表
R2#shmplsforwarding-table〃查PE上的MPLS標簽轉發(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上帶源地址路由跟蹤CE2
RI#〃在CE1上帶源地址路由跟蹤CE2
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等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 江永縣2025年三下數(shù)學期末預測試題含解析
- 山東省陽谷縣第二中學2024-2025學年高三3月月考調研考試物理試題含解析
- 山西管理職業(yè)學院《工程安全與環(huán)境保護》2023-2024學年第二學期期末試卷
- 鄭州美術學院《植物學》2023-2024學年第二學期期末試卷
- 吉林省長春市重點名校2025屆初三3月三校聯(lián)考-生物試題含解析
- 天津大學《果蔬貯藏技術》2023-2024學年第二學期期末試卷
- 喉癌放療患者護理查房
- 護理服務態(tài)度投訴零容忍
- 銷售培訓與提升策略
- 2025水利工程修復合同
- 湘教版七年級上冊等高線地形圖
- 車間改造合同范文
- 愛蓮說-王崧舟
- 光伏支架安裝施工協(xié)議
- 保定市縣級地圖PPT可編輯矢量行政區(qū)劃(河北省)
- 第四章通道內非耦合層流的
- 供水管網(wǎng)施工組織設計
- 異面直線所成的角與求法
- 信息安全風險評估培訓(課堂PPT)
- (通用)中考數(shù)學總復習 第三章 函數(shù) 第4節(jié) 反比例函數(shù)課件 新人教
- 廠長勝任力模型
評論
0/150
提交評論