H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 2 RIP Configuration Commands
2-2
[H3C-rip] undo checkzero
2.1.2 default cost
Syntax
default cost value
undo default cost
View
RIP view
Parameters
value: Default routing cost, ranging from 1 to 16. It is 1 by default.
Description
Use the default cost command to set the default routing cost for redistributed routes.
Use the undo default cost command to restore the default value.
If no routing cost is specified when you use the import-route command to redistribute
routes from another routing protocol, the default routing cost specified with the default
cost command applies.
Related command: import-route.
Examples
# Set the default routing cost for the redistributed routes to 3.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] rip
[H3C-rip] default cost 3
2.1.3 display rip
Syntax
display rip
View
Any view
Parameters
None