R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

488
Usage guidelines
Before you configure global RIPng parameters, you must create a RIPng process. This restriction does not
apply to configuring interface RIPng parameters.
If you disable a RIPng process, the configured RIPng parameters become invalid.
Examples
# Create RIPng process 100 and enter its view.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100]
ripng default-route
Use ripng default-route to configure a RIPng interface to advertise a default route with a specified metric.
Use undo ripng default-route to disable a RIPng interface from sending a default route.
Syntax
ripng default-route { only | originate } [ cost cost ]
undo ripng default-route
Default
A RIPng process does not advertise a default route.
Views
Interface view
Predefined user roles
network-admin
Parameters
only: Advertises only an IPv6 default route (::/0).
originate: Advertises an IPv6 default route (::/0) and other routes.
cost: Specifies a cost for the default route, in the range of 1 to 15. The default is 1.
Usage guidelines
This command enables the interface to advertise a RIPng default route in a route update regardless of
whether the default route exists in the local IPv6 routing table.
A RIPng interface configured to advertise a default route does not receive any default routes from its
neighbors.
Examples
# Configure RIPng on GigabitEthernet 2/1/1 to advertise only a default route.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ripng default-route only
# Configure RIPng on GigabitEthernet 2/1/1 to advertise a default route and other routes.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ripng default-route originate