F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
781
default cost (RIPng view)
Use default cost to specify the default metric of redistributed routes.
Use undo default cost to restore the default.
Syntax
default cost cost
undo default cost
Default
The default metric of redistributed routes is 0.
Views
RIPng view
Default command level
2: System level
Parameters
cost: Default metric of redistributed routes, in the range of 0 to 16.
Usage guidelines
The specified default metric applies to the routes redistributed by the import-route command with no
metric specified.
Examples
# Set the default metric of redistributed routes to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] default cost 2
Related commands
import-route
display ripng
Use display ripng to display the running status and configuration information of a RIPng process.
Syntax
display ripng [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Specifies a VPN by its name, a case-sensitive string of 1 to 31
characters.
process-id: RIPng process ID, in the range of 1 to 65535.