< Home

Configuring RIPng to Advertise the Default Routes

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.

Procedure

  1. Access the system view.

    system-view

  2. Access the interface view.

    interface interface-type interface-number

  3. Configure RIPng to advertise the default route.

    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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >