There is a problem with RIP MD5 Authentication when connections are made between Juniper and Cisco routers
Customer may experience RIP MD5 authentication issues when connected Cisco router reloads.To identify the issue, enable traceoption with flag set to RIP authentication.
{JUNOSMASTER.EN_US}[edit]lab@router# set protocols rip traceoptions flag auth detail
or
{JUNOSMASTER.EN_US}[edit]lab@router# set routing-instances <instance_name> protocols rip traceoptions flag auth detail
Look for output provided here regarding the sequence number:
Nov 19 11:20:37.507021 Failed authentication on sequence number; received: 157, expected: 16328 Nov 19 11:20:37.507321 RPD_RIP_AUTH: Update with invalid authentication from x.x.x.x (ge-1/1/0.2909)
RFC 2082 RIP2 MD5 Authentication states the following:
Hence when Juniper side receives the sequence number which is non-zero and lower sequence number (i.e. 157 in the example) than the one mostly recently received (i.e. 16328), it will reject this packet and hence fails MD5 authentication.
ip rip initial-delay