After reading this cookbook for HP Comware and Cisco interoperability, I noticed that RIP (Routing Information Protocol) is not discussed. Though it is not so famous as OSPF, I though of sharing configurations for RIPv2 (RIP version2) for HP Comware and Cisco IOS network device. Below is my test setup between a Cisco Catalyst Switch 3750 (IOS Version 12.2(55)SE8) and HP AMSR-3020 Router (Comware Version 5.20.106 Release 2513P11)
+-----------+ +-----------+
| | 10.0.0.0/28 | |
| HP |.1 .4| Cisco |
| Comware |<----------------->| IOS |
| | G1/0/1 G1/0/1| |
| Loopback0 | | Loopback0 |
| 10.1.1.1 | | 10.2.2.2 |
| | | |
+-----------+ +-----------+
These are the basic RIP configuration for the two network devices
# HP Comware Configuration
rip 1
version 2
import-route direct
undo summary
peer 10.0.0.4
network 10.0.0.0
silent-interface all
undo silent-interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/1
ip address 10.0.0.1 28
#
interface Loopback0
ip address 10.1.1.1 32
# Cisco IOS Configuration
router rip
version 2
redistribute connected
no auto-summary
neighbor 10.0.0.1
network 10.0.0.0
passive-interface range GigabitEthernet1/0/2 - 4
#
interface GigabitEthernet1/0/1
ip address 10.0.0.4 255.255.255.240
#
interface Loopback0
ip address 10.2.2.2 255.255.255.255
Now these are the configurations for RIP with MD5 authentication using keystring "ripkey"
# HP Comware Configuration with MD5 authentication
rip 1
version 2
import-route direct
undo summary
peer 10.0.0.4
network 10.0.0.0
silent-interface all
undo silent-interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/1
ip address 10.0.0.1 28
rip authentication-mode md5 rfc2082 ripkey 1
# Cisco IOS Configuration with MD5 authentication
router rip
redistribute connected
no auto-summary
neighbor 10.0.0.1
network 10.0.0.0
passive-interface range GigabitEthernet1/0/2 - 4
#
key chain ripkey
key 1
key-string ripkey
#
interface GigabitEthernet1/0/1
ip address 10.0.0.4 255.255.255.240
ip rip authentication mode md5
ip rip authentication key-chain ripkey
These are the validation commands and test that RIPv2 between the network devices are working.
These are for the Cisco network device
These are for the Cisco network device
#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 21 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: connected, rip
Neighbor(s):
10.0.0.1
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
GigabitEthernet1/0/1 2 2 ripkey
Loopback0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
Routing Information Sources:
Gateway Distance Last Update
10.0.0.1 120 00:00:21
Distance: (default is 120)
#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.2.2.2/32 is directly connected, Loopback0
C 10.0.0.0/28 is directly connected, GigabitEthernet1/0/1
R 10.1.1.1/32 [120/1] via 10.0.0.1, 00:00:30, GigabitEthernet1/0/1
And these are for the HP Comware network device.
>display rip 1
Public VPN-instance name :
RIP process : 1
RIP version : 2
Preference : 100
Checkzero : Enabled
Default-cost : 0
Summary : Disabled
Hostroutes : Enabled
Maximum number of balanced paths : 8
Update time : 30 sec(s) Timeout time : 180 sec(s)
Suppress time : 120 sec(s) Garbage-collect time : 120 sec(s)
update output delay : 20(ms) output count : 3
TRIP retransmit time : 5 sec(s)
TRIP response packets retransmit count : 36
Silent interfaces : None
Default routes : Disabled
Verify-source : Enabled
Networks :
10.0.0.0
Configured peers :
10.0.0.4
Triggered updates sent : 1
Number of routes changes : 1
Number of replies to queries : 0
>display ip routing-table
Routing Tables: Public
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
10.0.0.0/28 Direct 0 0 10.0.0.1 GE0/0
10.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.2.2.2/32 RIP 100 1 10.0.0.4 GE0/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0