Configure RIPng Route Generation
Configuration Condition
Before configuring RIPng route generation, ensure that:
- The IPv6 capability of the interface is enabled.
- RIPng is enabled.
Configure RIPng to Advertise the Default Route
Through configuration, a device can send the default route in all RIPng interfaces to set itself as the default gateway of other neighbor devices.
Table 6-3 Configure RIPng to advertise the default route
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the RIPng configuration mode.
|
ipv6 router rip process-id
|
Mandatory
By default, the RIPng process is disabled.
|
Configure RIPng to advertise the default route.
|
default-information originate [ metric value ]
|
Mandatory
By default, RIPng does not advertise the default route.
|
-
If a default route (::/0) is learnt, the default route (::/0) advertised by the local device is replaced. When loops exists in a network, network flapping may be caused. In using this command, prevent other devices in the same routing domain from enabling the command at the same time.
Configure RIPng to Redistribute Routes
By redistributing routes, you can introduce the routes generated by other protocols to RIPng.
Table 6-4 Configure RIPng to redistribute routes
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the RIPng configuration mode.
|
ipv6 router rip process-id
|
Mandatory
By default, the RIPng process is disabled.
|
Configure the default metric for the routes of other protocols introduced to RIPng.
|
default-metric metric-value
|
Optional.
By default, the default metric of the introduced routes of other protocols is 1.
|
Configure RIPng to redistribute routes.
|
redistribute protocol [ protocol-id ] [ metric metric-value ] [ route-map route-map-name ] [ match route-sub-type ]
|
Mandatory.
By default, route redistribution is not configured.
|
-
If the metric command option is specified during redistribution, the redistributed route adopts the metric.
- In configuring RIPng to redistribute routes for applying the route map, the available match options include ipv6 address, route type, tag, interface, ipv6 nexthop, ipv6 route-source, and metric, and the available set options include metric and tag.