Cisco Vs Huawei CLI 8 – (Configuring RIP)

The Routing Information Protocol (RIP) is a simple Interior Gateway Protocol (IGP). RIP is mainly used on small-scale networks such as campus networks and simple regional networks. RIP uses the distance-vector routing algorithm and exchanges routing information by using User Datagram Protocol (UDP) packets through port 520.

RIP uses the hop count to measure the distance to the destination. The distance is called the routing metric. In RIP, the hop count from a router to its directly connected network is 0, and the hop count from a router to a network, which can be reached through another router, is 1. To speed up route convergence, RIP defines the cost as an integer that ranges from 0 to 15. If the hop count is equal to or exceeds 16, the destination network or host is unreachable because the path is considered to have an infinite metric. It is this limitation to the hop count that makes RIP inapplicable to large-scale networks.

RIP has two versions: 1) RIPv1 2) RIPv2 RIPv1 is a classful routing protocol, whereas RIPv2 is a classless routing protocol. In RIPv2, address is the multicast address of a RIP router.

NetworksHeaven> enable NetworksHeaven# configure terminal NetworksHeaven(config)# router rip NetworksHeaven(config-router)# version 2 NetworksHeaven(config-router)# network NetworksHeaven(config-router)# network NetworksHeaven(config-router)# distance 75 NetworksHeaven(config-router)# end
<NetworksHeaven> system-view [NetworksHeaven]  rip  1 [NetworksHeaven-rip-1] version 2 [NetworksHeaven-rip-1] network [NetworksHeaven-rip-1] network [NetworksHeaven-rip-1] preference 75 [NetworksHeaven-rip-1] return

Cisco Vs Huawei CLI Commands in Slides