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 项目预览 主页面 登录页面 ...
随机推荐
- ZOJ - 2402 DP方案数
题意:给出m,序列第i位是第i-1位的至少2倍大,的求长度为n且每一位范围均在1-m的序列方案数 对求方案数做不到信手拈来的感觉,需要加强 用简单的预处理和最优子结构能优化到很不错的效率了 #incl ...
- 1091 N-自守数 (15 分)
如果某个数 K 的平方乘以 N 以后,结果的末尾几位数等于 K,那么就称这个数为“N-自守数”.例如 3×922=25392,而 25392 的末尾两位正好是 92,所以 92 是一个 3-自守 ...
- [转] electron实战开发详细流程
[From] http://www.myk3.com/arc-8856.html 很久没有更新博客,人越来越懒了,唉 说好做的electron教程距离上次玩electron已经过去了好几个月了.. 这 ...
- 剑指offer——面试题14:剪绳子
// 面试题14:剪绳子 // 题目:给你一根长度为n绳子,请把绳子剪成m段(m.n都是整数,n>1并且m≥1). // 每段的绳子的长度记为k[0].k[1].…….k[m].k[0]*k[1 ...
- 公钥,私钥,数字签名,SSL的基本概念
一,公钥私钥 1,公钥和私钥成对出现 2,公开的密钥叫公钥,只有自己知道的叫私钥 3,用公钥加密的数据只有对应的私钥可以 解密 4,用私钥加密的数据只有对应的公钥可以解密 5,如果可以用公钥解密,则必 ...
- oracle 操作实例(一)----rman 全备恢复
一,环境背景 拥有全备数据库 全备脚本: export TMP=/tmp export TMPDIR=$TMP export ORACLE_BASE=/u01 export ORACLE_SID=pr ...
- (转)增加定时检测linux占用内存,及时清理功能
增加定时检测linux占用内存,及时清理功能 原文:http://www.voidcn.com/article/p-wnmannom-boa.html free -m 查看,发现内存跑满了. 再 to ...
- mobile开发技巧(转)
1.隐藏地址栏 很多文档介绍通过调用 window.scrollTo(0, 1); 就可以隐藏地址栏,但是通过实践发现隐藏地址栏还是真够坑爹的啊,只调用这一句话一般不会起作用,我们需要 functio ...
- JS获取鼠标位置,兼容IE FF
由于Firefox和IE等浏览器之间对js解释的方式不一样,firefox下面获取鼠标位置不能够直接使用clientX来获取.网上说的一般都是触发mousemove事件才行.我这里有两段代码,思路都一 ...
- 深入理解JavaScript系列(2):揭秘命名函数表达式
前言 网上还没用发现有人对命名函数表达式进去重复深入的讨论,正因为如此,网上出现了各种各样的误解,本文将从原理和实践两个方面来探讨JavaScript关于命名函数表达式的优缺点. 简单的说,命名函数表 ...