Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
2.1.2 default cost
Syntax
default cost cost
undo default cost
View
RIPng view
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.
By default, the default metric of redistributed routes is 0.
The specified default metric applies to routes redistributed by the import-route
command that has 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
2.1.3 display ripng
Syntax
display ripng [ process-id ]
View
Any view
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Chapter 2 IPv6 RIPng Configuration
2-2
Commands