首页 > 代码库 > 华为路由器RIP配置命令
华为路由器RIP配置命令
RIP配置
rip [process-id] 命令用来使能RIP进程。该命令中,process-id指定了RIP进程ID。如果未指定process-id,命令将使用1 作为缺省进程ID。 version 2 使能RIPv2以支持扩展能力,比如支持VLSM、认证等。 network <network-address> 命令可用于在RIP中通告网络 rip version2 network 10.0.0.0 rip metricin <metric value> 用于修改接口上应用的度量值。当路由器的一个接口收到路由时,路由器会首先将接口的附加度量值增加到该路由上,然后将路由加入路由表中。 interface gigabitethernet 0/0/0 rip metricin 2 rip metricout <metric value> rip metricout用于路由器在通告RIP路由时修改路由的度量值。配置了rip metricout命令,则只应用命令中配置的度量值。 水平分割&毒性反转 interface gigabitethernet 0/0/0 rip split-horizone 水平分割 默认启用 rip poison-reverse 毒性反转 验证配置 display rip <process_id> interface <interface> verbose display rip 1 interface gigabitethernet0/0/0 verbose Poison-reverse:Enabled Split-Horizon :Enabled 两者都显示“Enabled”时,只有“Poison-reverse”生效。 禁止/启用RIP发送RIP报文 interface gigabitethernet 0/0/0 undo rip output # 禁止发送发送报文 rip output # 启动发送发送报文 禁止/启用RIP接收RIP报文 interface gigabitethernet 0/0/0 undo rip input # 禁止接口发送报文 rip input # 启动接口发送报文 抑制端口 只接收不发送RIP报文 rip silent-interface gigabitethernet 0/0/1 验证配置 display rip 可以比较全面的现实路由器的RIP信息
本文出自 “无觉的BLoG” 博客,请务必保留此出处http://wujue.blog.51cto.com/11999347/1882457
华为路由器RIP配置命令
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。