h3c 静态路由实验
更新时间:2024-01-19 08:43:01 阅读量: 教育文库 文档下载
- h3c路由器怎么设置推荐度:
- 相关推荐
一:两头通试验
System View: return to User View with Ctrl+Z. [H3C]sysname R1 [R1]int LoopBack 0
[R1-LoopBack0]ip address 10.0.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit.
[R1-LoopBack0]quit [R1]int s0/2/0
[R1-Serial0/2/0]ip add 10.1.0.1 24 [R1-Serial0/2/0]quit [R1]dis ip int bri
*down: administratively down (s): spoofing
Interface Physical Protocol IP Address Description Ethernet0/1/0 up up unassigned Ethernet0... GigabitEthernet0/1/0 up up unassigned GigabitEt... GigabitEthernet0/1/1 down down unassigned GigabitEt... LoopBack0 up up(s) 10.0.0.1 LoopBack0... Serial0/2/0 up up 10.1.0.1 Serial0/2... Serial0/2/1 down down unassigned Serial0/2... [R1]ping 10.0.0.1
PING 10.0.0.1: 56 data bytes, press CTRL_C to break
Reply from 10.0.0.1: bytes=56 Sequence=1 ttl=255 time=4 ms Reply from 10.0.0.1: bytes=56 Sequence=2 ttl=255 time=1 ms Reply from 10.0.0.1: bytes=56 Sequence=3 ttl=255 time=1 ms Reply from 10.0.0.1: bytes=56 Sequence=4 ttl=255 time=4 ms Reply from 10.0.0.1: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 10.0.0.1 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss
round-trip min/avg/max = 1/4/10 m
二:单边路由和扩展的ping
一:具体配置如下 1:R1的配置如下
System View: return to User View with Ctrl+Z. [R1]int LoopBack 0 [R1-LoopBack0]ip add 10.0.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit. [R1-LoopBack0]int s0/2/0 [R1-Serial0/2/0]ip add 10.1.0.1 24 [R1]ip route-static 10.2.0.1 24 10.1.0.2 [R1]
%Apr 27 19:05:24:500 2011 R1 IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on the interface Serial0/2/0 is UP. [R1]dis ip routing-table Routing Tables: Public
Destinations : 7 Routes : 7
Destination/Mask Proto Pre Cost NextHop Interface
10.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.0.0/24 Direct 0 0 10.1.0.1 S0/2/0
10.1.0.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.0.2/32 Direct 0 0 10.1.0.2 S0/2/0
10.2.0.0/24 Static 60 0 10.1.0.2 S0/2/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
[R1]ping 10.2.0.1
PING 10.2.0.1: 56 data bytes, press CTRL_C to break Reply from 10.2.0.1: bytes=56 Sequence=1 ttl=255 time=5 ms Reply from 10.2.0.1: bytes=56 Sequence=2 ttl=255 time=30 ms Reply from 10.2.0.1: bytes=56 Sequence=3 ttl=255 time=5 ms Reply from 10.2.0.1: bytes=56 Sequence=4 ttl=255 time=30 ms Request time out
--- 10.2.0.1 ping statistics --- 5 packet(s) transmitted 4 packet(s) received
20.00% packet loss
round-trip min/avg/max = 5/17/30 ms [R1]ping -a 10.0.0.1 24 10.2.0.1 ^
% Too many parameters found at '^' position. [R1]ping -a 10.0.0.1 10.2.0.1
PING 10.2.0.1: 56 data bytes, press CTRL_C to break Request time out Request time out Request time out Request time out Request time out
--- 10.2.0.1 ping statistics --- 5 packet(s) transmitted 0 packet(s) received
100.00% packet lost 2:R2的配置如下
System View: return to User View with Ctrl+Z. [H3C]sysname R2 [R2]int loo
[R2]int LoopBack 1
[R2-LoopBack1]ip add 10.2.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit.
[R2-LoopBack1]int s0/2/2 [R2-Serial0/2/2]ip add 10.1.0.2 24 [R2-Serial0/2/2] %Apr
27
19:05:24:500
2011
R2
IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on the interface Serial0/2/2 is UP.
[R2-Serial0/2/2]quit [R2]dis ip routing-table Routing Tables: Public
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
10.1.0.0/24 Direct 0 0 10.1.0.2 S0/2/2
10.1.0.1/32 Direct 0 0 10.1.0.1 S0/2/2
10.1.0.2/32 Direct 0 0 127.0.0.1 InLoop0
10.2.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
三:缺省路由
一:具体配置如下 1:R1的配置
[R1-LoopBack0]ip add 10.0.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit. [R1-LoopBack0]int s0/2/0 [R1-Serial0/2/0]ip add 10.1.0.1 24 [R1-Serial0/2/0]quit
[R1]ip route-static 0.0.0.0 0.0.0.0 10.1.0.2 [R1]
%Apr 27 19:35:05:547 2011 R1 IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on the interface Serial0/2/0 is UP. [R1]ping 10.3.0.1
PING 10.3.0.1: 56 data bytes, press CTRL_C to break
Reply from 10.3.0.1: bytes=56 Sequence=1 ttl=254 time=34 ms Reply from 10.3.0.1: bytes=56 Sequence=2 ttl=254 time=20 ms Reply from 10.3.0.1: bytes=56 Sequence=3 ttl=254 time=1 ms Reply from 10.3.0.1: bytes=56 Sequence=4 ttl=254 time=20 ms
Reply from 10.3.0.1: bytes=56 Sequence=5 ttl=254 time=20 ms 2:R2的配置
System View: return to User View with Ctrl+Z. [H3C]sysname R2 [R2]int s0/2/2
[R2-Serial0/2/2]ip add 10.1.0.2 24 [R2-Serial0/2/2]int s0/2/0 [R2-Serial0/2/0]ip add 10.2.0.1 24 [R2-Serial0/2/0]quit
[R2]ip route-static 10.0.0.1 24 10.1.0.1 [R2]ip route-static 10.3.0.1 24 10.2.0.2 [R2]
3:R3的配置
System View: return to User View with Ctrl+Z. [H3C]sysname R3 [R3]int LoopBack 1
[R3-LoopBack1]ip add 10.3.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit. [R3-LoopBack1]int s0/2/0 [R3-Serial0/2/0]ip add 10.2.0.2 24 [R3-Serial0/2/0]quit
[R3]ip route-static 0.0.0.0 0.0.0.0 10.2.0.1 [R3]
三:关于rip的几个实验
1:单播
《1》R1的配置及运行结果
#May 2 21:05:34:979 2012 H3C SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1
%May 2 21:05:34:979 2012 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.
System View: return to User View with Ctrl+Z. [H3C]sysname R1 [R1]int loo [R1]int LoopBack 0
[R1-LoopBack0]ip add 10.1.0.0 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit. [R1-LoopBack0]int s0/2/0 [R1-Serial0/2/0]ip add 10.2.0.1 24 [R1-Serial0/2/0]quit [R1]rip [R1-rip-1]undo ?
checkzero Perform the checkzero operation in the zero fields
of RIP-1 packets
default Specify default metric for imported routes
default-route Enable advertisement of default routes fast-reroute Specify fast reroute configuration filter-policy Specify route filtering policy host-route Enable receiving host-routes import-route Import routes from other protocols
into RIP
maximum Set maximum number of balanced paths
network Enable the routing protocol on the related network
output-delay packets
peer preference silent-interface on the
summary timers trip configuration
validate-source-address received RIP
version
or interface
Set interval between sending update Specify a peer router Specify RIP route preference Suppress RIP packets from being sent specified interface
Enable route summarization Adjust the protocol timers
Specify TRIP(Triggered RIP) information
Validate the source IP address of updates
Specify RIP version
[R1-rip-1]undo s [R1-rip-1]undo summary [R1-rip-1]ver [R1-rip-1]version 2 [R1-rip-1]quit [R1] %May
2
21:08:21:026
2012
R1
IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on the interface Serial0/2/0 is UP. [R1]rip
[R1-rip-1]net 10.1.0.0 [R1-rip-1]net 10.2.0.0
Specified network is already configured in this instance [R1-rip-1]quit [R1]ping 10.4.0.2
PING 10.4.0.2: 56 data bytes, press CTRL_C to break
Reply from 10.4.0.2: bytes=56 Sequence=1 ttl=254 time=30 ms Request time out Request time out
Reply from 10.4.0.2: bytes=56 Sequence=4 ttl=254 time=10 ms Reply from 10.4.0.2: bytes=56 Sequence=5 ttl=254 time=10 ms
--- 10.4.0.2 ping statistics --- 5 packet(s) transmitted 3 packet(s) received 40.00% packet loss
round-trip min/avg/max = 10/16/30 ms 《2》R2的配置及运行结果
#May 2 21:07:35:527 2012 H3C SHELL/4/LOGIN: Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1
%May 2 21:07:35:527 2012 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.
System View: return to User View with Ctrl+Z. [H3C]sysname R2 [R2]int loo 1
[R2-LoopBack1]ip add 10.3.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit.
[R2-LoopBack1]int s0/2/2 [R2-Serial0/2/2]ip add 10
^
% Wrong parameter found at '^' position. [R2-Serial0/2/2]ip add 10.2.0.2 24 [R2-Serial0/2/2] %May
2
21:08:21:485
2012
IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on interface Serial0/2/2 is UP.
[R2-Serial0/2/2]quit [R2]rip [R2-rip-1]undo s [R2-rip-1]undo summary [R2-rip-1]ver 2 [R2-rip-1] [R2-rip-1] [R2-rip-1]net ^
% Incomplete command found at '^' position. [R2-rip-1]net
[R2-rip-1]network 10.2.0.0 [R2-rip-1]net 10.3.0.0
Specified network is already configured in this instance [R2-rip-1]int s0/2/0
R2
the
[R2-Serial0/2/0]ip add 10.4.0.1 24 [R2-Serial0/2/0]quit [R2]rip [R2-rip-1]undo s [R2-rip-1]undo summary [R2-rip-1]net 10.4.0.0
Specified network is already configured in this instance [R2-rip-1] %May
2
21:11:20:340
2012
IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on interface Serial0/2/0 is UP.
[R2-rip-1] [R2-rip-1]rip [R2-rip-1]ber 2 ^
% Unrecognized command found at '^' position. [R2-rip-1]ver 2 [R2-rip-1]
《3》R3的配置及运行结果
#May 2 21:10:30:097 2012 H3C SHELL/4/LOGIN:
R2
the
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1
%May 2 21:10:30:097 2012 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.
System View: return to User View with Ctrl+Z. [H3C]sysname R3 [R3]int loo [R3]int LoopBack 2
[R3-LoopBack2]ip add 10.5.0.1 24
Info: Only 32-bit masks are supported on Loopback interfaces. The mask has been converted to 32-bit.
[R3-LoopBack2]int s0/2/0 [R3-Serial0/2/0]ip add 1 ^
% Wrong parameter found at '^' position. [R3-Serial0/2/0]ip add 10.4.0.2 24 [R3-Serial0/2/0] %May
2
21:11:20:360
2012
R3
IFNET/5/PROTOCOL_UPDOWN: Protocol PPP IPCP on the interface Serial0/2/0 is UP.
[R3-Serial0/2/0]quit
[R3]rip [R3-rip-1]ver 2 [R3-rip-1]undo s [R3-rip-1]undo summary [R3-rip-1]ver 2 [R3-rip-1]net 10.5.0.0 [R3-rip-1]net 10.4.0.0
Specified network is already configured in this instance [R3-rip-1]
2:连续子网及不连续子网
《1》R1的配置及运行结果 《2》R2的配置及运行结果
3:debugging 抓包
[R1]quit
Info: Current terminal monitor is on.
Info: Current terminal debugging is on.
This may severely impact network performance. Continue? [Y/N]:y
正在阅读:
h3c 静态路由实验01-19
党员谈话内容02-17
参考计划-2019年物业客服工作计划模板 - 图文09-11
老公向老婆写的保证书推荐12-11
全国人事科研成果获奖情况03-18
东京轨道交通系统11-02
防灾减灾 - 防火12-30
通达信大智慧函数对照表04-21
亮化工程技术标03-02
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 路由
- 静态
- 实验
- h3c
- 第二单元 餐饮服务技能
- 高分子物理实验
- 立体几何复习学案5
- 武汉大学 2010年国家公派研究生项目录取人员名单
- 志愿者、民警职责
- 油气井交接井办法(终稿)
- 2016广州英语小升初 感叹句 专题复习
- 16春天大《西方经济学》在线作业一
- 洪水影响评价类审批服务
- 高处作业真题
- 加强银行内控管理 促进业务蓬勃发展
- 美丽乡村建设指南(GBT32000-2015)完整版
- 2005年7月《中国古代文论》网上复习资料
- 点阵液晶显示实验报告
- 活性污泥法和生物膜法的优缺点及其他
- 2013年保险销售从业人员考试真题《十一》
- 许营镇绣衣集小学2017年暑假致家长的一封信
- 化学纤维专业方向介绍
- 分析化学设计性实验 蔬菜中铅镉含量的测定 - 图文
- 电力设计投标标书 商务标书模板