3com 4500 PWR 50-PORT User Manual

Page of 466
RIP Configuration Commands
149
Example
To configure the next hop of the default route as 129.102.0.2, enter the 
following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]ip route-static 0.0.0.0 0.0.0.0 129.102.0.2
RIP Configuration 
Commands
This section describes the commands you can use to configure the Routing 
Information Protocol (RIP).
When the Switch 4500 runs a routing protocol, it is able to perform the functions 
of a router. The term router in this section can refer either to a physical router or to 
the Switch 4500 running a routing protocol.
checkzero
Syntax
checkzero
undo checkzero
View
RIP view
Parameter
None
Description
Use the 
checkzero
 command to check the zero field of RIP-1 packets. By default, 
RIP-1 performs zero field checking.
Use the 
undo checkzero
 command to disable the checking of the zero fields.
According to the RFC1058 protocol specifications, some fields in RIP-1 packets 
must be set to zero. These are called zero fields. During the zero check operation, 
if a RIP-1 packet is received in which the zero fields are not zeros, it will be 
rejected. Use the 
checkzero
 command to enable or disable the zero check 
operation on RIP-1.
This command does not work with RIP-2 packets, since RIP-2 packets have no zero 
fields.
Example
To configure the Switch not to perform zero checking for RIP-1 packet, enter the 
following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]rip
[4500-rip]undo checkzero
default cost
Syntax
default cost value