RIP configuration commands
The term "router" in this chapter refers to both routers and Layer 3 switches.
checkzero
Syntax
checkzero
undo checkzero
View
RIP view
Default level
2: System level
Parameters
None
Description
Use
checkzero
to enable zero field check on RIPv1 messages.
Use
undo checkzero
to disable zero field check.
The zero field check function is enabled by default.
After the zero field check is enabled, the router discards RIPv1 messages in which zero fields are
non-zero. If all messages are trusty, 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)
Syntax
default cost value
undo default cost
View
RIP view
Default level
2: System level
Parameters
value
: Default metric of redistributed routes, in the range of 0 to 16.
Description
Use
default cost
to configure the default metric for redistributed routes.
29