Command Manual - Routing Protocol 
Quidway S6500 Series Ethernet Switches  Chapter 2  RIP Configuration Commands
 
Huawei Technologies Proprietary 
2-2 
2.1.2  default cost 
Syntax 
default cost value 
undo default cost 
View 
RIP view 
Parameter 
value: the default routing cost to be set, ranging from 1 to 16. The default value is 1.  
Description 
Using default cost command, you can set the default routing cost of an imported route. 
Using undo default cost command, you can restore the default value.  
If no specific routing cost is specified when importing the route of another routing 
protocol with the import-route command, the importing will be performed with the 
default routing cost specified with the default cost command. 
For the related commands, see import-route. 
Example 
# Set the default routing cost of the imported route of another routing protocol to 3. 
[Quidway-rip] default cost 3 
2.1.3  display rip 
Syntax 
display rip 
View 
Any view 
Parameter 
None 
Description 
Using  display rip command, you can view the current RIP running state and its 
configuration information.  
Example 
# Display the current running state and configuration information of the RIP.