在路由器上运行RIP第二版协议,需要宣告的网段是10.1.1.0/24和192.168.2.0/24,写出配置命令.
以cisco命令为基准 en :进入特权模式configt:进入全局模式router rip :进入rip协议配置模式v 2 :选择rip协议版本号no autosumm :关闭自动汇总network 10.1.1.0 宣告网段network 192.168.2.0 宣告网段 配置完成
router rip ver 2no aunet 10.0.0.0net 192.168.2.0 有不明白再问我

就是,我现在在用思科这个模拟软件,想问一下其中一个RIP 这个协议,怎么用命令来配置。希望详细点…
接口地址配置完并启用后(记得配时钟) Router(config)#router ripRouter(config-router)#network 192.168.1.0/网络地址Router(config-router)#network 192.168.2.0/网络地址 Router(config-router)#end
给分吧 Router>Router>enRouter#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config)#router ripRouter(config-router)#?auto-summary Enter Address Family command modedefault-informationControl distribution of default informationdistance Define an administrative distanceexit Exit from routing protocol configuration modenetworkEnable routing on an IP networkno Negate a command or set its defaultspassive-interfaceSuppress routing updates on an interfaceredistribute Redistribute information from another routing protocoltimers Adjust routing timersversionSet routing protocol versionRouter(config-router)#ver 2Router(config-router)#network 10.1.1.0Router(config-router)# network 后面加的是 要公布的网段

请问rip路由协议配置的具体步骤是什么?谢谢
1、确定所要配置的网络组网及相关ip规划,然后进行具体的配置。2、首先进行路由器的端口ip配置,下面以路由器R2为例,R1与R3的配置命令类似,只用修改IP即可:R2#conf t (configure terminal的简写)R2(config)#int f 0/0 (interface fastEthernet f 0/0,进入该接口配置模式)R2(config-if)#ip add 192.168.12.2 255.255.255.0 (接口配置ip地址)R2(config-if)#no shut (激活接口)R2(config-if)#int f 0/1R2(config-if)#ip add 192.168.21.1 255.255.255.0R2(config-if)#no shutR2(config-if)#int s 1/0R2(config-if)#ip add 192.168.23.2 255.255.255.0R2(config-if)#no shutR2(config-if)#endR2#show ip route(查看路由表)3、配置完成后,通过命令"show ip interface brief"查看路由的各接口ip配置是否正确。并验证与非直连网段的互通性,由于此时还没有到非直连网段的路由,故此时不通。4、在路由器上启动rip协议:R2#conf tR2(config)#router rip(进入rip协议配置)R2(config-router)#version 2 (启用rip v2版本)R2(config-router)#no auto (关闭路由自动汇总)R2(config-router)#network 192.168.12.0 (通过RIP宣告该网段)R2(config-router)#network 192.168.21.0R2(config-router)#network 192.168.23.0R2(config-router)#end5、rip配置完成后,通过"show ip route"查看路由表中存在有"R"标识的rip协议路由。6、再次验证费直连网络的互通性,此时可以相互通信。
enable 进入特权模式 config t进入全局配置模式int 【端口】进入端口配置模式ip add 【ip地址+ 子网掩码】 配置端口ip地址 子网掩码no shut 激活端口exit退回到全局配置模式router rip开启rip协议network 【ip 网段】 宣告地址范围end回到特权模式wr保存配置排错用到的命令show run查看全局配置show ip intbri查看简要接口信息 是否激活 ip地址对与不对 show ip router查看路由表信息 有没有没宣告的 没学习到的
以H3C为例 【H3C】rip 1 (启用rip,rip进程1)【H3C-rip-1】network 192.168.1.0 (把网段宣告进rip中)【H3C-rip-1】network 192.168.2.0(同上)【H3C-rip-1】version 2 (ripv2)【H3C-rip-1】undo summary (关闭自动聚合) 如果配置RIPv1,则最后两句不用配置。
以思科路由器为例 enableconf trouter ripnetwork + ip地址 大致就这么几步,公布的ip要包括想要通告的路由和自己想要传输rip信息的端口ip地址。

rip路由协议的配置命令
把图放大点,看不清楚~!? 主要这两条指令routerrip启动rip路由设置参与rip路由的子网network子网地址 宣告

RIP的认证配置命令是什么?
a name="4.8.1 auto-summary">4.8.1 auto-summary 使用auto-summary命令激活RIP-2自动路由聚合功能,no auto-summary命令则关闭RIP-2的路由聚合功能,RIP-1始终进行路由聚合。[ no ] auto-summary【缺省情况】RIP-2的缺省状态是使用路由聚合功能。【命令模式】RIP协议配置模式【使用指南】路由聚合减少了在路由表中的路由信息量,也减少了交换信息量。RIP-1不支持子网掩码,如果转发子网路由有可能会引起歧义。所以,RIP-1始终启用路由聚合功能。如果使用RIP-2,可以通过no auto-summary命令关闭路由聚合功能。当你需要将子网路由广播出去时,可以关闭路由聚合功能。【举例】将接口Serial0上RIP版本设为RIP-2并关闭路由聚合功能。Quidway(config-if-Serial0)#ip rip version 2Quidway(config)#router rip Quidway(config)#no auto-summary
key chain Keres key 1key-string Kachinaaccept-lifetime 16:30:00 Jul 1 2004 duration 43200send-lifetime 16:30:00 Jul 1 2004 duration 43200key 2key-string Kivaaccept-lifetime 04:00:00 Jul 2 2004 13:00:00 Dec 31 2004send-lifetime 04:00:00 Jul 2 2004 13:00:00 Dec 31 2004key 3key-string Koshareaccept-lifetime 12:30:00 Dec 31 2004 infinitesend-lifetime 13:30:00 Dec 31 2004 infiniteinterface Ethernet 0ip address 198.168.50.130 255.255.255.192ip rip authentication key-chain Keres ip rip authentication mode md5

本文由 在线网速测试 整理编辑,转载请注明出处,原文链接:https://www.wangsu123.cn/news/82695.html。