summary
port: udp-520(both source and destination port)
message type: request && response
version: 1 & 2
command
1: request message
2: response message
version
1: rip version1
2: rip version2
AFI: Address Family Identifier is set to two for IP
IP Address: The address of the destination of the route
Metric: a hop count from 1 to 16
If a silent host receives a request from a UDP port other than the standard RIP port of 520, the host must send a response.
The route metrics can be manipulated with the offset-list command.
offset-list {access-list-number | name} { in | out} offset [type number]
offset: hop count
Several other options are available for configuring offset lists. If no interface is identified, the list will modify all incoming or outgoing updates specified by the access list on any interface. If no access list is called (by using a zero as the access list number), the offset list will modify all incoming or outgoing updates.
ip rip triggered: enables the triggered extensions of RIP
"output-delay delay" can be used under the RIP command to set an interpacket gap of between 8 and 50 milliseconds. (The default is 0 milliseconds.)
Command | Description |
debug ip rip [events] | Summarizes RIP traffic to and from the router |
ip address ip-address mask secondary | Configures an interface with the indicated IP address as a secondary address |
ip rip triggered | Configures triggered extensions to RIP on an interface |
neighbor ip-address | Establishes the link indicated by the IP address as a neighbor of the interface |
network network-number | Specifies the indicated network as one that will run RIP |
offset-list {access-list-number | name} {in | out} offset [type number] | Stipulates that a route entry belonging to the indicated access list will have the indicated offset number added to its metric |
output-delay delay | Sets an interpacket gap of the indicated delay length to accommodate processing delays between high-speed and low-speed routers |
passive-interface type number | Blocks RIP broadcasts on the interface indicated by type and number |
router rip | Enables RIP timers |
timers basic update invalid holddown flush | Manipulates the value of the indicated timer |
RIP version2RIPv2 multicasts updates to other RIPv2-speaking routers, using the reserved class D address 224.0.0.9.
Version: set to 2
Route tag: Route Tag provides a field for tagging external routes or routes that have been redistributed into the RIPv2 process, RIP itself does not use this field
Next hop: Next Hop identifies a better next-hop address, If the field is set to all zeros (0.0.0.0), the address of the advertising router is the best next-hop address.
Metric: A hop count between 1 and 16.
RIPngThe IPv6 multicast address used by RIPng is FF02::9
An exception to these parallel functions is authentication. RIPng does not have an authentication mechanism of its own, but instead relies on the authentication features built into IPv6.
Command is always set to 1, indicating a Request message, or to 2, indicating a Response message.
Version is always set to 1, that is, the current version of RIPng in RIPngv1.
IPv6 Prefix is the 128-bit IPv6 destination prefix of the route entry.
Route Tag is used in the same way the 16-bit RIPv2 Route Tag field is used: for transporting external route attributes across the RIP domain.
Prefix Length is an 8-bit field specifying, in bits, the significant part of the address in the IPv6 Prefix field. For example, if the advertised prefix is 3ffe:2100:1201::/48, the value in the Prefix Length field is 48 (0x30). If the advertised route entry is a default route, the IPv6 prefix is 0:0:0:0:0:0:0:0 and the Prefix Length is 0.
Metric is the same hop count metric used by RIPv1 and v2. But as the maximum possible value is 16, the field is reduced to 8 bits from the unnecessarily large 16 bits of RIPv1 and v2.
Rip v2 authentication
key chain Keres
key 1
key-string Kachina
accept-lifetime 16:30:00 Jul 1 2004 duration 43200
send-lifetime 16:30:00 Jul 1 2004 duration 43200
key 2
key-string Kiva
accept-lifetime 04:00:00 Jul 2 2004 13:00:00 Dec 31 2004
send-lifetime 04:00:00 Jul 2 2004 13:00:00 Dec 31 2004
key 3
key-string Koshare
accept-lifetime 12:30:00 Dec 31 2004 infinite
send-lifetime 12:30:00 Dec 31 2004 infinite
!
interface Ethernet0
ip address 198.168.50.130 255.255.255.192
ip rip authentication key-chain Keres
ip rip authentication mode md5