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).
ospfv3 cost

ospfv3 cost

Function

The ospfv3 cost command sets the cost of the interface in different instances.

The undo ospfv3 cost command restores the default cost of the interface in different instances.

By default, the cost of the interface in different instances is 1.

Format

ospfv3 cost cost [ instance instance-id ]

undo ospfv3 cost [ cost ] [ instance instance-id ]

Parameters

Parameter Description Value
cost Specifies the cost for running OSPFv3. The value is an integer ranging from 1 to 65535. The default value is 1.
instance instance-id Specifies the instance ID of the interface. The value is an integer ranging from 0 to 255. The default value is 0.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Before running this command on an interface, run the ospfv3 area command on the interface to enable OSPFv3.

Example

# Set the cost for public instance to run OSPFv3 on VLANIF 10 to 33.

<HUAWEI> system-view
[~HUAWEI] ospfv3
[*HUAWEI-ospfv3-1] router-id 10.1.1.1
[*HUAWEI-ospfv3-1] quit
[*HUAWEI] interface vlanif 10
[*HUAWEI-Vlanif10] ipv6 enable
[*HUAWEI-Vlanif10] ospfv3 1 area 1
[*HUAWEI-Vlanif10] ospfv3 cost 33

# Specify the cost for public instance to run OSPFv3 on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] ospfv3
[*HUAWEI-ospfv3-1] router-id 10.1.1.1
[*HUAWEI-ospfv3-1] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] undo portswitch
[*HUAWEI-10GE1/0/1] ipv6 enable
[*HUAWEI-10GE1/0/1] ospfv3 1 area 1
[*HUAWEI-10GE1/0/1] ospfv3 cost 33
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 68841

Downloads: 374

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