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 versionRIPv1RIPv2RIPng
IP versionIPv4IPv4IPv6
Admin Distance120120120
UDP Port520520521
ClasslessNoYesYes
Adv. AddressBroadcast224.0.0.9FF02::9
AuthenticationNonePlain, MD5None

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

TypeDistance Vector
AlgorithmBellman-Ford
Admin Distance120
MetricHop count (max 15)
StandardRFCs 2080, 2453
ProtocolsIPv4, IPv6
TransportUDP
AuthenticationPlaintext, MD5
Multicast IP224.0.0.9/FF02::9

Timer Defaults

Update30 sec
Flush240 sec
Invalid180 sec
Hold-down180 sec

Troubleshooting

show ip[v6] protocols

show ip[v6] rip database

show ip[v6] 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

  • 24
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值