H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 2 RIP Configuration
2-4
Figure 2-1 shows the format of RIPv1 message.
Figure 2-1 RIPv1 Message Format
z Command: Type of message. 1 indicates request, and 2 indicates response.
z Version: Version of RIP, 0x01 for RIPv1.
z AFI: Address Family Identifier, 2 for IP.
z IP Address: Destination IP address of the route. It can be a natural network,
subnet or a host address.
z Metric: Cost of the route.
II. RIPv2 message format
The format of RIPv2 message is similar with RIPv1. Figure 2-2 shows it.
Figure 2-2 RIPv2 Message Format
The differences from RIPv1 are stated as following.
z Version: Version of RIP. For RIPv2 the value is 0x02.
z Route Tag: Route Tag.
z IP Address: Destination IP address. It could be a natural network address, subnet
address or host address.
z Subnet Mask: Mask of the destination address.
z Next Hop: If set to 0.0.0.0, it indicates that the originator of the route is the best
next hop; otherwise it indicates a next hop better than the originator of the route.