No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
default-cost (OSPFv3 Area)

default-cost (OSPFv3 Area)

Function

The default-cost command specifies the cost of the default route that is sent to the stub area by OSPFv3.

The undo default-cost command restores the cost to the default value.

By default, the cost of the Type 3 default route transmitted to the stub area is 1.

Format

default-cost cost

undo default-cost

Parameters

Parameter Description Value
cost Specifies the cost of the default route that is sent to the stub area by OSPFv3. The value ranges from 0 to 16777214. By default, it is 1.

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

This command is applicable only to the ABR that is connected to the stub area.

Before setting the cost of the default route that is transmitted to the stub area by OSPFv3, you need to configure the local area as a stub area by using the stub command. You can use the default-cost command to specify the cost of the default route that is transmitted to the stub area by the ABR.

If multiple OSPFv3s are enabled, the command takes effect only on this process.

Example

# Set the area 1 as the stub area and the cost of the default route that is sent to the stub area to 60.

<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] area 1
[*HUAWEI-ospfv3-1-area-0.0.0.1] stub
[*HUAWEI-ospfv3-1-area-0.0.0.1] default-cost 60
Related Topics
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 70252

Downloads: 374

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next