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 (OSPFv3)

default (OSPFv3)

Function

The default command sets the default parameters of the external routes that are imported by OSPFv3, The default parameters include cost, tag and type (Type 1 or Type 2).

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.

Format

default { cost cost | tag tag | type type }*

undo default { cost [ cost ] | tag [ tag ] | type [ type ] } *

Parameters

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 0 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 Specifies the type of the external routes.
The value is an integer ranging from 1 to 2. By default, it is 2.
  • 1: Type 1 external route
  • 2: Type 2 external route

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

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 OSPFv3s are enabled, the command is valid only for this process.

Example

# Specify the default cost of the external routes that are imported by OSPFv3 as 10.

<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] default cost 10
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 52236

Downloads: 339

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