53
RIP 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
Predefined user roles
network-admin
Usage guidelines
When the zero field check is enabled, the router discards RIPv1 messages in which zero fields contain
non-zero values. If all messages are trustworthy, disable this feature to reduce the workload of the CPU.
Examples
# Disable zero field check on RIPv1 messages for RIP process 100.
<Sysname> system-view
[Sysname] rip 100
[Sysname-rip-100] undo checkzero
default cost
Use
default cost
to configure a 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