R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
81
Default
The maximum length of RIP packets is 512 bytes.
Views
Interface view
Predefined user roles
network-admin
Parameters
value: Sets the maximum length of RIP packets, in the range of 32 to 65535 bytes.
Usage guidelines
If the configured value in the rip max-packet-length command is greater than the MTU of an interface,
the interface MTU value is used as the maximum length of RIP packets.
The supported maximum length of RIP packets varies by vendor. Use this feature with caution to avoid
compatibility issues.
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.
Examples
# Set the maximum length of RIP packets on GigabitEthernet 2/1/1 to 1024 bytes.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] rip max-packet-length 1024
rip metricin
Use rip metricin to configure an interface to add a metric to inbound routes.
Use undo rip metricin to restore the default.
Syntax
rip metricin [ route-policy route-policy-name ] value
undo rip metricin
Default
The additional metric of an inbound route is 0.
Views
Interface view
Predefined user roles
network-admin