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的运行版本的更多相关文章

  1. 如何快速切换Python运行版本,如何选择Python版本

    想必在学习Python时会面临选择Python2.X或者是Python3.X的问题. 我在电脑上不同位置下载安装了不同版本 的Python,当我在学习时,不管是需要哪一个版本才能运行都无所谓,相应的快 ...

  2. HCNA-RIP定时器

    1.拓扑图 2. 1.RIP有哪些定时器?三种:更新定时器.老化定时器.垃圾回收定时器 2.RIP的定时器有哪些作用?更新定时器(30s):运行RIP的路由器会以30s为周期,向邻居发送RIP路由.老 ...

  3. ios 编译版本 最低版本 运行版本 动态链接库

    if ([[UIDevice currentDevice].systemVersion floatValue] >= 10.0) 运行环境判断: #if __IPHONE_OS_VERSION_ ...

  4. [Asp.Net Core] Blazor Server Side 扩展用途 - 配合CEF来制作带浏览器核心的客户端软件 (二) 可运行版本

    前言 大概3个星期之前立项, 要做一个 CEF+Blazor+WinForms 三合一到同一个进程的客户端模板. 这个东西在五一的时候做出了原型, 然后慢慢修正, 在5天之前就上传到github了. ...

  5. Java微信扫描支付模式二Demo ,整合官网直接运行版本

    概述 场景介绍 用户使用微信“扫一扫”扫描二维码后,获取商品支付信息,引导用户完成支付. 详细 代码下载:http://www.demodashi.com/demo/13880.html 一.相关配置 ...

  6. 网站配置新的YII2可运行版本

    1. config 中的 gitignore 先将 -local 加入版本库 2. 将 runtime 目录添加写权限 3. 将web目录的asset 添加写的权限 4.

  7. Go语言GOMAXPROCS(调整并发的运行性能)

    在 Go语言程序运行时(runtime)实现了一个小型的任务调度器.这套调度器的工作原理类似于操作系统调度线程,Go 程序调度器可以高效地将 CPU 资源分配给每一个任务.传统逻辑中,开发者需要维护线 ...

  8. 感觉总结了一切python常见知识点,可直接运行版本

    #encoding=utf-8#http://python.jobbole.com/85231/#作用域a=1def A(a): a=2 print 'A:',a def B(): print 'B: ...

  9. 【VIP视频网站项目】VIP视频网站项目v1.0.3版本发布啦(程序一键安装+电影后台自动抓取+代码结构调整)

    在线体验地址:http://vip.52tech.tech/ GIthub源码:https://github.com/xiugangzhang/vip.github.io 项目预览 主页面 登录页面 ...

随机推荐

  1. 【Python】urlopen小结

    0X00   简介 urlopen是urllib的的一个方法,它属于类文件对象,具有文件对象的方法,如read()等,同时也具有自身的一些方法: 1.info() 返回响应包的头信息 2.info() ...

  2. SpringMVC HandlerMethodArgumentResolver自定义参数转换器

    来源: https://www.cnblogs.com/daxin/p/3296493.html 自定义Spring MVC3的参数映射和返回值映射 + fastjson首先说一下场景:在一些富客户端 ...

  3. 配intelliJ IDEA 过程

    1.安装svn 选项全选择,命令行执行要选择上2.安装java jdk 配jdk环境变量3.安装intelliJ IDEA 地址:http://idea.imsxm.com4.注册intelliJ I ...

  4. filter get乱码 全站编码解决 包装模式

    包装模式简介: package com.itheima.test; import java.io.BufferedReader; import java.io.IOException; import ...

  5. php 中全局变量global 的使用

    简介 即使开发一个新的大型PHP程序,你也不可避免的要使用到全局数据,因为有些数据是需要用到你的代码的不同部分的.一些常见的全局数据有:程序设定类.数 据库连接类.用户资料等等.有很多方法能够使这些数 ...

  6. ssh免密码登录快速配置方法

    环境需求: 两台Linux主机   A (192.168.3.101)和 B(192.168.3.102),如何使用主机 A 免密码登录 主机B ? 配置步骤: 首页登录主机 A ,在主机A上生成自己 ...

  7. Codeforce 609 C—— Load Balancing ——————【想法题】

    C. Load Balancing time limit per test 2 seconds memory limit per test 256 megabytes input standard i ...

  8. 初学C#——选号器

    private void Form1_Load(object sender, EventArgs e) { Random x = new Random(); ); //生成一个大于等于0,小于100之 ...

  9. Spring学习笔记:Spring概述,第一个IoC依赖注入案例

    一.Spring的优点 企业及系统: 1.大规模:用户数量多.数据规模大.功能众多 2.性能和安全要求高 3.业务复杂 4.灵活应变 Java技术:高入侵式依赖EJB技术框架-->Spring框 ...

  10. !function()是干什么的?

    叹号后面跟函数!function和加号后面跟函数+function都是跟(function(){})();这个函数是一个意思,都是告诉浏览器自动运行这个匿名函数的,因为!+()这些符号的运算符是最高的 ...