The default command sets the default parameters of the external routes that are imported by OSPFv3, The default parameters include cost, tag and type.
The undo default command restores the default value of the parameters of the external routes that are imported by OSPFv3.
By default, the default cost of the external routes is 1; the default tag value is 1; the type of the imported external routes is Type 2 external route.
default { cost cost | tag tag | type type } *
undo default { cost [ cost ] | tag [ tag ] | type [ type ] } *
| Parameter | Description | Value |
|---|---|---|
| cost cost | Specifies the default cost of the external route that is imported by OSPFv3. | The value is an integer ranging from 1 to 16777214. By default, it is 1. |
| tag tag | Specifies the tag value of the imported routes. | The value is an integer that ranges from 0 to 4294967295. By default, the value is 1. |
| type type | Indicates the type of the external route. | The value is an integer ranging from 1 to 2.
By default, it is 2. |