Cisco IOS 设备上的 RIP 简要比较

RIP Implementations

RIPv1

Original RIP implementation, limited to classful routing(obsolete)

RIPv2

Introduced support for classless routing, authentication,triggered updates, and multicast announcements (RFC 2453)

RIPng (RIP Next Generation)

Extends RIPv2 to support IPv6 routing (RFC 2080); functions very similarly to RIPv2 and is subsequently as limited

Protocols Comparison

RIP version RIPv1 RIPv2 RIPng
IP version IPv4 IPv4 IPv6
Admin Distance 120 120 120
UDP Port 520 520 521
Classless No Yes Yes
Adv. Address Broadcast 224.0.0.9 FF02::9
Authentication None Plain, MD5 None

RIPv2 Configuration

! Enable RIPv2 IPv4 routing

router rip

version 2

! Disable RIPv2 automatic summarization

no auto-summary

! Designate RIPv2 interfaces by network

network network

! Identify unicast-only neighbors

neighbor IP-address

! Originate a default route

default-information originate

! Designate passive interfaces

passive-interface {interface | default}

! Modify timers

timers basic update invalid hold flush

RIPv2 Interface Configuration

! Configure manual route summarization

ip summary-address rip network mask

! Enable MD5 authentication (RIPv2 only)

ip rip authentication mode md5

ip rip authentication key-chain key-chain

RIPng Configuration

! Enable IPv6 routing

ipv6 unicast-routing

! Enable RIPng IPv6 routing

ipv6 router rip name

! Toggle split-horizon and poison-reverse

no poison-reverse

no split-horizon

! Modify timers

timers basic update invalid hold flush

RIPng Interface Configuration

! Enable RIPng on the interface

ipv6 rip name enable

! Configure manual route summarization

ipv6 rip name summary-address prefix

Attributes

Type Distance Vector
Algorithm Bellman-Ford
Admin Distance 120
Metric Hop count (max 15)
Standard RFCs 2080, 2453
Protocols IPv4, IPv6
Transport UDP
Authentication Plaintext, MD5
Multicast IP 224.0.0.9/FF02::9

Timer Defaults

Update 30 sec
Flush 240 sec
Invalid 180 sec
Hold-down 180 sec

Troubleshooting

show ipv6 protocols

show ipv6 rip database

show ipv6 route rip

debug ip rip { database | events }

debug ipv6 rip interface

Terminology

Split Horizon

A rule that states a router may not advertise a route back to the neighbor from which it was learned

Route Poisoning

When a network becomes unreachable, an update with an infinite metric is generated to explicitly advertise the route as unreachable

Poison Reverse

A router advertises a network as unreachable through the interface on which it was learned

相关推荐
稳联技术老娜13 小时前
DeviceNet主站怎么连接西门子PLC,Profinet网关配置手册(那智机器人)
服务器·网络·数据库
志栋智能15 小时前
AI驱动无代码:降低巡检超自动化的门槛
大数据·运维·网络·人工智能·自动化
专业机床数据采集15 小时前
C# 精雕数控 数据采集 Demo|实时读取精雕机床坐标、主轴、负载、加工工时全量参数
网络·网络协议·tcp/ip·mes·精雕数控数据采集
AOwhisky16 小时前
Ceph系列第六期:Ceph 文件系统(CephFS)精讲
linux·运维·网络·笔记·ceph
我爱C编程16 小时前
基于ECC簇内分组密钥管理算法的无线传感器网络matlab性能仿真
网络·matlab·ecc·密钥管理·无线传感器网络·簇内分组
Sagittarius_A*17 小时前
H3CSE 高性能园区网:园区网安全体系详解
网络·计算机网络·安全·h3cse
安全检测中20 小时前
探讨一个OSPF中NSSA类型的问题
网络
luj_176820 小时前
R语言生态优势与学习曲线分析
c语言·开发语言·网络·经验分享·算法
库拉大叔20 小时前
GPT-5.5 新手快速上手与实战指南
网络·人工智能·gpt
AI科技星20 小时前
万有引力G与真空介电常数ε0全维度完整关系式汇编(基于v=c螺旋时空理论)
c语言·开发语言·前端·javascript·网络·汇编·electron