ImageVerifierCode 换一换
格式:DOCX , 页数:18 ,大小:18.94KB ,
资源ID:8190407      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/8190407.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(H3C路由学习笔记静态路由.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

H3C路由学习笔记静态路由.docx

1、H3C路由学习笔记静态路由H3C路由(MSR26-30)1、进入系统视图Startup configuration file does not exist.Performing automatic configuration. Press CTRL_D to break.-按Ctrl + D键终止设备查找自动配置Automatic configuration attempt: 1.Not ready for automatic configuration: no interface available.Waiting for the next.Automatic configuration i

2、s aborted.-按Ctrl + D键后放弃自动配置的尝试Line aux0 is available.Press ENTER to get started.-到这里系统启动完毕,按回车键%Aug 22 09:19:53:318 2014 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.-再按一次回车键 system-viewH3C2、修改路由器名称sysH3Csysname 名称如将默认的路由器名称改为RoNetwork_Dept,Ro表示设备类型为路由器,Network_Dept表示部门名称,以后看到这个名称就知道这是什么设备、在什么位

3、置。建议以后都采用这种方式来给设备命名,以方便管理。H3Csysname RoNetwork_DeptRoNetwork_Dept如果要恢复默认名称,使用undo sysname命令:RoNetwork_Deptundo sysnameH3C3、显示路由表(1)IPv4显示路由表概要信息:RoNetwork_Deptdisplay ip routing-table显示路由表详细信息:RoNetwork_Deptdisplay ip routing-table verbose显示某种路由协议的信息:RoNetwork_Deptdisplay ip routing-table protocol b

4、gp|direct|guard|isis|ospf|rip|static还有其他信息,可使用?显示帮助以便选择:RoNetwork_Deptdisplay ip routing-table ?(2)IPv6只需将IPv4的命令中ip替换成ipv6即可。4、配置接口sys system-viewH3Cint 接口名称如配置G0/0接口:RoNetwork_Deptint g0/0RoNetwork_Dept-GigabitEthernet0/0-进入接口配置视图配置IP地址:RoNetwork_Dept-GigabitEthernet0/0ip add ?-后面跟掩码长度也行,跟掩码也行 INT

5、EGER IP mask length IP maskRoNetwork_Dept-GigabitEthernet0/0ip add 24 -24表示掩码长度为24位,和RoNetwork_Dept-GigabitEthernet0/0undo shutdown-激活接口RoNetwork_Dept-GigabitEthernet0/0dis int g0/0-查看接口信息5、信息回显及tracert为了防止命令被系统输出的消息打断,可以配置信息回显:RoNetwork_Deptinfo-center synchronous为防止tracert超时,链路两端的设备都要开启以下功能:RoNetw

6、ork_Deptip redirects enable 开启设备的ICMP重定向报文的发送功能RoNetwork_Deptip ttl-expires enable开启设备的ICMP超时报文的发送功能RoNetwork_Deptip unreachable enable 开启设备的ICMP目的不可达报文的发送功能6、配置静态路由拓扑图:RoNetwork_Dept端:sysSystem View: return to User View with Ctrl+Z.H3Csys RoNetwork_DeptRoNetwork_Deptinfo syncInfo-center synchronous

7、 output is on.RoNetwork_Deptint lo0RoNetwork_Dept-LoopBack0ip add 24RoNetwork_Dept-LoopBack0int g0/0RoNetwork_Dept-GigabitEthernet0/0ip add 24RoNetwork_Dept-GigabitEthernet0/0undo shRoNetwork_Dept-GigabitEthernet0/0ip route RoNetwork_Dept%Aug 22 11:45:32:415 2014 RoNetwork_Dept IFNET/3/PHY_UPDOWN: P

8、hysical state on the interface GigabitEthernet0/0 changed to up.%Aug 22 11:45:32:416 2014 RoNetwork_Dept IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet0/0 changed to up.-系统发出的消息,g0/0接口已经up了RoNetwork_Deptdis ip roDestinations : 17 Routes : 17Destination/Mask Proto Pre Cost

9、NextHop Interface Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 GE0/0 Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 Loop0 Direct 0 0 Loop0 Direct 0 0 InLoop0 Direct 0 0 Loop0 Static 60 0 GE0/0 Direct 0 0 NULL0 Direct 0 0 N

10、ULL0 Direct 0 0 InLoop0RoNetwork_Deptping -使用ping命令测试路由是否配置正确Ping ( 56 data bytes, press CTRL_C to break56 bytes from icmp_seq=0 ttl=255 time=1.457 ms56 bytes from icmp_seq=1 ttl=255 time=1.113 ms56 bytes from icmp_seq=2 ttl=255 time=1.168 ms56 bytes from icmp_seq=3 ttl=255 time=1.189 ms56 bytes fro

11、m icmp_seq=4 ttl=255 time=1.049 ms- Ping statistics for -5 packets transmitted, 5 packets received, 0.0% packet lossround-trip min/avg/max/std-dev = 1.049/1.195/1.457/0.140 msRoNetwork_Dept%Aug 22 11:49:29:304 2014 RoNetwork_Dept PING/6/PING_STATISTICS: Ping statistics for 5 packets transmitted, 5 p

12、ackets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.049/1.195/1.457/0.140 ms.RoNetwork_DeptRoNetCenter端:sysSystem View: return to User View with Ctrl+Z.H3Csys RoNetCenterRoNetCenterinfo syncInfo-center synchronous output is on.RoNetCenterint lo0RoNetCenter-LoopBack0ip add 32RoNetCe

13、nter-LoopBack0int g0/0RoNetCenter-GigabitEthernet0/0ip add 24RoNetCenter-GigabitEthernet0/0undo shRoNetCenter-GigabitEthernet0/0quitRoNetCenterip ro RoNetCenterdis ip roDestinations : 14 Routes : 14Destination/Mask Proto Pre Cost NextHop Interface Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 GE0/0

14、 Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Static 60 0 GE0/0 Direct 0 0 InLoop0 Direct 0 0 NULL0 Direct 0 0 NULL0 Direct 0 0 InLoop0RoNetCenter配置等价静态路由RoNetwork_Dept端:RoNetwork_Deptint g0/1RoNetwork_Dept-GigabitEthernet0/1ip add 2

15、4RoNetwork_Dept-GigabitEthernet0/1undo shRoNetwork_Dept-GigabitEthernet0/1quitRoNetwork_Deptip ro RoNetwork_Deptdis ip roDestinations : 21 Routes : 22Destination/Mask Proto Pre Cost NextHop Interface Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 GE0/0 Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0

16、GE0/1 Direct 0 0 GE0/1 Direct 0 0 InLoop0 Direct 0 0 GE0/1 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 Loop0 Direct 0 0 Loop0 Direct 0 0 InLoop0 Direct 0 0 Loop0 Static 60 0 GE0/0 GE0/1 Direct 0 0 NULL0 Direct 0 0 NULL0 Direct 0 0 InLoop0RoNetCenter端:RoNetC

17、enterint g0/1RoNetCenter-GigabitEthernet0/1ip add 24RoNetCenter-GigabitEthernet0/1undo shRoNetCenter-GigabitEthernet0/1quitRoNetCenterip ro RoNetCenterdis ip roDestinations : 18 Routes : 19Destination/Mask Proto Pre Cost NextHop Interface Direct 0 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 GE0/0 Direct 0

18、 0 InLoop0 Direct 0 0 GE0/0 Direct 0 0 GE0/1 Direct 0 0 GE0/1 Direct 0 0 InLoop0 Direct 0 0 GE0/1 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Direct 0 0 InLoop0 Static 60 0 GE0/0 GE0/1 Direct 0 0 InLoop0 Direct 0 0 NULL0 Direct 0 0 NULL0 Direct 0 0 InLoop0测试:RoNetwork_Deptping Ping ( 56

19、 data bytes, press CTRL_C to break56 bytes from icmp_seq=0 ttl=255 time=0.935 ms56 bytes from icmp_seq=1 ttl=255 time=1.156 ms56 bytes from icmp_seq=2 ttl=255 time=0.732 ms56 bytes from icmp_seq=3 ttl=255 time=1.301 ms56 bytes from icmp_seq=4 ttl=255 time=0.733 ms- Ping statistics for -5 packets tra

20、nsmitted, 5 packets received, 0.0% packet lossround-trip min/avg/max/std-dev = 0.732/0.971/1.301/0.227 msRoNetCenterping -r route”,记录路由Ping ( 56 data bytes, press CTRL_C to break56 bytes from icmp_seq=0 ttl=255 time=0.827 msRR: 56 bytes from icmp_seq=1 ttl=255 time=0.964 msRR: 56 bytes from icmp_seq

21、=2 ttl=255 time=1.895 msRR: 56 bytes from icmp_seq=3 ttl=255 time=0.673 msRR: 56 bytes from icmp_seq=4 ttl=255 time=0.905 msRR: - Ping statistics for -5 packets transmitted, 5 packets received, 0.0% packet lossround-trip min/avg/max/std-dev = 0.673/1.053/1.895/0.432 ms-数据包被轮流在两条链路上发送,但是奇怪的是,只从一条链路返回

22、,这与GNS3的Cisco路由器不一样,Cisco的是从哪条链路出去就从哪条链路返回:参考:R1#pingProtocol ip:Target IP address: Repeat count 5:Datagram size 100:Timeout in seconds 2:Extended commands n: ySource address or interface:Type of service 0:Set DF bit in IP header? no:Validate reply data? no:Data pattern 0xABCD:Loose, Strict, Record,

23、 Timestamp, Verbosenone: rNumber of hops 9 :Loose, Strict, Record, Timestamp, VerboseRV: r% No room for that optionLoose, Strict, Record, Timestamp, VerboseRV: Record% No room for that optionLoose, Strict, Record, Timestamp, VerboseRV:Sweep range of sizes n:Type escape sequence to abort.Sending 5, 1

24、00-byte ICMP Echos to , timeout is 2 seconds:Packet has IP options: Total option bytes= 39, padded length=40 Record route: ( ( ( ( ( ( ( ( (Request 0 timed outRequest 1 timed outReply to request 2 (32 ms). Received packet has options Total option bytes= 40, padded length=40 Record route: ( ( ( ( 回来

25、( ( ( ( ( End of listReply to request 3 (48 ms). Received packet has options Total option bytes= 40, padded length=40 Record route: ( ( ( ( ( ( ( ( ( End of listReply to request 4 (24 ms). Received packet has options Total option bytes= 40, padded length=40 Record route: ( ( ( ( ( ( ( ( ( End of lis

26、tSuccess rate is 60 percent (3/5), round-trip min/avg/max = 24/34/48 ms RoNetwork_Deptint g0/0RoNetwork_Dept-GigabitEthernet0/0sh -关闭G0/0接口,看看还能不能ping通RoNetwork_Dept-GigabitEthernet0/0%Aug 22 12:11:22:912 2014 RoNetwork_Dept IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet0/0 chan

27、ged to down.%Aug 22 12:11:22:913 2014 RoNetwork_Dept IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet0/0 changed to down.quitRoNetwork_Deptping Ping ( 56 data bytes, press CTRL_C to break56 bytes from icmp_seq=0 ttl=255 time=0.676 ms56 bytes from icmp_seq=1 ttl=255 time=0.62

28、6 ms56 bytes from icmp_seq=2 ttl=255 time=0.756 ms56 bytes from icmp_seq=3 ttl=255 time=0.952 ms56 bytes from icmp_seq=4 ttl=255 time=0.740 ms- Ping statistics for -5 packets transmitted, 5 packets received, 0.0% packet lossround-trip min/avg/max/std-dev = 0.626/0.750/0.952/0.111 msRoNetwork_Dept%Au

29、g 22 12:11:33:357 2014 RoNetwork_Dept PING/6/PING_STATISTICS: Ping statistics for 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.626/0.750/0.952/0.111 ms.可见,当其中一条链路down了之后,数据包可以通过另一条链路发往目的地。配置非等价静态路由:RoNetwork_Deptint g0/0RoNetwork_Dept-GigabitEthernet0/0undo sh -重新激活G0/0接口RoNetwork_Dept-GigabitEthernet0/0quitRoNetwork_Deptundo ip ro -删除前面配置的路由RoNetwork_Deptundo ip ro RoNetwork_Deptip ro preference 1 配置非等价静态路由,指定优先级为1RoNetwork_Deptip ro -采用默认的优先级60,比上一条的优先级低RoNetwork_Deptdis ip roDestinations : 21 Routes : 21Desti

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1