35
The packet length of RIP packets determines how many routes can be carried in a RIP packet. Set the
maximum length of RIP packets to make good use of link bandwidth.
When authentication is enabled, follow these guidelines to ensure packet forwarding:
•
For simple authentication, the maximum length of RIP packets must be no less than 52 bytes.
•
For MD5 authentication (with packet format defined in RFC 2453), the maximum length of RIP
packets must be no less than 56 bytes.
•
For MD5 authentication (with packet format defined in RFC 2082), the maximum length of RIP
packets must be no less than 72 bytes.
To set the maximum length of RIP packets:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Set the maximum length of RIP
packets.
rip max-packet-length
value
By default, the maximum length of
RIP packets is 512 bytes.
Configuring BFD for RIP
RIP detects route failures by periodically sending requests. If it receives no response for a route within a
certain time, RIP considers the route unreachable. This detection mechanism is not fast enough. To speed
up convergence, perform this task to enable BFD for RIP. For more information about BFD, see
High
Availability Configuration Guide
.
RIP supports the following BFD detection modes:
•
Single-hop echo detection
—Detection mode for a direct neighbor. In this mode, a BFD session is
established only when the directly connected neighbor has route information to send.
•
Single-hop echo detection for a specific destination
—In this mode, a BFD session is established to
the specified RIP neighbor when RIP is enabled on the local interface.
•
Bidirectional control detection
—Detection mode for an indirect neighbor. In this mode, a BFD
session is established only when both ends have routes to send and BFD is enabled on the receiving
interface.
Configuring single-hop echo detection (for a directly connected
RIP neighbor)
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the source IP
address of BFD echo packets.
bfd echo-source-ip
ip-address
By default, the source IP address of
BFD echo packets is not
configured.
3.
Enter interface view.
interface
interface-type
interface-number
N/A