HCNA调整RIP的运行版本
1、拓扑图
2、实验配置
R1配置RIPv1
md5加密认证
Please press enter to start cmd line!
################################################################################
################
<Huawei>
Dec ::-: Huawei %%01IFPDT//IF_STATE(l)[]:Interface GigabitEt
hernet0// has turned into UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
[R1]int
[R1]interface g0//
[R1-GigabitEthernet0//]ip add 12.1.1.1
[R1-GigabitEthernet0//]
Dec ::-: R1 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R1-GigabitEthernet0//]q
[R1]rip
[R1-rip-]net
[R1-rip-]network 12.0.0.0
[R1-rip-]
[R1-rip-]tim
[R1-rip-]timers rip
[R1-rip-]timers rip
[R1-rip-]q
[R1]int
[R1]interface g0//
[R1-GigabitEthernet0//]rip au
[R1-GigabitEthernet0//]rip authentication-mode md
[R1-GigabitEthernet0//]rip authentication-mode md5 no
[R1-GigabitEthernet0//]rip authentication-mode md5 nonstandard ci
[R1-GigabitEthernet0//]rip authentication-mode md5 nonstandard cipher huawei [R1-GigabitEthernet0//]q
[R1]dis rip
Public VPN-instance
RIP process :
RIP version :
Preference :
Checkzero : Enabled
Default-cost :
Summary : Enabled
Host-route : Enabled
Maximum number of balanced paths :
Update time : sec Age time : sec
Garbage-collect time : sec
Graceful restart : Disabled
BFD : Disabled
Silent-interfaces : None
Default-route : Disabled
Verify-source : Enabled
Networks :
12.0.0.0
Configured peers : None
Number of routes in database :
Number of interfaces enabled :
Triggered updates sent :
Number of route changes :
Number of replies to queries :
Number of routes in ADV DB : Total count for process :
Number of routes in database :
Number of interfaces enabled :
Number of routes sendable in a periodic update :
Number of routes sent in last periodic update :
[R1]
R2配置RIPv2
The device is running!
####
<Huawei> Please check whether system data has been changed, and save data in time Configuration console time out, please press any key to log on <Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn R2
[R2]int
[R2]interface g0//
[R2-GigabitEthernet0//]ip add 12.1.1.2
[R2-GigabitEthernet0//]
Dec ::-: R2 %%01IFNET//LINK_STATE(l)[]:The line protocol IP
on the interface GigabitEthernet0// has entered the UP state.
[R2-GigabitEthernet0//]rip a
[R2-GigabitEthernet0//]rip authentication-mode mid
[R2-GigabitEthernet0//]rip authentication-mode mid
[R2-GigabitEthernet0//]rip authentication-mode md
[R2-GigabitEthernet0//]rip authentication-mode md5 no
[R2-GigabitEthernet0//]rip authentication-mode md5 nonstandard ci
[R2-GigabitEthernet0//]rip authentication-mode md5 nonstandard cipher huawei [R2-GigabitEthernet0//]q
[R2]rip
[R2-rip-]versio
[R2-rip-]version
[R2-rip-]networ
[R2-rip-]network 12.0.0.0
[R2-rip-]tim
[R2-rip-]timers ri
[R2-rip-]timers rip
[R2-rip-]q
[R2]ping 12.1.1.1
PING 12.1.1.1: data bytes, press CTRL_C to break
Reply from 12.1.1.1: bytes= Sequence= ttl= time= ms
Reply from 12.1.1.1: bytes= Sequence= ttl= time= ms
Reply from 12.1.1.1: bytes= Sequence= ttl= time= ms
Reply from 12.1.1.1: bytes= Sequence= ttl= time= ms
Reply from 12.1.1.1: bytes= Sequence= ttl= time= ms --- 12.1.1.1 ping statistics ---
packet(s) transmitted
packet(s) received
0.00% packet loss
round-trip min/avg/max = // ms [R2]dis rip
Public VPN-instance
RIP process :
RIP version :
Preference :
Checkzero : Enabled
Default-cost :
Summary : Enabled
Host-route : Enabled
Maximum number of balanced paths :
Update time : sec Age time : sec
Garbage-collect time : sec
Graceful restart : Disabled
BFD : Disabled
Silent-interfaces : None
Default-route : Disabled
Verify-source : Enabled
Networks :
12.0.0.0
Configured peers : None
Number of routes in database :
Number of interfaces enabled :
Triggered updates sent :
Number of route changes :
Number of replies to queries :
Number of routes in ADV DB : Total count for process :
Number of routes in database :
Number of interfaces enabled :
Number of routes sendable in a periodic update :
Number of routes sent in last periodic update :
[R2]
[R2]
[R2]
4、 调整RIP运行版本
R2添加网段
[R2]int
[R2]interface lo0
[R2-LoopBack0]ip add 13.1.1.1
[R2-LoopBack0]lo1
^
Error: Unrecognized command found at '^' position.
[R2-LoopBack0]int lo1
[R2-LoopBack1]ip add 13.1.2.1
[R2-LoopBack1]int lo2
[R2-LoopBack2]14.1.1.1
^
Error: Unrecognized command found at '^' position.
[R2-LoopBack2]ip add 14.1.1.1
[R2-LoopBack2]q
[R2]q
<R2>dis ip rou
<R2>dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : Routes : Destination/Mask Proto Pre Cost Flags NextHop Interface 12.1.1.0/ Direct D 12.1.1.2 GigabitEthernet
//
12.1.1.2/ Direct D 127.0.0.1 GigabitEthernet
//
12.1.1.255/ Direct D 127.0.0.1 GigabitEthernet
//
13.1.1.0/ Direct D 13.1.1.1 LoopBack0
13.1.1.1/ Direct D 127.0.0.1 LoopBack0
13.1.1.255/ Direct D 127.0.0.1 LoopBack0
13.1.2.0/ Direct D 13.1.2.1 LoopBack1
13.1.2.1/ Direct D 127.0.0.1 LoopBack1
13.1.2.255/ Direct D 127.0.0.1 LoopBack1
14.1.1.0/ Direct D 14.1.1.1 LoopBack2
14.1.1.1/ Direct D 127.0.0.1 LoopBack2
14.1.1.255/ Direct D 127.0.0.1 LoopBack2
127.0.0.0/ Direct D 127.0.0.1 InLoopBack0
127.0.0.1/ Direct D 127.0.0.1 InLoopBack0
127.255.255.255/ Direct D 127.0.0.1 InLoopBack0
255.255.255.255/ Direct D 127.0.0.1 InLoopBack0 [R2]rip
[R2]rip
[R2-rip-1]ne
[R2-rip-1]network 13.0.0.0
[R2-rip-1]net
[R2-rip-1]network 14.0.0.0
[R2-rip-1]q
[R2]dis ip rou
[R2]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 16 Routes : 16 Destination/Mask Proto Pre Cost Flags NextHop Interface 12.1.1.0/24 Direct 0 0 D 12.1.1.2 GigabitEthernet
0/0/0
12.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
13.1.1.0/24 Direct 0 0 D 13.1.1.1 LoopBack0
13.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack0
13.1.1.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
13.1.2.0/24 Direct 0 0 D 13.1.2.1 LoopBack1
13.1.2.1/32 Direct 0 0 D 127.0.0.1 LoopBack1
13.1.2.255/32 Direct 0 0 D 127.0.0.1 LoopBack1
14.1.1.0/24 Direct 0 0 D 14.1.1.1 LoopBack2
14.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack2
14.1.1.255/32 Direct 0 0 D 127.0.0.1 LoopBack2
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0 [R2]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 2 Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 12.1.1.2/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 13.1.1.1/24 up up(s)
LoopBack1 13.1.2.1/24 up up(s)
LoopBack2 14.1.1.1/24 up up(s)
NULL0 unassigned up up(s)
R2 调整rip运行版本
Configuration console exit, please press any key to log on <R2>sys
Enter system view, return user view with Ctrl+Z.
[R2]int g0//
[R2-GigabitEthernet0//]rip versi
[R2-GigabitEthernet0//]rip version
[R2-GigabitEthernet0//]
在R1查看路由
<R1>dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : Routes : Destination/Mask Proto Pre Cost Flags NextHop Interface 12.1.1.0/ Direct D 12.1.1.1 GigabitEthernet
//
12.1.1.1/ Direct D 127.0.0.1 GigabitEthernet
//
12.1.1.255/ Direct D 127.0.0.1 GigabitEthernet
//
13.0.0.0/ RIP D 12.1.1.2 GigabitEthernet
//
14.0.0.0/ RIP D 12.1.1.2 GigabitEthernet
//
127.0.0.0/ Direct D 127.0.0.1 InLoopBack0
127.0.0.1/ Direct D 127.0.0.1 InLoopBack0
127.255.255.255/ Direct D 127.0.0.1 InLoopBack0
255.255.255.255/ Direct D 127.0.0.1 InLoopBack0 <R1>
同理也可以调整R1端口运行RIPv2,以适应R2
HCNA调整RIP的运行版本的更多相关文章
- 如何快速切换Python运行版本,如何选择Python版本
想必在学习Python时会面临选择Python2.X或者是Python3.X的问题. 我在电脑上不同位置下载安装了不同版本 的Python,当我在学习时,不管是需要哪一个版本才能运行都无所谓,相应的快 ...
- HCNA-RIP定时器
1.拓扑图 2. 1.RIP有哪些定时器?三种:更新定时器.老化定时器.垃圾回收定时器 2.RIP的定时器有哪些作用?更新定时器(30s):运行RIP的路由器会以30s为周期,向邻居发送RIP路由.老 ...
- ios 编译版本 最低版本 运行版本 动态链接库
if ([[UIDevice currentDevice].systemVersion floatValue] >= 10.0) 运行环境判断: #if __IPHONE_OS_VERSION_ ...
- [Asp.Net Core] Blazor Server Side 扩展用途 - 配合CEF来制作带浏览器核心的客户端软件 (二) 可运行版本
前言 大概3个星期之前立项, 要做一个 CEF+Blazor+WinForms 三合一到同一个进程的客户端模板. 这个东西在五一的时候做出了原型, 然后慢慢修正, 在5天之前就上传到github了. ...
- Java微信扫描支付模式二Demo ,整合官网直接运行版本
概述 场景介绍 用户使用微信“扫一扫”扫描二维码后,获取商品支付信息,引导用户完成支付. 详细 代码下载:http://www.demodashi.com/demo/13880.html 一.相关配置 ...
- 网站配置新的YII2可运行版本
1. config 中的 gitignore 先将 -local 加入版本库 2. 将 runtime 目录添加写权限 3. 将web目录的asset 添加写的权限 4.
- Go语言GOMAXPROCS(调整并发的运行性能)
在 Go语言程序运行时(runtime)实现了一个小型的任务调度器.这套调度器的工作原理类似于操作系统调度线程,Go 程序调度器可以高效地将 CPU 资源分配给每一个任务.传统逻辑中,开发者需要维护线 ...
- 感觉总结了一切python常见知识点,可直接运行版本
#encoding=utf-8#http://python.jobbole.com/85231/#作用域a=1def A(a): a=2 print 'A:',a def B(): print 'B: ...
- 【VIP视频网站项目】VIP视频网站项目v1.0.3版本发布啦(程序一键安装+电影后台自动抓取+代码结构调整)
在线体验地址:http://vip.52tech.tech/ GIthub源码:https://github.com/xiugangzhang/vip.github.io 项目预览 主页面 登录页面 ...
随机推荐
- 下载 生成 requirements
生成你项目的所有 组件,模块 pip3 freeze > requirements.txt 下载requirements.txt 里的所有 模块 pip3 install -r requirem ...
- Codeforces - 600E 树上启发式合并
题意:求每一个子树存在最多颜色的颜色代号和(可重复) 本题是离线统计操作,因此可以直接合并重儿子已达到\(O(nlogn)\)的复杂度 PS.不知道什么是启发式合并的可以这样感受一下:进行树链剖分,分 ...
- [转] Spring Boot实战之Filter实现使用JWT进行接口认证
[From] http://blog.csdn.net/sun_t89/article/details/51923017 Spring Boot实战之Filter实现使用JWT进行接口认证 jwt(j ...
- python time,random,os,sys,序列化模块
一.time模块 表示时间的三种方式 在Python中,通常有这三种方式来表示时间:时间戳.元组(struct_time).格式化的时间字符串: (1)时间戳(timestamp) :通常来说,时间戳 ...
- UML-3-案例研究
没有什么比恰当的举例更难的了.-----马克吐温
- stream4
import java.util.Comparator; import java.util.function.BinaryOperator; public class BinaryOperatorTe ...
- 下载Dubbo源码后的编译安装启动
1:安装jdk,maven 配制环境变量: 2:安装zookeeper 配制zookeeper环境变量 3:把dubbo源码编译成war包 启动cmd黑窗口 ,进入 源码文件 ...
- pL/SQL 创建DBLIKN
某些时候,需要关联不同的数据库进行数据查询.操作等. 在Oracle中,关联不同的数据库进行表关联,就要用到了数据库连接(DB link). 创建DB link有两种方法:通过SQL语句创建,通过可视 ...
- 常用shell脚本(持续更新中)
1. 写一个shell脚本来得到当前的日期,时间,用户名和当前工作目录. 答案 : 输出用户名,当前日期和时间,以及当前工作目录的命令就是logname,date,who i am和pwd. #!/b ...
- js【jquery】-事件
1.event对象 在IE.chrome中它是全局变量 与事件相关的信息会保存在event对象中,只有在事件发生的过程中,event才有信息 在其他浏览器中: 通过事件函数的第一个参数传入的 even ...