The default-cost command sets the default cost for the imported route.
The undo default-cost command restores the default value 0.
By default, the default cost of RIPng routes is 0.
| Parameter | Description | Value |
|---|---|---|
| cost | Specifies the default cost of the imported route. | The value is an integer ranging from 0 to 15. |
When routes are imported from other routing protocols and their costs are not specified, you can run the default-cost (RIPng) command to set the default cost for these imported routes.
All the following commands can set the cost of the imported route, which are listed in descending order of priorities.
Run the apply cost command to set the cost of a route.
Run the import-route command to set the cost of the imported route.
Run the default-cost command to set the cost of the default route.