Use undo default cost 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 | vpn-instance vpn-instance-name ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a
case-sensitive string of 1 to 31 characters.
process-id: RIPng process ID, in the range of 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display ripng to display the running status and configuration information of a RIPng process. If
no process-id is specified, information about all RIPng processes is displayed. If a VPN is specified,
information about all the RIPng processes of the VPN is displayed.
Examples
# Display the running status and configuration information of all configured RIPng processes.
<Sysname> display ripng
Public VPN-instance name :
RIPng process : 1
Preference : 100
Checkzero : Enabled
Default Cost : 0
Maximum number of balanced paths : 8
Update time
:
30 sec(s)
Timeout time
266
:
180 sec(s)