The default command sets the default cost of the external routes that are imported by OSPFv3.
The undo default command restores the default value.
By default, the default cost of the external routes is 1; the type of the imported external routes is Type 2; the default tag value is 1.
Parameter | Description | Value |
---|---|---|
cost costvalue |
Specifies the default cost of the external route that is imported by OSPFv3.
|
The value is an integer ranging from 0 to 16777214. |
tag tagvalue |
Specifies the tag of the imported VPN routes. |
The value is an integer ranging from 0 to 4294967295. |
type typevalue |
Specifies the type of the external routes. |
The value is 1 or 2.
|
Usage Scenario
Since OSPFv3 can import external routing information and advertise it to the entire AS, it is necessary to specify the default cost of the external route that is imported by the protocol.
If multiple OSPFv3 processes are started, the command is valid only for this process.