R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

705
Parameters
cost: Default metric of redistributed routes, in the range of 0 to 16.
Description
Use default cost to specify the default metric of redistributed routes.
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
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 Getting Started 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
RIPng process : 1