路由技术笔记.docx

上传人:p** 文档编号:939260 上传时间:2024-04-21 格式:DOCX 页数:9 大小:131.83KB
下载 相关 举报
路由技术笔记.docx_第1页
第1页 / 共9页
路由技术笔记.docx_第2页
第2页 / 共9页
路由技术笔记.docx_第3页
第3页 / 共9页
路由技术笔记.docx_第4页
第4页 / 共9页
路由技术笔记.docx_第5页
第5页 / 共9页
路由技术笔记.docx_第6页
第6页 / 共9页
路由技术笔记.docx_第7页
第7页 / 共9页
路由技术笔记.docx_第8页
第8页 / 共9页
路由技术笔记.docx_第9页
第9页 / 共9页
亲,该文档总共9页,全部预览完了,如果喜欢就下载吧!
资源描述

《路由技术笔记.docx》由会员分享,可在线阅读,更多相关《路由技术笔记.docx(9页珍藏版)》请在第壹文秘上搜索。

1、路由基础1、FIB表(1)网络连通性RT1:#sysnameRTl#interfaceGigabitEthernetO/Oipaddress202.0.0.1255.255.255.252#interfaceGigabitEthernetO/1ipaddress192.168.1.254255.255.255.0#iproute-static192.168.2.024202.0.0.2#RT2:#sysnameRT2#interfaceGigabitEthernetO/Oipaddress202.0.0.2255.255.255.252#interfaceGigabitEthernetO/1i

2、paddress192.168.2.254255.255.255.0#iproute-static192.168.1.024202.0.0.1PCl和PC2:测试:ping 192.168.2.1Ping 192.168.2.1 (192.168.2.1): 56 data bytes, press CTRL_C to break 56 bytes from 192.168.2.1: icmp_seq=0 ttl=253 time=1.140 ms56 bytes56 bytes56 bytes56 bytesfromfrom from from192.168.2192.168.2192.16

3、8.2192.168.21: icmp_seq=l1: i cmp_seq=21: icmp_seq=31: i cmp-seq=4ttl=253ttl=253 ttl=253ttl=253time=1.108time=1.047 time=1.377 time=0.986ms ms ms msPingstatisticsfor192.168.2.15packet(s)transmitted,5packet(s)received,0.0%packetlossround-tripmin/avg/max/std-dev=0.986/1.132/1.377/0.134ms%Apr1009:57:25

4、:1542023H3CPING/6/PING_STATISTICS:Pingstatisticsfor192.168.21) 5packet(s)transmitted,5packet(s)received,0.0%packetToss,round-tripmin/avg/mx/std-dev=0.986/1.132/1.377/0.134ms.2) )FIB表RTldisplayiprouting-tableDestinations:14Routes:14Destination/MaskProtoPreCostNextHopInterface0.0.0.0/32Direct00127.0.0

5、.1InLoopO127.0.0.0/8Direct00127.0.0.1InLoopO127.0.0.1/32Direct00127.0.0.1InLoopO127.255.255.255/32Direct00127.0.0.1InLoopO192.168.1.0/24Direct00192.168.1.254GEO/1192.168.1.254/32Direct00127.0.0.1InLoopO192.168.1.255/32Direct00192.168.1.254GEO/1192.168.2.0/24Static600202.0.0.2GEO/O202.0.0.0/30Direct0

6、0202.0.0.1GEO/O202.0.0.1/32Direct00127.0.0.1InLoopO202.0.0.3/32Direct00202.0.0.1GEO/O224.0.0.0/4Direct000.0.0.0NULLO224.0.0.0/24Direct000.0.0.0NULLO255.255.255.255/32Direct00127.0.0.1InLoopORTldisplayfibDestinationcount:16FIBentrycount:16Flag:UrUseabIeGiGatewayH:HostBiBIackhoIeDiDynamicSrStaticR:Rel

7、ayF:FRRDestination/MaskNexthopFlagOutlnterfaceTokenLabel0.0.0.0/32127.0.0.1UHInLoopONull127.0.0.0/8127.0.0.1UInLoopONull127.0.0.1/32127.0.0.1UHInLoopONull127.255.255.255/32127.0.0.1UHInLoopONull192.168.1.0/24192.168.1.254UGEO/1Null192.168.1.1/32192.168.1.1UHGEO/1Null192.168.1.254/32127.0.0.1UHInLoop

8、ONull192.168.1.255/32192.168.1.254UBHGEO/1Null192.168.2.0/24202.0.0.2USGRGE00Null202.0.0.0/30202.0.0.1UGE00Null202.0.0.1/32127.0.0.1UHInLoopONull202.0.0.2/32202.0.0.2UHGE00Null202.0.0.3/32202.0.0.1UBHGE00Null224.0.0.0/40.0.0.0UBNULLONull224.0.0.0/240.0.0.0UBNULLONull255.255.255.255/32127.0.0.1UHInLo

9、opONull2、快速转发表RTldisplayipfast-forwardingcacheNofast-forwardingentries.触通PCI:ping-c1192.168.2.1Ping192.168.2.1(192.168.2.1):56databytes,pressCTRL_Ctobreak56bytesfrom192.168.2.1:icmp_seq=Ottl=253time=1.431msPingstatisticsfor192.168.2.11packet(s)transmitted,1packet(s)received,0.0%packetlossround-tripm

10、in/avg/max/std-dev=1.431/1.431/1.431/nanms%Apr1010:02:51:5752023H3CPING/6/PING_STATISTICS:Pingstatisticsfor192.168.2.1:1packet(s)transmitted,1packet(s)received,0.0%packetloss,round-tripmin/avg/max/std-dev=1.431/1.431/1.431/nanms.RTldisplayipfast-forwardingcacheTotalnumberoffast-forwardingentries:2SI

11、PSPortDIPDPortProInputJfOutputJfFg192.168.2.1162192.168.1.101GE00GEO/11192.168.1.1162192.168.2.120481GEO/1GE001RTlundoipfast-forwardingload-sharing关闭快速转发功能,实现基于包的转发。3、路由协议优先级(1)缺省值路由协议H3C缺省值项目中建议值Direct0OSPF10110ISIS15Static601或者10RIP100OSPF_ASE150190BGP255255130EBGPIBGPLOCAL-AS20170130EBGPIBGPLOCAL

12、-AS(2)命令修改 StaticRTliproute-static192.168.2.024202.0.0.2preference10 RIPRTlrip1RTl-rip-lpreference120 OSPF/内部路由协议RTlospf1RTl-Ospf-Ilpreference110/外部路由协议RTlospf1RTl-ospf-lpreferencease190 ISISRTlisis1RTl-isis-laddress-familyipv4unicastRTl-isis-l-ipv4preference20 BGPRTlbgp65000RTl-bgp-defaultaddress-f

13、amilyipv4unicastRTl-bgp-default-ipv4preference20170130OSPF1、实验(1)拓扑LoopbackO:1.1.1.1/32PC1192.168.1.1/24192.168.2.0/24OspfareaoLoopbackO:2.2.2.2/32.2PC2192.168.3.1/24(2)实验配置RTA:#sysname Rm#interface LoopBackOip address l.l.l.l 255.255.255.255#interface GigabitEthernetO/Oip address 192.168.2.1 255.25

14、5.255.0#interface GigabitEthernetO/1ip address 192.168.1.254 255.255.255.0 #ospf 1 router-id l.l.l.larea 0.0.0.0network l.l.l.l 0.0.0.0network 192.168.1.0 0.0.0.255network 192.168.2.0 0.0.0.255#RTB:#sysname RTB#interface LoopBackOip address 2.2.2.2 255.255.255.255#interface GigabitEthernetO/Oip address 19

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 网络与通信

copyright@ 2008-2023 1wenmi网站版权所有

经营许可证编号:宁ICP备2022001189号-1

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。第壹文秘仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知第壹文秘网,我们立即给予删除!