8-2
undo default cost
View
RIPng view
Default Level
2: System level
Parameters
cost
: Default metric of redistributed routes, in the range of 0 to 16.
Description
Use the
default cost
command to specify the default metric of redistributed routes.
Use the
undo default cost
command to restore the default.
The default metric of redistributed routes is 0.
The specified default metric applies to the routes redistributed by the
import-route
command
with no metric specified.
Related commands:
import-route
.
Examples
# Set the default metric of redistributed routes to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] default cost 2
display ripng
Syntax
display ripng
[
process-id
]
View
Any view
Default Level
1: Monitor level
Parameters
process-id
: RIPng process ID, in the range of 1 to 65535.
Description
Use the
display ripng
command to display the running status and configuration information of
a RIPng process. If
process-id
is not specified, information of all RIPng processes will be
displayed.
Examples
# Display the running status and configuration information of all configured RIPng processes.
<Sysname> display ripng
RIPng process : 1
Preference : 100
Checkzero : Enabled