ospf虚链路文档格式.docx
- 文档编号:22041191
- 上传时间:2023-02-02
- 格式:DOCX
- 页数:8
- 大小:58.33KB
ospf虚链路文档格式.docx
《ospf虚链路文档格式.docx》由会员分享,可在线阅读,更多相关《ospf虚链路文档格式.docx(8页珍藏版)》请在冰豆网上搜索。
ena
conft
noipdomain-lookup
ipsubnet-zero
enablepasswordcisco
hostnamesingapore
intlo0
ipadd192.168.232.1255.255.255.0
ints0/0
noshut
clockrate64000
ipadd192.168.224.2255.255.255.0
ints0/1
ipadd192.168.240.1255.255.255.252
routerospf1
network192.168.232.00.0.0.255area51
network192.168.224.00.0.0.255area51
network192.168.240.00.0.0.3area3
end
sanjose3
hostnamesanjose3
ipadd192.168.224.1255.255.255.0
ipadd192.168.1.3255.255.255.0
intlo1
ipadd192.168.0.3255.255.255.0
network192.168.0.00.0.255.255area0
aukland
hostnameaukland
ipadd192.168.240.2255.255.255.252
ipadd192.168.252.1255.255.255.0
ipadd192.168.248.1255.255.255.0
用ping测试各路由的连通性
singapore#ping192.168.224.1
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto192.168.224.1,timeoutis2seconds:
!
Successrateis100percent(5/5),round-tripmin/avg/max=72/87/96ms
singapore#ping192.168.240.2
Sending5,100-byteICMPEchosto192.168.240.2,timeoutis2seconds:
Successrateis100percent(5/5),round-tripmin/avg/max=48/63/72ms
singapore#singapore#ping192.168.224.1
singapore#
用showiprouteospf看路由表
sanjose3#showiproute
Codes:
C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP
D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2
E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP
i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea
*-candidatedefault,U-per-userstaticroute,o-ODR
P-periodicdownloadedstaticroute
Gatewayoflastresortisnotset
C192.168.224.0/24isdirectlyconnected,Serial0/0
192.168.232.0/32issubnetted,1subnets
O192.168.232.1[110/65]via192.168.224.2,00:
00:
28,Serial0/0
C192.168.0.0/24isdirectlyconnected,Loopback1
C192.168.1.0/24isdirectlyconnected,Loopback0
sanjose3#
aukland#showiproute
192.168.240.0/30issubnetted,1subnets
C192.168.240.0isdirectlyconnected,Serial0/0
C192.168.248.0/24isdirectlyconnected,Loopback1
C192.168.252.0/24isdirectlyconnected,Loopback0
aukland#
二、配置虚链路并查看
在singapore上
area51virtual-link192.168.1.3(对方目标网络地址)
在sangjose3上
area51virtual-link192.168.232.1
用showipospfvirtual-link查看虚链路
singapore#showipospfvirtual-links
VirtualLinkOSPF_VL1torouter192.168.1.3isup
Runasdemandcircuit
DoNotAgeLSAallowed.
Transitarea51,viainterfaceSerial0/0,Costofusing64
TransmitDelayis1sec,StatePOINT_TO_POINT,
Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5
Helloduein00:
00
AdjacencyStateFULL(Hellosuppressed)
Index1/3,retransmissionqueuelength0,numberofretransmission0
First0x0(0)/0x0(0)Next0x0(0)/0x0(0)
Lastretransmissionscanlengthis0,maximumis0
Lastretransmissionscantimeis0msec,maximumis0msec
sanjose3#showipospfvirtual-links
VirtualLinkOSPF_VL1torouter192.168.232.1isup
04
Index1/2,retransmissionqueuelength0,numberofretransmission1
Lastretransmissionscanlengthis1,maximumis1
并用showiproute查看路由表
sanjose3#showiproute
OIA192.168.240.0[110/128]via192.168.224.2,00:
06:
02,Serial0/0
21,Serial0/0
OIA192.168.224.0/24[110/128]via192.168.240.1,00:
01:
42,Serial0/0
OIA192.168.232.1[110/65]via192.168.240.1,00:
192.168.0.0/32issubnetted,1subnets
OIA192.168.0.3[110/129]via192.168.240.1,00:
13,Serial0/0
192.168.1.0/32issubnetted,1subnets
OIA192.168.1.3[110/129]via192.168.240.1,00:
总结实验心得:
通过对OSPF虚链路的原理学习及配置实验,使我懂得了如果在非法的OSPF区域中我们可以使用OSPF的虚链路技术达到非法区域的相互通信。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ospf 虚链路