R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

32
RIP configuration commands
checkzero
Use checkzero to enable zero field check on RIPv1 messages.
Use undo checkzero to disable zero field check.
Syntax
checkzero
undo checkzero
Default
The zero field check function is enabled.
Views
RIP view
Default command level
2: System level
Usage guidelines
After the zero field check is enabled, the router discards RIPv1 messages in which zero fields are non-zero.
If all messages are trusted, disable this feature to reduce the processing time of the CPU.
Examples
# Disable the zero field check on RIPv1 messages for RIP process 100.
<Sysname> system-view
[Sysname] rip 100
[Sysname-rip-100] undo checkzero
default cost (RIP view)
Use default cost to configure the default metric for redistributed routes.
Use undo default cost to restore the default.
Syntax
default cost value
undo default cost
Default
The default metric of redistributed routes is 0.
Views
RIP view