路由选择协议:1.矢量距离协议 2.链路状态协议

RIP路由选择协议:1.使用矢量距离协议 2.RIPv1只能使用有类路由 3.RIPv2可以使用无类路由

路由更新定时器:用于将路由器本身完整的路由选择表发送给相邻的路由器的时间,默认30s

路由失效定时器:用于路由器将一个路由器认定为失效前需要等待的时间,默认180s

保持失效定时器:用于设置路由器选择信息被抑制的时长,默认180s

路由刷新定时器:将某个路由认定为无效路由起至将其从路由选择表中删除的时间间隔,默认240s。此值应该大于路由失效定时器的时间间隔

RIP默认支持的最大跳数为15条,16跳以后被认为不可达

 

使用RIP路由协议配置路由器:

  router rip:启用RIP路由选择协议

  network [ip]:需要对哪些网络进行通告

  RIP协议只支持有类网络地址

 

passive-interface:阻止网络接口向外通告RIP信息,但是不影响接口接收RIP通告

 

在路由器上配置RIPV2协议 

  router rip:启用RIP路由选择协议

  network [ip]:配置需要通告的网络

  version 2:启用RIPv2

 

show ip protocols:display the protocols which is used on the router and this commands also show the RIP timer

 

debug ip rip:update the received messages and the send messages of RIP to monitor

 

set AS default network ip

ip route 0.0.0.0 0.0.0.0 [route port]

ip default-network [IP]:set default network ip