R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

329
Syntax
ripng default-route { only | originate } [ cost cost ]
undo ripng default-route
Default
A RIPng process does not advertise any default route.
Views
Interface view
Default command level
2: System level
Parameters
only: Indicates that only the IPv6 default route (::/0) is advertised through the interface.
originate: Indicates that the IPv6 default route (::/0) is advertised without suppressing other routes.
cost: Specifies a metric for the advertised default route, in the range of 1 to 15. The default is 1.
Usage guidelines
After you execute this command, the generated RIPng default route is advertised in a route update over
the specified interface. This IPv6 default route is advertised without considering whether it already exists
in the local IPv6 routing table.
Examples
# Advertise only the default route through GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ripng default-route only
# Advertise the default route together with other routes through GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ripng default-route originate
ripng enable
Use ripng enable to enable RIPng on the specified interface.
Use undo ripng enable to disable RIPng on the specified interface.
Syntax
ripng process-id enable
undo ripng [ process-id ] enable
Default
RIPng is disabled on an interface.
Views
Interface view