rip max-packet-length
Use rip max-packet-length to set the maximum length of RIP packets.
Use undo rip max-packet-length to restore the default.
Syntax
rip max-packet-length value
undo rip max-packet-length
Default
The maximum length of RIP packets is 512 bytes.
Views
Interface view
Predefined user roles
network-admin
mdc-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 VLAN-interface 10 to 1024 bytes.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip max-packet-length 1024