Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 2 RIP Configuration Commands
Huawei Technologies Proprietary
2-2
Example
# Configure not to perform zero check for RIP-1 packet.
[Quidway-rip] undo checkzero
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
Use
default cost
command to set the default routing cost of an imported route.
Use the
undo default cost
command to 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 redistribution will be performed with the
default routing cost specified with the
default cost
command.
Related command:
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
[
routing
|
vpn-instance
]
View
Any view
Parameter
routing
: Displays RIP routing information.
vpn-instance
: Displays VPN instance information.