There are two methods of advertising RIPng default routes. You can configure a router to advertise RIPng default routes according to the actual networking. Additionally, you can specify the cost of the default routes to be advertised.
interface interface-type interface-number
ripng default-route { only | originate } [ cost cost ]
The default RIPng route that is generated is advertised forcibly through the route update packet from the specified interface. The advertising does not consider whether this route is in the IPv6 routing table.
By default, the RIPng process does not advertise the default route. You need to configure RIPng to advertise the default route according to the actual networking.
only: indicates that only the default IPv6 route (::/0) is advertised to suppress the advertising of other routes.
originate: indicates that only the default IPv6 route (::/0) is advertised without affecting the advertising of other routes.
cost: specifies the cost of the default route.