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

S1720, S2700, S5700, and S6720 V200R011C10

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 Configuration Commands

OSPFv3 Configuration Commands

Command Support

The following describes command support of S sereis switches. For details about support for some specific commands or parameters, see the commands.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

abr-summary (OSPFv3 Area)

Function

The abr-summary command configures IPv6 route summarization on an ABR.

The undo abr-summary command cancels IPv6 route summarization on an ABR.

By default, IPv6 route summarization is not configured on ABRs.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

abr-summary ipv6-address prefix-length [ cost cost | not-advertise ] *

undo abr-summary ipv6-address prefix-length

Parameters

Parameter Description Value
ipv6-address Specifies the address range of IPv6 routes to be summarized. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
prefix-length Specifies the prefix length. The value is an integer that ranges from 1 to 128.
cost cost Specifies the cost of a summarized route. By default, the cost of a summarized route is the maximum cost among those of routes that are summarized. The value is an integer that ranges from 1 to 16777214.
not-advertise Indicates that the summarized IPv6 routes that match a specified IPv6 address prefix or prefix length are not advertised. -

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

This command applies only to the ABR of the current area. The ABR transmits only one summarized route to other areas.

An area can be configured with multiple summarized network segments. Thus OSPFv3 can summarize multiple network segments.

Example

# Summarize two routes FC00:0:0:1::/64 and FC00:0:0:2::/64 of OSPFv3 area 1 into route FC00:0:0::/48 with the cost being 400, and advertise it to other areas.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] area 1
[HUAWEI-ospfv3-1-area-0.0.0.1] abr-summary fc00:0:0:: 48 cost 400
Related Topics

area (OSPFv3)

Function

The area command displays the OSPFv3 area view.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

area area-id

Parameters

Parameter Description Value
area-id Specifies an OSPFv3 area ID. The value can be an integer in the decimal format or in the IPv4 address format. If the value is a decimal integer, it ranges from 0 to 4294967295. If the value is an IPv4 address, it specifies the matched IP address in dotted decimal notation.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The number of devices increases with the expansion of the network. This leads to a large LSDB on every OSPFv3-enabled device on a large-scale network. Consequently, route flapping frequently occurs and thus a large number of OSPF packets are transmitted on the network, which wastes bandwidth resources.

OSPFv3 addresses the preceding problem by logically partitioning an AS into different areas.

Prerequisites

The OSPFv3 process view has been entered.

Precautions

After an AS is partitioned into different areas, not all areas are equal. The area with ID 0 is a backbone area. The backbone area is responsible for forwarding inter-area routes. In addition, the routing information between non-backbone areas must be forwarded through the backbone area.

The first time the area command is run, an OSPFv3 area is created, and the OSPFv3 area view is displayed. Running the area command later enters the OSPFv3 area view only.

Example

# Enter the OSPFv3 area 0 view.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] area 0
[HUAWEI-ospfv3-1-area-0.0.0.0]
Related Topics

authentication-mode (OSPFv3)

Function

The authentication-mode command configures an authentication mode and a password for an OSPFv3 process or area.

The undo authentication-mode command deletes the authentication mode and password configured for an OSPFv3 process or area.

By default, no authentication mode or password are configured for any OSPFv3 process or area.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

authentication-mode hmac-sha256 key-id key-id { plain plain-text | [ cipher ] cipher-text }

authentication-mode keychain keychain-name

undo authentication-mode hmac-sha256 key-id key-id

undo authentication-mode keychain

NOTE:

Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support the keychain keychain-name parameter.

Parameters

Parameter Description Value
hmac-sha256 Configures HMAC-SHA256 authentication. -
key-id key-id Specifies the key ID for authentication, which must be the same as the one configured at the other end. The value is an integer that ranges from 1 to 65535.
plain Configures the plaintext password type. Only a plaintext password can be entered, and the password is displayed in plaintext in the configuration file.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

-
plain-text Specifies a plaintext password. The value is a string of 1 to 255 characters without spaces.
cipher Configures the ciphertext password type. You can enter either a plaintext or ciphertext password, but the password is displayed in ciphertext in the configuration file. -
cipher-text Specifies a ciphertext password. The value can be a string of 1 to 255 characters for plaintext passwords and 20 to 392 characters for ciphertext passwords without spaces.
keychain Configures keychain authentication.
NOTE:

Before configuring this parameter, you must run the keychain command to create a keychain. Then, run the key-id, key-string, and algorithm commands to configure a key ID, a password, and an authentication algorithm for this keychain. Otherwise, the OSPF authentication will fail.

-
keychain-name Specifies a keychain name. The value is a string of 1 to 47 case-insensitive characters without spaces.

Views

OSPFv3 view, OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Due to inherent defects and flawed implementation of the TCP/IP protocol suite, there are an increasing number of attacks, which poses greater threats on TCP/IP networks than ever before. The attacks on network devices may lead to network failures. To configure an authentication mode and a password for an OSPFv3 process or area to improve OSPFv3 network security, run the authentication-mode command.

Precautions

If you use area authentication, the authentication and password configurations on the interfaces of all the routers in the area must be the same.

OSPFv3 area authentication has a lower priority than OSPFv3 interface authentication.

To configure OSPFv3 interface authentication, run the ospfv3 authentication-mode command.

Example

# Configure HMAC-SHA256 authentication for OSPFv3 process 100.

<HUAWEI> system-view 
[HUAWEI] ospfv3 100
[HUAWEI-ospfv3-100] authentication-mode hmac-sha256 key-id 10 cipher huawei

# Configure HMAC-SHA256 authentication for OSPFv3 area 0.

<HUAWEI> system-view 
[HUAWEI] ospfv3 100
[HUAWEI-ospfv3-100] area 0
[HUAWEI-ospfv3-100-area-0.0.0.0] authentication-mode hmac-sha256 key-id 10 cipher huawei

bandwidth-reference (OSPFv3)

Function

The bandwidth-reference command sets a bandwidth reference value for link cost calculation.

The undo bandwidth-reference command restores the default setting.

By default, the bandwidth reference value of the link cost is 100 Mbit/s. That is, the link cost is 100000000/bandwidth.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

bandwidth-reference value

undo bandwidth-reference

Parameters

Parameter Description Value
value Specifies a bandwidth reference value for link cost calculation. The value is an integer that ranges from 1 to 2147483648, in Mbit/s. The default value is 100 Mbit/s.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

To set a cost for an interface that runs OSPFv3, you can run the ospfv3 cost command. If the link cost is not set, OSPFv3 calculates the link cost according to the link bandwidth (Cost = Reference Value/Bandwidth). The priority of the cost set using the ospfv3 cost command is higher than that set using the bandwidth-reference command.

The bandwidth bandwidth command can only set an interface bandwidth obtained by the NMS from the MIB. It can not change an interface actual bandwidth and interface cost .

The bandwidth-reference command has the same function on Eth-Trunk interfaces and physical interfaces. If the command is run on an Eth-Trunk interface, the bandwidth of the Eth-Trunk interface is the total bandwidth of all its member interfaces.

Example

# Set the bandwidth reference value of the link cost to 1000.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] bandwidth-reference 1000
Related Topics

bfd all-interfaces (OSPFv3)

Function

The bfd all-interfaces command enables BFD for OSPFv3 or configures BFD parameters for OSPFv3.

The undo bfd all-interfaces command disables BFD for OSPFv3 or deletes the configured BFD parameters for OSPFv3.

By default, BFD is not enabled or configured for OSPFv3 processes.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

bfd all-interfaces { enable | { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value } * }

undo bfd all-interfaces { enable | { min-transmit-interval [ min-transmit-value ] | min-receive-interval [ min-receive-value ] | detect-multiplier [ detect-multiplier-value ] } * }

Parameters

Parameter Description Value
enable Indicates enable BFD for OSPFv3. -
min-transmit-interval min-transmit-value

Specifies the minimum interval for sending BFD packets to the peer.

The value is an integer that ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000.By default, the minimum interval for receiving BFD packets is 1000 ms.

min-receive-interval min-receive-value

Specifies the minimum interval for receiving BFD packets from the peer.

The value is an integer that ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000.By default, the minimum interval for receiving BFD packets is 1000 ms.

detect-multiplier detect-multiplier-value

Indicates the local detection multiplier.

The value is an integer that ranges from 3 to 50. The default value is 3.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

  • To allow OSPFv3 to quickly detect device faults and recalculate routes, run the bfd all-interfaces command to enable BFD and configure BFD session parameters for OSPFv3. This speeds up OSPFv3 route convergence. If an OSPFv3 neighbor relationship goes Down, the BFD session between the OSPFv3 neighbors is dynamically deleted.

After OSPFv3 establishes a BFD session, the default BFD parameters are used. BFD session parameters can also be modified as required.

  • Actual interval at which BFD packets are transmitted on the local devices = Max { configured interval min-transmit-value at which BFD packets are transmitted, configured interval min-receive-value at which BFD packets are received on the peer device }
  • Actual interval at which BFD packets are received on the local devices = Max { configured interval min-transmit-value at which BFD packets are transmitted on the peer device, configured interval min-receive-value at which BFD packets are received on the local device }
  • Actual time for detecting BFD packets = Actual interval at which BFD packets are received on the local device x Configured detection multiplier detect-multiplier-value

For example:

  • On the local device, the configured interval at which BFD packets are transmitted is 200 ms; the interval at which BFD packets are received is 300 ms; the detection multiplier is 4.
  • On the peer device, the configured interval at which BFD packets are transmitted is 100 ms; the interval at which BFD packets are received is 600 ms; the detection multiplier is 5.

Then:

  • On the local device, the actual interval at which BFD packets are transmitted is 600 ms calculated by using the formula max {200 ms, 600 ms}; the interval at which BFD packets are received is 300 ms calculated by using the formula max {100 ms, 300 ms}; the detection period is 1500 ms calculated by multiplying 300 ms by 5.
  • On the peer device, the actual interval at which BFD packets are transmitted is 300 ms calculated by using the formula max {100 ms, 300 ms}, the actual interval at which BFD packets are received is 600 ms calculated by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms calculated by multiplying 600 ms by 4.

Prerequisites

BFD has been enabled globally using the bfd command.

After BFD in the OSPFv3 process is enabled using the bfd all-interfaces enable command, OSPFv3 establish BFD sessions only with neighbors whose status is Full.

Follow-up Procedure

  • Configure a BFD session on a specified interface.

    If you need to configure BFD on a specified interface, or if global BFD for OSPFv3 is configured but you want a specific interface to detect link faults faster, run the ospfv3 bfd command to configure BFD on the specified interface.

  • Prevent an interface from dynamically creating a BFD session.

    If you do not want to enable BFD on a specified interface, run the ospfv3 bfd block command to disable the interface from dynamically creating a BFD session.

Precautions

The bfd all-interfaces command and the ospfv3 bfd block command are mutually exclusive.

Example

# Enable BFD for OSPFv3 process 1.

<HUAWEI> system-view
[HUAWEI] ospfv3 1 
[HUAWEI-ospfv3-1] bfd all-interfaces enable

default (OSPFv3)

Function

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

The undo default command restores the default values of the parameters of the external routes that are imported by OSPFv3.

By default, the cost, tag value, and type of the external routes is 1, 1, and Type 2, respectively.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

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 that ranges from 1 to 16777214. By default, the value is 1.
tag tag Specifies the tag value of the external route that is imported by OSPFv3. 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 route that is imported by OSPFv3.
The value is an integer that ranges 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 routes and advertise them to the entire AS, it is necessary to specify a default cost for these external routes.

If multiple OSPFv3 processes are enabled, the default command takes effect only on the present process.

Example

# Set the default cost of the external routes that are imported by OSPFv3 to 10.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] default cost 10

default-cost (OSPFv3 Area)

Function

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

The undo default-cost command restores the default cost of the default route.

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

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

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, the value is 1.

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

The default-cost command applies 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, run the stub command to configure the local area as a stub area.

If multiple OSPFv3 processes are enabled, the default-cost command takes effect only on the present process.

Example

# Set 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

default-route-advertise (OSPFv3)

Function

The default-route-advertise command advertises default routes into an OSPFv3 routing domain.

The undo default-route-advertise command cancels advertising default routes.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

default-route-advertise [ always | cost cost | type type | tag tag | route-policy route-policy-name [ match-any ] ]*

undo default-route-advertise [ always | cost [ cost ] | type [ type ] | tag [ tag ] | route-policy [ route-policy-name ] [ match-any ] ]*

Parameters

Parameter Description Value
always Generates and advertises an LSA that describes a default route, regardless of whether the local device has active default routes from processes other than the local OSPFv3 process. The switch that has always configured does not calculate default routes of other switchs. If always is not specified, an LSA is generated only when there are active non-OSPFv3 default routes in the routing table of the local device. -
cost cost Specifies the cost of an advertised default route. The value is an integer that ranges from 1 to 16777214. The default value is 1.
type type Specifies the type of an external route.
The value is 1 or 2. The default value is 2.
  • 1: Type 1 external route
  • 2: Type 2 external route
tag tag Specifies the tag value of an advertised default route. The value is an integer that ranges from 0 to 4294967295. The default value is 1.
route-policy route-policy-name Specifies the name of a route-policy. The device advertises default routes according to the parameters configured in the route-policy when there are matched non-OSPFv3 default routes in the routing table. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
match-any Indicates that through a route-policy, the device advertises default routes according to the parameters configured in the route-policy when there are matched routes in the routing table. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a static default route has been configured on an OSPF-capable switch, OSPF compares the preferences of default routes before advertising a default route. To add the default route advertised by OSPF to the current routing table, ensure that the preference of the static default route is lower than that of the default route advertised by OSPF.

Default routes that are imported using the import-route command cannot be advertised. To advertise default routes, run the default-route-advertise command. The cost of a generated default route is determined by the cost and type parameters in the default-route-advertise command, and the default tag value is 1. If the local routing table does not contain non-OSPFv3 default routes, specify the always parameter to generate an ASE LSA of a default route.

A route-policy is only used to filter existing active non-OSPFv3 default routes of the local device, and match routes according to the following rules:

  • If a default route matches the policy, the local device generates a default route according to the parameters configured in the route-policy, such as the cost, tag, and type.

  • If a default route does not match the policy and always is not specified, the local device does not generate any default route.

  • If a default route does not match the policy and always is specified, the switch generates a default route. The parameters of the generated default route are determined by the default-route-advertise [ always | cost cost | type type | tag tag | route-policy route-policy-name ]* command.

NOTE:

The preferences of parameters of the default route configured in a route-policy are higher than those of parameters configured in the default-route-advertise [ always | cost cost | type type | tag tag | route-policy route-policy-name ] * command.

Precautions

Creating a route-policy before it is referenced is recommended. If a nonexistent route-policy is referenced using the command, the device advertises the default IPv6 route as long as a default IPv6 route that is not generated by the current OSPFv3 process exists in the local routing table.

Example

# Advertise the ASE LSA that describes a default route into an OSPFv3 routing domain. The local device does not have a default route.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] default-route-advertise always
Related Topics

description (OSPFv3 Area)

Function

The description command configures a description for an OSPFv3 area.

The undo description command deletes the configured description of an OSPFv3 area.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

description text

undo description

Parameters

Parameter Description Value
text Specifies a description for an OSPFv3 area. The value is a string of 1 to 80 case-sensitive characters, spaces supported.

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

By configuring a description for an OSPFv3 area, you can identify different OSPFv3 areas easily.

Example

# Configure a description for OSPFv3 area 0.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] area 0
[HUAWEI-ospfv3-1-area-0.0.0.0] description main area

description (OSPFv3)

Function

The description command configures a description for an OSPFv3 process.

The undo description command deletes the configured description of an OSPFv3 process.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

description text

undo description

Parameters

Parameter Description Value
text Specifies a description for an OSPFv3 process. The value is a string of 1 to 80 case-sensitive characters, spaces supported.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

By configuring a description for an OSPFv3 process, you can identify different OSPFv3 processes easily.

Example

# Configure a description for OSPFv3 process 1.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] description main process

display default-parameter ospfv3

Function

The display default-parameter ospfv3 command displays the default OSPFv3 configuration.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display default-parameter ospfv3

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays only the default configurations, regardless of whether the configurations about OSPFv3 parameters are changed.

Example

# Display the default OSPFv3 configuration.

<HUAWEI> display default-parameter ospfv3
 
OSPFv3 Default Values:
 
Process View: 
-----------------------------------------------------
  Maximum ECMP Count                         : 8
  SPF Delay Time(sec)                        : 5
  SPF Hold Time(sec)                         : 10
  SPF Max Time(millisec)                     : 10000
  SPF Start Time(millisec)                   : 500
  SPF ExpHold Time(millisec)                 : 2000
  LSA Reorig Time(sec)                       : 5
  Wait Interval for stub-router on-startup   : 500
  Grace Period(sec)                          : 120
  Retransmit-Interval for Grace LSAs(sec)    : 5
  Ack wait-time for Grace LSAs(sec)          : 15
  Helper Max Grace Period Support(sec)       : 1800
  Bandwidth-Reference(Mbps)                  : 100
  Sham Link Cost                             : 1 
  VPN Domain ID                              : 0 
  VPN Router Tag                             : 0 
  Default Metric                             : 1
  Default Tag                                : 1 
  Default Type                               : 2 
  Route Preference for Internal Routes       : 10 
  Route Preference for External Routes       : 150 
  Suppress flapping peer                     : Enable
-----------------------------------------------------
 
Area View: 
-----------------------------------------------------
  Default Stub Cost                          : 1 
  NSSA Translator Stability Index(sec)       : 40
-----------------------------------------------------
 
Interface View: 
-----------------------------------------------------
  Hello Interval(sec)                        : 10
  NBMA Hello Interval(sec)                   : 30
  Dead Interval(sec)                         : 40
  NBMA Dead Interval(sec)                    : 120
  Poll Interval(sec)                         : 120
  Retransmit Interval(sec)                   : 5
  Transmit Delay(sec)                        : 1
  Router DR Priority                         : 1 
  Suppress flapping peer                     : Enable
  Suppress flapping detect interval          : 60
  Suppress flapping detect threshold         : 10
  Suppress flapping Resume interval          : 120
  Suppress flapping mechanism                : Hold-max-cost
  Hold-max-cost interval                     : 120
Table 7-61  Description of the display default-parameter ospfv3 command output

Item

Description

OSPFv3 Default Values

Default values of OSPFv3

Process View

Process view

Area View

Area view

Interface View

Interface view

Maximum ECMP Count

Maximum number of equal-cost routes

SPF Delay Time(sec)

Default delay for SPF calculation

SPF Hold Time(sec)

Hold time interval between two consecutive SPF calculations

SPF Max Time(millisec)

Maximum delay time between two consecutive SPF calculations

SPF Start Time(millisec)

Initial SPF schedule delay

SPF ExpHold Time(millisec)

Minimum hold time between two consecutive SPF calculations

LSA Reorig Time(sec)

Interval at which LSAs are updated

Wait Interval for stub-router on-startup

Default period during which a router remains to be a stub router during master/slave switchover

Grace Period(sec)

GR period

Retransmit-Interval for Grace LSAs(sec)

Default interval for retransmitting Grace LSAs, in seconds

Ack wait-time for Grace LSAs(sec)

Default time during which a router waits to reply the received Grace LSA with an LSAck message

If the switch does not receive any Grace LSA within the default waiting time, the switch does not send the LSAck message.

Helper Max Grace Period Support(sec)

Default GR period of the helper router

Bandwidth-Reference(Mbps)

Default bandwidth reference value used to calculate the link cost, in Mbit/s

Default Metric

Default metric of the imported external route

Default Type

Default type of the imported external route

Route Preference for Internal Routes

Default preference of the internal route

Route Preference for External Routes

Default preference of the external route

Default Stub Cost

Default cost of a stub area

NSSA Translator Stability Index(sec)

Default dead time of a translator

Hello Interval(sec)

Default interval for sending Hello packets on a P2P or a broadcast network

NBMA Hello Interval(sec)

Default interval for sending Hello packets on an NBMA network

Dead Interval(sec)

Default interval for declaring a neighbor to be Down after no Hello packets are received on a P2P or broadcast network

NBMA Dead Interval(sec)

Default interval for declaring a neighbor to be Down after no Hello packets are received on an NBMA network

Poll Interval(sec)

Default poll interval for sending Hello packets on an NBMA network

Retransmit Interval(sec)

Default interval for retransmitting packets

Transmit Delay(sec)

Default estimated time for transmitting an LSU over this interface

Before packet transmission, the estimated time needs to be added to the time limit of each LSA. The estimated time should be added to the transmission delay of the inbound interface.

Router DR Priority

Default priority of the DR

Suppress flapping peer

Whether OSPFv3 neighbor relationship flapping suppression is enabled

Suppress flapping detect interval

Default detection interval of OSPFv3 neighbor relationship flapping suppression

Suppress flapping detect threshold

Default threshold of OSPFv3 neighbor relationship flapping suppression

Suppress flapping Resume interval

Default interval for exiting from OSPFv3 neighbor relationship flapping suppression

Suppress flapping mechanism

Default mode of OSPFv3 neighbor relationship flapping suppression

Hold-max-cost interval

Default duration of the Hold-max-cost mode

display ospfv3

Function

The display ospfv3 command displays brief information about OSPFv3.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ]

Parameters

Parameter Description Value
process-id Identifies the OSPFv3 process ID. If process-id is not specified, the brief information of all OSPFv3 processes is displayed in the ascending order of the process ID. The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 command to check brief information about OSPFv3. The information helps learn about the OSPFv3 configuration and status.

Example

# Display brief information about OSPFv3.

<HUAWEI> display ospfv3

 Routing Process "OSPFv3 (1)" with ID 0.0.0.0
 Route Tag: 0                                                                   
 Multi-VPN-Instance is not enabled
 SPF schedule delay 5 secs, Hold time between SPFs 10 secs                      
 LSA Origination interval 5 secs                                                
 LSA Arrival interval 1 sec                                                     
 Default ASE parameters: Metric: 1 Tag: 1 Type: 2                               
 Stub router capability: enabled                                                
 Number of AS-External LSA 0. AS-External LSA's Checksum Sum 0x0000             
 Number of AS-Scoped Unknown LSA 0. AS-Scoped Unknown LSA's Checksum Sum 0x0000 
 Number of FULL neighbors 0                                                     
 Number of Exchange and Loading neighbors 0                                     
 Number of LSA originated 0                                                     
 Number of LSA received 0                                                       
 SPF Count          : 0                                                         
 Non Refresh LSA    : 0                                                         
 Non Full Nbr Count : 0                                                         
 Number of areas in this router is 0 
Table 7-62   Description of the display ospfv3 command output

Item

Description

Route Tag

Tag value for the imported VPN route.

Multi-VPN-Instance is not enabled

The current process does not support Multi-VPN instance.

SPF schedule delay

Delay of SPF calculation after the SPF calculation is scheduled.

Hold time between SPFs

Interval between two SPF calculation.

LSA Origination interval

Minimum interval for producing the same LSA.

LSA Arrival interval

Minimum interval for receiving the same LSA.

Default ASE parameters

Default parameters for AS external LSA:

  • Metric: cost of the route
  • Tag: tag value
  • Type: type of LSA (1 or 2)

Number of AS-External LSA

Number of LSA originated for routes outside an AS.

AS-External LSA's Checksum Sum

Checksum of LSA originated for routes outside an AS.

Number of AS-Scoped Unknown LSA

Number of unknown LSA with the flooding range of an entire AS.

AS-Scoped Unknown LSA's Checksum Sum

Checksum of unknown LSA with the flooding range of an entire AS.

Number of FULL neighbors

Number of Full neighbors.

Number of Exchange and Loading neighbors

Number of neighbors in the Exchange state and neighbors in the Loading state.

Number of LSA originated

Number of generated LSAs.

Number of LSA received

Number of received LSAs.

SPF Count

Number of the events triggered by the SPF calculation.

Non Refresh LSA

Number of LSAs that are not updated in the retransmission list during GR.

Non Full Nbr Count

Number of neighbors in the Exchange state and neighbors in the Loading state during GR.

Number of areas in this router is

Number of areas on a switch.

Related Topics

display ospfv3 abr-summary-list

Function

The display ospfv3 abr-summary-list command displays information about the summarization of the routes imported by OSPFv3.

If the IP address and mask are not specified, information about the summarization of all the routes imported by OSPFv3 is displayed.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] abr-summary-list [ ipv6-address prefix-length ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
ipv6-address Specifies the matched IPv6 address. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
prefix-length Specifies the length of the route prefix. The value is an integer ranging from 1 to 128.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 abr-summary-list command to check information about the summarization of the routes imported by an ABR. If the IP address and mask are not specified, information about the summarization of all the routes imported by the ABR is displayed.

Example

# Display information about the summarization of all the routes imported by OSPFv3.

<HUAWEI> display ospfv3 abr-summary-list
OSPFv3 Process (1)
Area ID  :  0.0.0.1
Prefix           Prefix-Len  Matched       Status
FC00:0:0:2001::  16          2[Active]     Advertise
FC00:0:0:3001::  16          0[NotActive]  Advertise
FC00:0:0:4001::  16          0[NotActive]  Advertise
Table 7-63  Description of the display ospfv3 abr-summary-list command output

Item

Description

OSPFv3 Process (1)

OSPFv3 process ID

Area ID

Area ID

Prefix

IPv6 prefix

Prefix-Len

Length of the prefix

Matched

Status of the summarized routes

Status

Advertisement status of the summarized routes:

  • Advertise: Advertise after the summarization.
  • NotAdvertise: Do not advertise after the summarization.

display ospfv3 area

Function

The display ospfv3 area command displays OSPFv3 area information.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] area [ area-id ]

Parameters

Parameter Description Value
process-id Specifies the ID for an OSPFv3 process. The value is an integer ranging from 1 to 65535.
area-id Specifies the area ID for the area to be displayed. If the value is a decimal integer, it ranges from 0 to 4294967295. If the value is an IPv4 address, it specifies the matched IP address in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 area command to check OSPFv3 area information. The information helps determine the status and parameters of each area.

Example

# Display OSPFv3 area information.

<HUAWEI> display ospfv3 area
OSPFv3 Process (1)

Area 0.0.0.0(BACKBONE)  InActive
Number of interfaces in this area is 1
 SPF algorithm executed 0 times
 Number of LSA 0. Checksum Sum 0x0000
 Number of Unknown LSA 0
 Area Bdr Router count: 0
 Area ASBdr Router count: 0

Area 0.0.0.1 Active
 Number of interfaces in this area is 1
 SPF algorithm executed 3 times
 Number of LSA 4. Checksum Sum 0x23AC8
 Number of Unknown LSA 0
 Area Bdr Router count: 0
 Area ASBdr Router count: 1
Table 7-64  Description of the display ospfv3 area command output

Item

Description

Number of interfaces in this area

Number of active interfaces.

SPF algorithm executed

Number of SPF calculations.

Number of LSA

Number of LSAs in this area.

Checksum

Area checksum.

Number of Unknown LSA

Number of unknown LSAs in the area.

Area Bdr Router count

Number of ABRs in the area.

Area ASBdr Router count

Number of ASBRs in the area.

display ospfv3 bfd session

Function

The display ospfv3 bfd session command displays bidirectional forwarding detection (BFD) session information of all OSPFv3 processes.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

display ospfv3 [ process-id ] bfd session [ interface-type interface-number ] [ neighbor-id ] [ verbose | all ]

Parameters

Parameter Description Value
process-id Specifies the ID for an OSPFv3 process. If the process number is not specified, information about all OSPFv3 processes is displayed in an ascending order. The value is an integer that ranges from 1 to 65535.
interface-type interface-number

Specifies the name, type and the number of the interface.

-
neighbor-id Specifies router ID of the neighbor. -
verbose Displays detailed information of the neighbor. -
all Displays all the BFD sessions configured in OSPFv3. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

BFD can provide millisecond-level fault detection. BFD can work with OSPFv3 to rapidly detect faults on neighboring devices, and instruct OSPFv3 to recalculate routes for correct packet forwarding. You can run the command to check BFD session parameters in OSPFv3 processes.

Example

# Display BFD session information of all OSPFv3 processes.

<HUAWEI> display ospfv3 bfd session
* - STALE 

OSPFv3 Process (1)
 Neighbor-Id      Interface                       BFD-Status
 10.3.3.3          GE0/0/1                        Up  
 10.1.1.1          GE0/0/2                        Up
Table 7-65  Description of the display ospfv3 bfd session command output

Item

Description

* - STALE

Stale BFD session

OSPFv3 Process

ID of the OSPFv3 process

Neighbor-Id

Neighbor ID

Interface

Interface to which this session is associated

BFD-Status

BFD session status:

  • Up
  • Down

# Display the BFD session information for process 1.

<HUAWEI> display ospfv3 1 bfd session verbose
* - STALE 

OSPFv3 Process (1)

 Neighbor-Id: 10.3.3.3
 BFD Status: Up
 Interface: GE0/0/1
 IPv6-Local-Address: FE80::201:FF:FE01:1
 IPv6-Remote-Address: FE80::225:9EFF:FEFB:BFF1
 BFD Module preferred timer values
     Transmit-Interval(ms): 100
     Receive-Interval(ms): 100
     Detect-Multiplier: 4
 OSPFv3 Module preferred timer values
     Transmit-Interval(ms): 100
     Receive-Interval(ms): 100
     Detect-Multiplier: 4
 Configured timer values
     Transmit-Interval(ms): 100
     Receive-Interval(ms): 100
     Detect-Multiplier: 4
Table 7-66  Description of the display ospfv3 bfd session command output

Item

Description

IPv6-Local-Address

Local IPv6 address to which this session is associated

IPv6-Remote-Address

Remote IPv6 address to which this session is associated

BFD Module preferred timer values

Actual BFD parameter values which are negotiated by BFD Module for the established session

Transmit-Interval(ms)

Minimum interval for sending BFD packets

Receive-Interval(ms)

Minimum interval between received BFD packets

Detect-Multiplier

Detection multiplier

OSPFv3 Module preferred timer values

Preferred BFD parameter values across the processes sharing the session

Configured timer values

Configured BFD parameter values for the neighbor

# Display all the BFD sessions in OSPFv3.

<HUAWEI> display ospfv3 bfd session all
* - STALE 

BFD Session (1)
 BFD Status: Up
 Interface: GE0/0/1
 IPv6-Local-Address: FE80::201:FF:FE01:1
 IPv6-Remote-Address: FE80::225:9EFF:FEFB:BFF1
 Process-Id  Neighbor-Id
      1      10.3.3.3        

BFD Session (2)
 BFD Status: Up
 Interface: GE0/0/2
 IPv6-Local-Address: FE80::201:FF:FE01:1
 IPv6-Remote-Address: FE80::200:13FF:FE82:4569
 Process-Id  Neighbor-Id
      1      10.1.1.1 
Table 7-67  Description of the display ospfv3 bfd session all command output

Item

Description

BFD Session

BFD session number configured in OSPFv3

Process-Id

Configured OSPFv3 process ID

Neighbor-Id

Neighbor ID

display ospfv3 black-box neighbor-down

Function

The display ospfv3 black-box neighbor-down command displays detailed information about OSPFv3 neighbors in the Down state.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 black-box neighbor-down [ number ]

Parameters

Parameter Description Value
number Specifies the number of OSPFv3 neighbors in the Down state to be displayed. The value is an integer ranging from 1 to 10.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If number is not specified, the display ospfv3 black-box neighbor-down command displays detailed information about the latest 10 OSPFv3 neighbors in the Down state.

Example

# Display the latest 2 OSPFv3 neighbors in the Down state.

<HUAWEI> display ospfv3 black-box neighbor-down 2
 Neighbor Router-id                   : 10.11.11.99
 Interface                            : Vlanif10
 Process ID                           : 99
 Instance ID                          : 1
 Reason for Neighbor down             : Interface down
 Time at which neighbor went down     : 2010-12-28 12:45:20+08:00
 Neighbor Router-id                   : 10.11.11.99
 Interface                            : Vlanif10
 Process ID                           : 99
 Instance ID                          : 1
 Reason for Neighbor down             : One-way received
 Time at which neighbor went down     : 2010-12-28 12:45:20+08:00
Table 7-68  Description of the display ospfv3 black-box neighbor-down command output

Item

Description

Neighbor Router-id

Router ID of a neighbor whose neighbor relationship becomes Down

Interface

Interface of a device involved in a neighbor relationship

Process ID

ID of the OSPFv3 process to which the neighbor relationship belongs

Instance ID

ID of the OSPFv3 instance to which the neighbor relationship belongs

Reason for Neighbor down

Reason why a neighbor relationship becomes Down:

  • Interface down
  • Dead timer expired
  • Sequence number mismatch
  • One-way received
  • Forced down
  • Bad LS request
  • DR or BDR has changed

Time at which neighbor went down

Date and time at which the neighbor went Down.

display ospfv3 error

Function

The display ospfv3 error command displays the OSPFv3 errors.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] error [ lsa ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID.

If no OSPFv3 process number is specified, errors of all OSPFv3 processes are displayed.

The value ranges from 1 to 65535.
lsa Display the OSPFv3 LSA errors -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

While analyzing the faults of OSPFv3, you can obtain information of errors using the command. You can then diagnose the faults of OSPFv3 according to information.

Example

# Display the errors of OSPFv3.

<HUAWEI> display ospfv3 error
         OSPFv3 Process 1 with Router ID 0.0.0.0
                 OSPFv3 Error Statistics 

General Packet Errors :
 0          : Bad packet                    0          : Bad version
 0          : Bad area ID                   0          : Bad virtual link
 0          : Packet too small              0          : Transmit error
 0          : Bad Instance ID               0          : Interface down
 0          : Unknown neighbor              0          : Authentication failure
 0          : AuthSeqNum mismatch           0          : AuthKeyId mismatch
 0          : IPv6: received my own packet  0          : Bad Checksum

Hello Packet Errors :
 0          : Hello timer mismatch          0          : Dead timer mismatch
 0          : Extern option mismatch        0          : Router ID confusion
 0          : Virtual neighbor unknown

DD Packet Errors :
 0          : Neighbor state low            0          : Extern option mismatch
 0          : Unknown LSA Type              0          : MTU option mismatch
 0          : Router ID confusion

LS ACK packet Errors :
 0          : Neighbor state low            0          : Bad ACK
 0          : Duplicate ACK                 0          : Unknown LSA type

LS REQ packet Errors :
 0          : Neighbor state low            0          : Bad request
 0          : Empty Request

LS UPD packet Errors :
 0          : Neighbor state low            0          : LSA checksum bad
 0          : Received less recent LSA      0          : Unknown LSA type
 0          : Newer self-generate LSA
 0          : Received LSA within LSA Arrival interval 

Receive Grace LSA errors :
 0          : Number of invalid LSAs
 0          : Number of policy failed LSAs
 0          : Number of wrong period LSAs

License Errors :
 0          : Max external routes reached   0          : Max NBRs reached
Table 7-69  Description of the display ospfv3 error command output

Item

Description

General Packet Errors

General packet errors.

Bad packet

The analyzed packet errors, including the verification of the length field.

Bad version

OSPFv3 version errors, that is, it is not version 3.

Bad area ID

Area ID in the received packet does not match. That is, when the area IDs in the received packets are different from the local area ID, except area 0, other area IDs are considered incorrect.

Bad virtual link

V-link receives illegal packets.

Packet too small

Length of the received packet is less than the sum of length of IP header and the length field of the packet.

Transmit error

Transmitting packets to socket fails.

Bad Instance ID

The Instance ID errors

Interface down

Times that the OSPFv3 interface goes Down.

Unknown neighbor

For NBMA, sham-link, and V-link networks, the device receives OSPFv3 packets from neighbors that are not enabled with OSPFv3.

Authentication failure

Times that the authentication failured.

AuthSeqNum mismatch

Number of packets with a sequence number different from the local one

AuthKeyId mismatch

Number of packets with key IDs different from the local one

IPv6: received my own packet

Number of IPv6 packets received from self.

Bad Checksum

Number of packets that fail in the check and calculation

Hello Packet Errors

Hello packet errors.

Hello timer mismatch

The Hello interval is not consistent.

Dead timer mismatch

The Dead interval is not consistent.

Extern option mismatch

The extension attributes of the Hello packet is not consistent.

Router ID confusion

Router id is configured to the same.

Virtual neighbor unknown

Router id of the packet is inconsistent with that of the neighbor that is configured by the V-link.

DD Packet Errors

DD packet errors.

Neighbor state low

Cases of error:
  • DD packet is received but its neighbor status is lower than 2-way.

  • LSR packet is received but its neighbor status is lower than Exchange.

  • LSU packet is received but its neighbor status is lower than Exchange.

  • ACK packet is received but its neighbor status is lower than Exchange.

Extern option mismatch

Option of the DD packets is not matched.

Unknown LSA Type

The router receives unknown LSA type from neighbors that are not enabled with OSPFv3.

MTU option mismatch

MTU check of the interface on which OSPFv3 is enabled. The MTU value of the DD packet that is received on the interface is greater than that of this interface.

LS ACK packet Errors

LS ACK packet errors.

Bad ACK

The count of receiving incorrect ACK packets.

Duplicate ACK

The count of receiving repeat ACK packets.

LS REQ packet Errors

Title bar: LS REQ packet errors.

Bad request

BadRequest event in the protocol.

Empty Request

Number of Empty Request.

LS UPD packet Errors

LS UPD packet error.

LSA checksum bad

LSA checksum not proper

Received less recent LSA

Receiving older LSA than the local copy.

Newer self-generate LSA

LSA recently generated by self.

Received LSA within LSA Arrival interval

Received LSA within arrival interval.

Receive Grace LSA errors

Title bar: Grace LSA error.

Number of invalid LSAs

Number of LSAs that are invalid.

Number of policy failed LSAs

Number of LSAs with policy failure.

Number of wrong period LSAs

Number of LSAs with wrong period.

License Errors

License errors.

Max external routes reached

Number of external routes reached the maximum value.

Max NBRs reached

Number of neighbors reached the maximum value.

display ospfv3 graceful-restart-information

Function

The display ospfv3 graceful-restart-information command displays the status of OSPFv3 GR.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] graceful-restart-information

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process number. If the process number is not specified, brief information about all OSPFv3 processes is displayed in an ascending order. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 graceful-restart-information command to check the status of OSPFv3 GR.

Example

# Display the status of OSPFv3 GR.

<HUAWEI> display ospfv3 graceful-restart-information
            OSPFv3 Router with ID (10.0.0.0) (Process 1)

  Graceful-restart capability      : enabled
  Graceful-restart support         : planned and unplanned, strict lsa check
  Grace-Period Configured          : 120 Sec
  Last Restart-exit Reason         : none

  Helper capability                : enabled
    Last Helper-exit Reason          : none
Table 7-70  Description of the display ospfv3 graceful-restart-information command output

Item

Description

Graceful-restart capability

Whether GR is enabled:
  • enabled
  • disabled

Graceful-restart support

GR configuration feature.
  • planned: indicates that only the planned GR is supported.
  • unplanned: indicates that only the un-planned GR is supported.
  • strict lsa check: indicates that the Helper supports strict external LSA check.

Grace-Period Configured

GR period.

Last Restart-exit Reason

Reason for the Restart device exiting from GR last time:
  • none: indicates that no GR is performed.
  • successful: indicates that the device is successfully restarted through GR, and then exits from GR.
  • topology change: indicates that the network topology changes.
  • grace lsa not recv: indicates that no Grace-LSAs are received.
  • grace period exp: indicates that the GR period expires.
  • process reset: indicates that a parameter of the OSPFv3 process is reset during GR.
  • hold timer expire: indicates that the hold timer expires.
  • interface address deleted: indicates that the interface address is deleted.
  • interface down: indicates that the interface goes Down.
  • DR/BDR change on network: indicates that the DR or BDR on the network changes.
  • Received route uninstall notification: indicates that the message indicating that OSPFv3 routes are not installed to the RM is received.

Helper capability

Whether Helper is enabled:
  • enabled
  • disabled

Last Helper-exit Reason

Reason for the Helper device exiting from GR last time:
  • none: indicates that the switch never enters the Helper mode since it starts.
  • successful: indicates that the Helper successfully exits from GR.
  • topology change: indicates that the network topology changes.
  • interface id change: indicates that the interface ID changes.
  • grace period exp: indicates that GR period expires.
  • hold timer expire: indicates that the hold timer expires.
  • interface address deleted: indicates that the interface address is deleted.

display ospfv3 interface

Function

The display ospfv3 interface command displays information about OSPFv3 interfaces.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] interface [ area area-id ] [ interface-type interface-number ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
area area-id Specifies the OSPFv3 area ID. The value of the area ID can be a decimal integer or in the IPv4 address format. If the value is a decimal integer, it ranges from 0 to 4294967295. If the value is an IPv4 address, it specifies the matched IP address in dotted decimal notation.
interface-type interface-number Specifies the type and the number of the interface. If the interface is not specified, information of all OSPFv3 interfaces is displayed. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 interface command to check information about OSPFv3 interfaces.

Example

# Display information about OSPFv3 Vlanif10.

<HUAWEI> display ospfv3 interface vlanif 10
 Vlanif10 is up, line protocol is up
 Interface ID 0x45
 Interface MTU 1500
 IPv6 Prefixes
 FE80::2E0:13FF:FE96:1600 (Link-Local Address)
 FC00:0:0:4000::1/64
 OSPFv3 Process (1), Area 0.0.0.0, Instance ID 0
 	 Router ID 10.5.5.5, Network Type BROADCAST, Cost: 1
   Transmit Delay is 1 sec, State Backup, Priority 1
   No designated router on this link
   No backup designated router on this link
   Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5
      Hello due in 00:00:08
   Neighbor Count is 1, Adjacent neighbor count is 1
   Interface Event: 2, Lsa Count: 2, Lsa Checksum: 0x9b74
   Interface Physical BandwidthHigh 0, BandwidthLow 1000000000
# Display information about Vlanif 10 after OSPFv3 neighbor relationship flapping suppression is configured.
<HUAWEI> display ospfv3 interface Vlanif 10
 Vlanif10 is up, line protocol is up
  Interface ID 0x7
  Interface MTU 1500 
  IPv6 Prefixes
    FE80::2E0:74FF:FE00:8201 (Link-Local Address)
    FC00:3::1/64
  OSPFv3 Process (1), Area 0.0.0.0, Instance ID 0
    Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
    Transmit Delay is 1 sec, State Backup, Priority 1
    Designated Router (ID) 4.4.4.4
    Interface Address FE80::2E0:4FF:FE09:8201
    Backup Designated Router (ID) 1.1.1.1
    Interface Address FE80::2E0:74FF:FE00:8201
    Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5
       Hello due in 00:00:09
    Neighbor Count is 1, Adjacent neighbor count is 1
    Interface Event 3, Lsa Count 2, Lsa Checksum 0x15084
    Interface Physical BandwidthHigh 0, BandwidthLow 100000000
    Suppress flapping peer: enable(flapping-count: 0, threshold: 3)
Table 7-71  Description of the display ospfv3 interface command output

Item

Description

Interface ID

Interface ID

Interface MTU

MTU value

IPv6 Prefixes

IPv6 prefixes

Link-Local Address

Address of local link

OSPFv3 Process

OSPFv3 process ID

Area

Area that the interface belongs to

Instance ID

ID of the instance that the interface belongs to

Router ID

Router ID

Network Type

Network type of the interface that can be displayed as Point-to-Point, NBMA, Point-To-Multipoint and Broadcast

Cost

Cost of the interface. To set the cost of the interface in different instances, run the ospfv3 cost command.

Transmit Delay

Transmission delay

State

State of the interface

Priority

Priority of the interface

Designated Router (ID)

Designated router on the link

Backup Designated Router (ID)

Backup designated router on the link

Timer interval configured

Configured interval

  • Hello: Interval for sending Hello packets. To set the interval for sending Hello packets on the interface instance, run the ospfv3 timer hello command.
  • Dead: Interval of the Dead timer. To set the dead interval of the OSPFv3 neighbor of the instance on the interface, run the ospfv3 timer dead command.
  • Wait: Interval of the Wait timer
  • Retransmit: Retransmission interval. To set interval for retransmitting the LSA on the interface instance, run the ospfv3 timer retransmit command.

Hello due in

Time remaining to send Hello packet

Neighbor Count

Number of neighbors

Adjacent neighbor count

Number of adjacency

Interface Event

Number of events on this interface

Lsa Count

Total number of LSA in the interface scope database

Lsa Checksum

Checksum of all the LSAs in the database

Interface Physical BandwidthHigh

Maximum physical bandwidth on the interface

BandwidthLow

Minimum physical bandwidth on the interface

Suppress flapping peer

Status of OSPFv3 neighbor relationship flapping suppression:
  • enable: OSPFv3 neighbor relationship flapping suppression is enabled.

    • flapping-count: number of valid flapping_events

      If the interval between two successive neighbor status changes from Full to a non-Full state is shorter than detecting-interval, a valid flapping_event is recorded, and the flapping_count increases by 1. To change detecting-interval, run the ospfv3 suppress-flapping peer detecting-interval detecting-interval command.

    • threshold: flapping suppression threshold

      When the flapping_count reaches or exceeds threshold, flapping suppression takes effect. To configure the threshold, run the ospfv3 suppress-flapping peer threshold threshold command.

  • disable: OSPFv3 neighbor relationship flapping suppression is disabled. In this case, the following information is displayed, without flapping-count or threshold:
    Suppress flapping peer: disable
  • hold-down: OSPFv3 neighbor relationship flapping suppression works in Hold-down mode. In this case, an example of the displayed information is as follows:

    Suppress flapping peer: hold-down(start: 2016-01-29 12:09:36-08:00, remain-interval: 500s)
    • start: time when the flapping suppression started
    • remain-interval: remaining time of the flapping suppression
  • hold-max-cost: OSPFv3 neighbor relationship flapping suppression works in Hold-max-cost mode. In this case, an example of the displayed information is as follows:

    Suppress flapping peer: hold-max-cost(start: 2016-01-29 12:09:36-08:00, remain-interval: 476s)
Related Topics

display ospfv3 lsdb

Function

The display ospfv3 lsdb command displays the OSPFv3 LSDB.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] lsdb [ area area-id ] [ originate-router advertising-router-id | self-originate ] [ { router | network | inter-router [ asbr-router asbr-router-id ] | { inter-prefix | nssa } [ ipv6-address prefix-length ] | link | intra-prefix | grace } [ link-state-id ] ]

display ospfv3 [ process-id ] lsdb [ originate-router advertising-router-id | self-originate ] external [ ipv6-address prefix-length ] [ link-state-id ]

display ospfv3 [ process-id ] lsdb statistics

Parameters

Parameter Description Value
process-id Identifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
area area-id Specifies the OSPFv3 area ID. The value of the area ID can be a decimal integer or in the IPv4 address format. If the value is a decimal integer, it ranges from 0 to 4294967295. If the value is an IPv4 address, it specifies the matched IP address in dotted decimal notation.
external Displays the AS-external LSA in the LSDB. If the area parameter is selected, the external parameter cannot be selected. -
grace Displays the Grace-LSA in the LSDB. -
inter-prefix Displays the Inter-area-prefix LSA in the LSDB. -
nssa Displays the NSSA in the LSDB. -
inter-router Displays the Inter-area-router LSA in the LSDB. -
intra-prefix Displays the Intra-area-prefix LSA in the LSDB. -
link Displays the Link-local LSA in the LSDB. -
network Displays the Network-LSA in the LSDB. -
router Displays the Router-LSA in the LSDB. -
link-state-id Indicates the link state ID. The value is in dotted decimal notation.
originate-router advertising-router-id Specifies the Router ID of the switch that advertises LSA packet. The value is in dotted decimal notation.
asbr-router asbr-router-id Specifies the router ID of the ASBR. The value is in dotted decimal notation.
self-originate Displays LSAs in the LSDB that are advertised by the local switch. -
ipv6-address prefix-length Specifies the IPv6 destination address and the length of the prefix. ipv6-address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. prefix-length is an integer ranging from 0 to 128.
statistics Indicates the statistics of the LSDB. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 lsdb command to check the OSPFv3 LSDB.

Example

# Display the OSPFv3 LSDB.

<HUAWEI> display ospfv3 lsdb
* indicates STALE LSA

           OSPFv3 Router with ID (10.5.5.5) (Process 1)
               Link-LSA (Interface Vlanif1002)

Link State ID   Origin Router    Age   Seq#       CkSum  Prefix
0.0.0.71        10.2.2.2         0995  0x8000000c 0xa44c      1
0.0.0.69        10.5.5.5         0621  0x8000000f 0x20ff      1

               Router-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum    Link
0.0.0.0         10.2.2.2         0565  0x8000008b 0xa54f      1
0.0.0.0         10.5.5.5         0616  0x80000014 0x243c      1

               Network-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.71        10.2.2.2         0565  0x8000000a 0x585c

               Inter-Area-Prefix-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.1         10.2.2.2         0320  0x8000000c 0x6a0f
0.0.0.2         10.2.2.2         1637  0x8000000b 0xe1a3
0.0.0.1         10.5.5.5         0616  0x8000000d 0x81f7

               Intra-Area-Prefix-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum  Prefix  Reference
0.0.0.1         10.2.2.2         0564  0x8000000e 0x79a6      1  Network-LSA

               Router-LSA (Area 0.0.0.1)

Link State ID   Origin Router    Age   Seq#       CkSum    Link
0.0.0.0         10.5.5.5         0621  0x8000000b 0x8c84      0

               Inter-Area-Prefix-LSA (Area 0.0.0.1)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.1         10.5.5.5         0621  0x8000000a 0x8f08
0.0.0.2         10.5.5.5         0612  0x8000000a 0x105d
0.0.0.3         10.5.5.5         0612  0x8000000a 0x85f2

               Intra-Area-Prefix-LSA (Area 0.0.0.1)

Link State ID   Origin Router    Age   Seq#       CkSum  Prefix  Reference
0.0.0.1         10.5.5.5         0621  0x8000000b 0xab89      1  Router-LSA

               Router-LSA (Area 0.0.0.3)

Link State ID   Origin Router    Age   Seq#       CkSum    Link
0.0.0.0         10.5.5.5         0621  0x8000000b 0x8092      0

               Inter-Area-Prefix-LSA (Area 0.0.0.3)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.1         10.5.5.5         0617  0x8000000b 0x85f5
0.0.0.2         10.5.5.5         0621  0x8000000a 0x8511
0.0.0.3         10.5.5.5         0612  0x8000000a 0x0666
0.0.0.4         10.5.5.5         0612  0x8000000a 0x7bfb

               NSSA-external-LSA (Area 0.0.0.3)

Link State ID   Origin Router    Age   Seq#       CkSum  Type
0.0.0.1         10.5.5.5         0626  0x8000000a 0xe72a E2
Table 7-72  Description of the display ospfv3 lsdb command output

Item

Description

Link-LSA

Description of the Link-LSA

Router-LSA

Description of the Router-LSA

Network-LSA

Description of the Network-LSA

Inter-Area-Prefix-LSA

Description of the Inter-Area-Prefix-LSA

NSSA-external-LSA

Description of the NSSA-external-LSA

Intra-Area-Prefix-LSA

Description of the Intra-Area-Prefix-LSA

AS-External-LSA

Description of the AS-external-LSA

Link State ID

Link state ID in LSA header

Origin Router

switch that generates LSA

Age

Aging time of LSA

Seq#

Sequence number of LSA (from LSA header)

CkSum

Checksum of LSA

Link

Number of links in router LSA

Prefix

Number of prefixes in Link LSA

# Display the Link-local LSA in the LSDB.

<HUAWEI> display ospfv3 lsdb link
            OSPFv3 Router with ID (10.2.2.2) (Process 1)

                Link-LSA (Interface Vlanif10)
  LS age: 11
  LS Type: Link-LSA
  Link State ID: 0.0.2.6
  Originating Router: 10.2.2.2
  LS Seq Number: 0x80000002
  Retransmit Count: 0
  Checksum: 0xEFFA
  Length: 56
  Priority: 1
  Options: 0x000013 (-|R|-|-|E|V6)
  Link-Local Address: FE80::1441:0:E213:1
  Number of Prefixes: 1

    Prefix: 2000:1::/64
     Prefix Options: 0 (-|-|-|-|-)
Table 7-73  Description of the display ospfv3 lsdb link command output

Item

Description

LS age

Aging time of LSA

LS Type

Type of LSA:
  • Router-LSA

  • Network-LSA

  • Inter-Area-Prefix-LSA

  • Inter-Area-Router-LSA

  • AS-external-LSA

  • Link-LSA

  • Intra-Area-Prefix-LSA

  • NSSA-LSA

Link State ID

Link state ID in LSA header

Originating Router

Router that generates LSA

LS Seq Number

Sequence number of LSA (from LSA header)

Retransmit Count

Total number of nodes in the retransmission list

Checksum

Checksum of LSA

Length

Length of the LSA

Priority

Priority of the interface that corresponds to the link

Options

Value of options of the link

Link-Local Address

Link local address

Number of Prefixes

Number of IPv6 prefixes in the LSA

Prefix

IPv6 prefix

Prefix Options

Value of options of the prefix

Related Topics

display ospfv3 next-hop

Function

The display ospfv3 next-hop command displays the next-hop routing table of OSPFv3.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] next-hop

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 next-hop command to check the next-hop routing table of OSPFv3.

Example

# Display the next-hop routing table of OSPFv3 process 1.

<HUAWEI> display ospfv3 1 next-hop
OSPFv3 Process (1)
Neighbor-Id     Next-Hop                                Interface   RefCount
10.3.3.9        FE80::2E0:FCFF:FE01:814F                Vlanif10    1
Table 7-74  Description of the display ospfv3 next-hop command output

Item

Description

OSPFv3 Process

ID of the OSPFv3 process

Neighbor-Id

Neighbor ID

Next-Hop

Next hop address

Interface

Egress

RefCount

Number of routes using the next hop

display ospfv3 path

Function

The display ospfv3 path command displays the paths to a destination address.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] path

Parameters

Parameter Description Value
process-id Specifies the ID of an OSPFv3 process. The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the process ID is not specified, paths in all processes are displayed.

Example

# Display all OSPFv3 paths.

<HUAWEI> display ospfv3 path
OSPFv3 Process (1)
Type        AreaId/LSACost   PathCost
Intra       0.0.0.1          2
Inter       0.0.0.1          2
External    0.0.0.10              1
Table 7-75  Description of the display ospfv3 path command output

Item

Description

OSPFv3 Process

ID of the OSPFv3 process

Type

Path type:
  • Intra: indicates the intra-area routes.
  • Inter: indicates the inter-area routes.
  • External: indicates the AS-external routes.

AreaId/LSACost

  • Area ID in case of an intra-area or inter-area path.
  • LSA cost in case the path type is External.
  • Cost in case of a path to a destination outside an AS

PathCost

Cost of the path

display ospfv3 peer

Function

The display ospfv3 peer command displays the qualified OSPFv3 neighbor.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] [ area area-id ] peer [ interface-type interface-number | neighbor-id ] [ verbose ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
area area-id Specifies the neighbor of the specific area. area-id can be a decimal integer or in IPv4 address format. The integer ranges from 0 to 4294967295.
interface-type interface-number Indicates the type and the number of the interface. -
neighbor-id Specifies router ID of the neighbor. The value is in dotted decimal notation.
verbose Displays detailed information of the neighbor of each area. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 peer command to check qualified OSPFv3 neighbor information.

Example

# Display neighbor information about OSPFv3 process 1 on Vlanif10.

<HUAWEI> display ospfv3 1 peer vlanif 10
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID     Pri  State            Dead Time Interface            Instance ID
10.1.1.1          1  Full/ -          00:00:30  Vlanif10             0

# Display the detailed neighbor information of OSPFv3 process 100 on Vlanif10.

<HUAWEI> display ospfv3 100 peer vlanif 10 verbose
OSPFv3 Process (100)
 Neighbor 10.1.1.1 is Full, interface address FE80::3D43:0:8C14:1
    In the area 0.0.0.1 via interface Vlanif10
    DR Priority is 1 DR is 0.0.0.0 BDR is 0.0.0.0
    Options is 0x000013 (-|R|-|-|E|V6)
    Dead timer due in 00:00:29
    Neighbour is up for 18:40:40
    Database Summary List 0
    Link State Request List 0
    Link State Retransmission List 0
    Neighbour Event: 6
    Neighbour If Id: 0x1017
Table 7-76  Description of the display ospfv3 peer command output

Item

Description

OSPFv3 Process

ID of the OSPFv3 process

OSPFv3 Area

ID of the OSPFv3 area

Neighbor ID

Neighbor ID

Pri

Priority of the neighbor switch

State

State of the neighbor, including Down, Attempt, Init, 2-Way, ExStart, Exchange, Loading, and Full

Dead Time

Dead time of the neighbor

Interface

Interface that connects with the neighbor

Instance ID

ID of the instance that the neighbor belongs to

Neighbor

Neighbor ID

interface address

Link address of the the neighbor interface

In the area 0.0.0.1 via interface Vlanif10

Vlanif10 of the neighbor is in Area 1

DR Priority

Priority of DR

DR

Designated Router

BDR

Border Area Router

Options

Options of the neighbor

Dead timer due in 00:00:29

The time before the neighbor dies

Database Summary Packets List

Number of packets in the database summary list of the neighbor

Link State Request List

Number of LSAs in the request list of the neighbor

Link State Retransmission List

Number of LSAs in the retransmission list of the neighbor

Neighbour Event

Number of times NFSM (Neighbor Finite State Machine) state changed

Neighbour If Id

Interface ID of the neighbor

display ospfv3 request-list

Function

The display ospfv3 request-list command displays the statistics of the request list of OSPFv3.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] request-list [ [ area area-id | interface interface-type interface-number | peer router-id ]* | statistics ]

Parameters

Parameter Description Value
process-id Specifies the process ID of OSPFv3. The value is an integer ranging from 1 to 65535.
area area-id Specifies the OSPFv3 area ID. The integer ranges from 0 to 4294967295. The value of the area ID can be a decimal integer or in the IPv4 address format.
interface interface-type interface-number Specifies the type and number of the interface. -
peer router-id Indicates the Router ID of a neighbor. It is in dotted decimal notation.
statistics Displays the statistics of the request list of OSPFv3. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display of the command is used to diagnose faults.

Example

# Display the statistics of the request list in OSPFv3.

<HUAWEI> display ospfv3 request-list
    OSPFv3 Process (1)                                                  
    Interface  FC00:0:0:1::2        Area-ID   0.0.0.1                            
    Nbr-ID   10.254.255.255                                              
    LS-Type               LS-ID           AdvRouter       SeqNum       Age  
    Link-LSA              0.0.2.2         10.254.255.255  0x80000001   151 
    Router-LSA            0.0.0.0         10.254.255.255  0x80000005   46 
    Intra-Area-Prefix-LSA 0.0.0.1         10.254.255.255  0x80000001   45 
    AS-External-LSA       0.0.0.1         10.254.255.255  0x80000001   113 
    AS-External-LSA       0.0.0.2         10.254.255.255  0x80000001   113
Table 7-77  Description of the display ospfv3 request-list command output

Item

Description

OSPFv3 Process

ID of the OSPFv3 process

Interface

Interface that connects with the neighbor

Area-ID

ID of the area that the interface belongs to

Nbr-ID

Router ID of the neighbor

LS-Type

LSA type:
  • Link-LSA: is generated by the switch for each link and is advertised in the local link.

  • Router-LSA: is generated by each switch and advertised in the area whether the switch resides. It describes the link state and cost of the switch.

  • Intra-Area-Prefix-LSA:
    • An LSA generated on a router describes the IPv6 address prefix associated with the router LSA.
    • An LSA generated on a DR describes the IPv6 address prefix associated with the network LSA.
  • AS-External-LSA: is generated by the ASBR and is advertised to the entire AS (except the stub area). It describes the routes that reach other ASs.

LS-ID

Link State ID ( from LSA header)

AdvRouter

Advertising router (from LSA header)

SeqNum

Sequence number (from LSA header)

Age

Aging time (from LSA header)

display ospfv3 retrans-list

Function

The display ospfv3 retrans-list command displays the statistics of the retransmission list in OSPFv3.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] retrans-list [ [ area area-id | interface interface-type interface-number | peer router-id ]* | statistics ]

Parameters

Parameter Description Value
process-id Specifies the process ID of OSPFv3. The value is an integer ranging from 1 to 65535.
area area-id Specifies the OSPFv3 area ID. The integer ranges from 0 to 4294967295. The value of the area ID can be a decimal integer or in the IPv4 address format.
interface interface-type interface-number Specifies the type and number of the interface. -
peer router-id Indicates the Router ID of a neighbor. It is in dotted decimal notation.
statistics Displays the statistics of the retransmission list in OSPFv3. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display of the command is used to diagnose faults.

Example

# Display the statistics of the retransmission list in OSPFv3.

<HUAWEI> display ospfv3 retrans-list
                                                                         
     OSPFv3 Process (1)                                                   
     Interface  FC00:0:0:1::2        Area-ID   0.0.0.1                            
     Nbr-ID   10.22.2.255                                                
     LS-Type               LS-ID           AdvRouter       SeqNum       Age 
     Network-LSA           0.0.2.2         10.254.255.255  0x80000002   1 
     Intra-Area-Prefix-LSA 0.0.0.2         10.254.255.255  0x80000002   1
Table 7-78  Description of the display ospfv3 retrans-list command output

Item

Description

OSPFv3 Process

ID of the OSPFv3 process

Interface

Interface that connects with the neighbor

Area-ID

ID of the area that the interface belongs to

Nbr-ID

Router ID of the neighbor

LS-Type

LSA type:
  • Network-LSA: is generated by the DR of a broadcast network or an NBMA network and is advertised in the area where the DR resides. It describes the link state of the network segment.

  • Intra-Area-Prefix-LSA:
    • An LSA generated on a router describes the IPv6 address prefix associated with the router LSA.
    • An LSA generated on a DR describes the IPv6 address prefix associated with the network LSA.

LS-ID

Link State ID (from the LSA header)

AdvRouter

Advertising router (from LSA header)

SeqNum

Sequence number (from LSA header)

Age

Aging time (from LSA header)

display ospfv3 routing

Function

The display ospfv3 routing command displays the OSPFv3 routing table.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] routing [ ipv6-address prefix-length | abr-routes | asbr-routes | intra-routes | inter-routes | ase-routes | nssa-routes | [ statistics ] [ uninstalled ] ]

Parameters

Parameter Description Value
process-id Identifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
ipv6-address Indicates the IPv6 address. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
prefix-length Specifies the length of the prefix. The value is an integer ranging from 0 to 128.
abr-routes Displays the routing table of ABR in OSPFv3. -
asbr-routes Displays routing table of ASBR in OSPFv3. -
intra-routes Displays the statistics of OSPFv3 routes in an area. -
inter-routes Displays the statistics of OSPFv3 routes between areas. -
ase-routes Displays the statistics of OSPFv3 routes outside an AS. -
nssa-routes Displays the statistics of OSPFv3 routes in an NSSA. -
statistics Displays the statistics of all routing tables. -
uninstalled Displays the routes are not installed into the RM. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

By using this command with different parameters, you can view the routes of a specified interface or next hop.

The command output can help you troubleshoot OSPFv3 faults.

Example

# Display the OSPFv3 routing table.

<HUAWEI> display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,
        N - NSSA, U - Uninstalled, D - Denied by Import Policy
OSPFv3 Process (1)
   Destination                                                 Metric
     Next-hop
     FC00:0:0:3::1/128                                             0
      directly connected, LoopBack1
  IA FC00:0:0:4::1/128                                             1
       via FE80::200:FF:FE00:DC00, Vlanif1002
  IA FC00:0:0:5::1/128                                             1
       via FE80::200:FF:FE00:DC00, Vlanif1002
     FC00:0:0:6::/64                                                     1
      directly connected, Vlanif1002
Table 7-79  Description of the display ospfv3 routing command output

Item

Description

Codes

The following information provides the full spelling and explanation:

  • E2: Type 2 external route
  • E1: Type 1 external route
  • IA: Inter-area route
  • N: NSSA route
  • U: OSPFv3 routers that not advertise to IPv6 router table
  • D: OSPFv3 routes denied by import route policy

OSPFv3 Process

OSPFv3 process

Destination

Destination address

Metric

Metric to the destination

Next-hop

Next hop to the destination

# Displays the routes are not installed into the RM.

<HUAWEI> display ospfv3 routing uninstalled
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,N - NSSA, U - Uninstalled

OSPFv3 Process (1)
   Destination                                                   Metric
     Next-hop
  N    via FE80:1000:2000:3000:4000:5000:6000:7000, Vlanif10               
  U E2 FC00:0:0:1::1/128                                         5   
Table 7-80  Description of the display ospfv3 routing uninstalled command output

Item

Description

N

NSSA

# Display statistics about the OSPFv3 routes that are not installed into the RM.

<HUAWEI> display ospfv3 routing statistics uninstalled
OSPFv3 Process (1) UNINSTALLED ROUTES STATISTICS
      Intra-area-routes   :   2
      Inter-area-routes   :   0
      External-routes     :   1
Table 7-81  Description of the display ospfv3 routing statistics uninstalled command output

Item

Description

Intra-area-routes

Number of intra-area routes

Inter-area-routes

Number of inter-area routes

External-routes

Number of external routes

Related Topics

display ospfv3 topology

Function

The display ospfv3 topology command displays the OSPFv3 area topology.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display ospfv3 [ process-id ] topology [ area area-id ]

Parameters

Parameter Description Value
process-id Identifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
area area-id Specifies the area ID. The value of the area ID can be a decimal integer or in the IPv4 address format. The integer ranges from 0 to 4294967295.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 topology command to check the OSPFv3 area topology.

Example

# Display the topology of OSPFv3 area 1.

<HUAWEI> display ospfv3 topology area 1
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.1) topology
Type  ID(If-Index)       Bits      Metric    Next-Hop        Interface
Rtr   1.1.1.1                      --
Rtr   10.2.2.2                     1         10.2.2.2        Vlanif10
Net   10.2.2.2(268435842)          1         0.0.0.0         Vlanif10
Table 7-83  Description of the display ospfv3 topology command output

Item

Description

OSPFv3 Process

ID of the OSPFv3 process

OSPFv3 Area

ID of the OSPFv3 area

Type

SPF type:
  • Rtr: Router

  • Net: Network

ID (If-Index)

Router ID ( If-Index ) is the interface ID of the DR in the network type.

Bits

B bit and E bit indicates switch type
  • B bit: ABR
  • E bit: ASBR

Metric

Metric of path to the node

Next-Hop

Next hop of the path to the node

Interface

Egress of the path to the node

Related Topics

display snmp-agent trap feature-name ospfv3 all

Function

The display snmp-agent trap feature-name ospfv3 all command displays all trap messages of the OSPFv3 module.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

display snmp-agent trap feature-name ospfv3 all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.

The display snmp-agent trap feature-name ospfv3 all command displays whether all trap functions of the OSPFv3 module are enabled.

Example

# Display all trap messages of the OSPFv3 module.

<HUAWEI> display snmp-agent trap feature-name ospfv3 all
------------------------------------------------------------------------------
Feature name: ospfv3                        
Trap number : 16        
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status 
virtifstatechange               off                     off                 
nbrstatechange                  off                     off                 
virtnbrstatechange              off                     off                 
ifconfigerror                   off                     off                 
virtifconfigerror               off                     off                 
ifrxbadpacket                   off                     off                 
virtifrxbadpacket               off                     off                 
ifstatechange                   off                     off                 
restartstatuschange             off                     off                 
nbrrestarthelperstatuschange    off                     off                 
virtnbrrestarthelperstatuschange
                                off                     off                 
nssatranslatorstatuschange      off                     off                 
lastauthenticationkeyexpiry     off                     off                 
authenticationsequencenumberwrap
                                off                     off                 
intraarearouteridconflictrecovered
                                off                     off                 
peerflappingsuppressstatuschange
                                off                     off 
Table 7-85  Description of the display snmp-agent trap feature-name ospfv3 all command output

Item

Description

Feature name

Name of feature

Trap number

Number of traps of OSPFv3 module.

Trap name

Name of traps of OSPFv3 module, including:
  • virtifstatechange: enables the traps for virtual interface state changes.

  • nbrstatechange: enables the traps for neighbor state changes.

  • virtnbrstatechange: enables the traps for neighbor state changes on the virtual-link.

  • ifconfigerror: enables the traps for interface configuration errors.

  • virtifconfigerror: enables the traps for virtual interface configuration errors.

  • ifrxbadpacket: enables the traps for bad packets received on the interface.

  • virtifrxbadpacket: enables the traps for bad packets received on the virtual interface.

  • ifstatechange: enables the traps for the interface state changes.

  • restartstatuschange: enables the traps for restarter state changes during GR.

  • nbrrestarthelperstatuschange: enables the traps for helper state changes during GR.

  • virtnbrrestarthelperstatuschange: enables the traps for helper state changes during GR on the virtual link.

  • nssatranslatorstatuschange: enables the traps for the NSSA translator state changes.

  • lastauthenticationkeyexpiry: enables the trap for last authentication key in keychain expiry.

  • authenticationsequencenumberwrap: enables the trap for cryptographic sequence number wrapping.

Default switch status

Status of the default trap switch:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

Current switch status

Status of the current trap switch:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

domain-id (OSPFv3)

Function

The domain-id command sets an OSPFv3 domain ID.

The undo domain-id command restores the default setting.

By default, the domain ID is null.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

domain-id { null | domain-id [ type type value value | secondary ] * }

undo domain-id { domain-id [ type type value value ] }

Parameters

Parameter Description Value
null Specifies that the OSPFv3 domain ID is null. -
domain-id Specifies an OSPFv3 domain ID. The value can be an integer or expressed in dotted decimal notation. If the domain ID is an integer, its value ranges from 0 to 4294967295; it is converted to the dotted decimal notation and carried 1 with 256 when being displayed. If the domain ID is in dotted decimal notation format, it is displayed as originally entered.
type type Specifies the type of the OSPFv3 domain ID. The value is an integer that can be 0005, 0105, 0205, or 8005. The default value is 0005.
value value Specifies the value of the OSPFv3 domain ID type. The value is a hexadecimal number that ranges from 0 to FFFF. The default value is 0.
secondary Specifies the ID of a secondary domain. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Generally, the routes that are imported from a PE are advertised as External-LSAs. However, such routes that belong to different nodes of the same OSPFv3 domain should be advertised as Type 3 LSAs (intra-domain routes). This requires that different nodes in the same OSPFv3 domain have the same domain ID.

Values 0 and null indicate different meanings.

The maximum number of secondary domain IDs in each OSPFv3 process is 10. The maximum number of secondary domain IDs may vary with products.

The parameter secondary can be configured only when the primary domain ID is configured. When the undo domain-id command is run, if no parameter is specified, the primary domain ID is deleted.

Example

# Set the VPN domain ID in OSPFv3 VPN extension.

<HUAWEI> system-view
[HUAWEI] ip vpn-instance huawei
[HUAWEI-vpn-instance-huawei] ipv6-family
[HUAWEI-vpn-instance-huawei-af-ipv6] route-distinguisher 100:1
[HUAWEI-vpn-instance-huawei-af-ipv6] quit
[HUAWEI] ospfv3 1 vpn-instance huawei
[HUAWEI-ospfv3-1] domain-id 234

filter export (OSPFv3)

Function

The filter export command filters the outgoing Type3 LSAs of the local area.

The undo filter export command restores the default setting.

By default, the outgoing Type3 LSAs of the local area are not filtered.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI

Supported

S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

filter { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } export

undo filter [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] export

Parameters

Parameter Description Value
acl6-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of a named ACL. The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.
ipv6-prefix ipv6-prefix-name Specifies the name of an IP prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a routing policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The command can be used to filter out invalid LSAs sent to neighbors to reduce the size of neighbors' LSDBs and speed up network convergence.

Configuration Impact

After filtering conditions are set for the outgoing Type3 LSAs to be advertised using the filter export command, only the outgoing Type3 LSAs that pass the filtering can be advertised.

Precautions

  • The command can be configured only on ABRs.
  • When the rule command is used to configure a filtering rule for an ACL, only the source address range specified by the parameter source and the time range specified by the parameter time-range in the rule command take effect.
  • To set filtering conditions for the incoming Type3 LSAs to be advertised, run the filter import (OSPFv3) command.
  • Creating an ACL6, IPv6 prefix list, or route-policy before it is referenced is recommended. If a nonexistent ACL6, IPv6 prefix list, or route-policy is referenced using the command, OSPFv3 advertises all Type 3 LSAs.

Example

# Configure OSPFv3 to filter the outgoing Type3 LSAs.

<HUAWEI> system-view
[HUAWEI] ospfv3 100
[HUAWEI-ospfv3-100] area 1
[HUAWEI-ospfv3-100-area-0.0.0.1] filter 2000 export

filter import (OSPFv3)

Function

The filter import command filters the incoming Type3 LSAs of the local area.

The undo filter import command restores the default setting.

By default, the incoming Type3 LSAs are not filtered.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI

Supported

S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

filter { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import

undo filter [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] import

Parameters

Parameter Description Value
acl6-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of a named ACL. The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.
ipv6-prefix ipv6-prefix-name Specifies the name of an IP prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a routing policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The filter import command can be used to filter out invalid LSAs sent to neighbors to reduce the size of the neighbors' LSDBs and speed up network convergence.

Configuration Impact

After filtering conditions are set for the incoming Type3 LSAs to be advertised using the filter import command, only the incoming Type3 LSAs that pass the filtering can be received and advertised.

Precautions

  • The command can be configured only on ABRs.
  • When the rule command is used to configure a filtering rule for an ACL, only the source address range specified by the parameter source and the time range specified by the parameter time-range in the rule command take effect.
  • To set filtering conditions for the outgoing Type3 LSAs to be advertised, run the filter export (OSPFv3) command.
  • Creating an ACL6, IPv6 prefix list, or route-policy before it is referenced is recommended. If a nonexistent ACL6, IPv6 prefix list, or route-policy is referenced using the command, OSPFv3 receives all Type 3 LSAs.

Example

# Configure OSPFv3 to filter the incoming Type3 LSAs within the local area.

<HUAWEI> system-view
[HUAWEI] ospfv3 100
[HUAWEI-ospfv3-100] area 1
[HUAWEI-ospfv3-100-area-0.0.0.1] filter ipv6-prefix my-prefix-list import

filter-policy export (OSPFv3)

Function

The filter-policy export command filters imported routes.

The undo filter-policy export command restores the default setting.

By default, imported routes are not filtered.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name } export [ protocol [ process-id ] ]

undo filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name ] export [ protocol [ process-id ] ]

Parameters

Parameter Description Value
acl6-number Specifies the ACL6 number. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of an IPv6 named ACL. The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.
ipv6-prefix ipv6-prefix-name Specifies the name of the IPv6 address prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
protocol Specifies the protocol from which the route is imported. You can use this parameter to filter the imported routes of specific protocols. If this parameter is not specified, all imported routes are filtered.

The value may be bgp, direct, isis, ospfv3, ripng, static, or unr. The specific value varies depending on the routing protocol supported by the device.

process-id Specifies the process ID of the protocol. The value is an integer ranging from 1 to 65535.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The filter-policy export command is only valid for the routes that are imported using the import-route command.

For an ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Precautions

Creating an ACL6 or IPv6 prefix list before it is referenced is recommended. If a nonexistent ACL6 or IPv6 prefix list is referenced using the command, all external routes imported to OSPFv3 are converted to Type 5 LSAs (AS-external-LSAs) or Type 7 LSAs (NSSA-external-LSAs) and then are advertised to neighbors.

Example

# Filter the imported routes based on the rule defined by ACL6 2002.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] filter-policy 2002 export
Related Topics

filter-policy import (OSPFv3)

Function

The filter-policy import command filters received routes.

The undo filter-policy import command restores the default setting.

By default, received routes are not filtered.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name } import

undo filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name ] import

Parameters

Parameter Description Value
acl6-number Specifies the ACL6 number. The value is an integer ranging from 2000 to 2999.
acl6-name acl6-name Specifies the name of an IPv6 named ACL. The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.
ipv6-prefix ipv6-prefix-name Specifies the name of the IPv6 address prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The filter-policy import command only filters the routes calculated by OSPFv3. Routes that do not pass the filtering are neither added to the OSPFv3 routing table nor advertised.

For an ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Precautions

Creating an ACL6 or IPv6 prefix list before it is referenced is recommended. If a nonexistent ACL6 or IPv6 prefix list is referenced using the command, all IPv6 routes received by OSPFv3 are delivered to the IPv6 routing table.

Example

# Filter the received routes based on the IPv6 address prefix list named abc.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] filter-policy ipv6-prefix abc import

graceful-restart (OSPFv3)

Function

The graceful-restart command enables GR of the OSPFv3 process.

The undo graceful-restart command disables GR of the OSPFv3 process.

By default, OSPFv3 GR is not enabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

graceful-restart [ period period | ack-time time | retransmit-interval interval | lsa-checking-ignore | planned-only ] *

undo graceful-restart [ period [ period ] | ack-time [ time ] | retransmit-interval [ interval ] | lsa-checking-ignore | planned-only ] *

Parameters

Parameter Description Value
period period Specifies the GR period. The value is an integer ranging from 1 to 1800, expressed in seconds. By default, the value is 120 seconds.
ack-time time Specifies the period during which a switch waits for the Grace-LSA Ack message from its neighbor. The value is an integer ranging from 1 to 30, expressed in seconds. By default, the value is 15 seconds.
retransmit-interval interval Specifies the interval for retransmitting Grace-LSAs. The value is an integer ranging from 1 to 5, expressed in seconds. By default, the value is 5 seconds.
lsa-checking-ignore Indicates that strict check is not performed on LSAs. By default, switchs perform strict check on received LSAs. -
planned-only Indicates that switchs support Planned-GR only. By default, switchs support Planned-GR and Unplanned-GR. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

ack-time is an optional parameter. After the parameter is specified, the restarter can discover more neighbors in ack-time period.

Example

# Enable GR of the OSPFv3 process.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] graceful-restart

helper-role (OSPFv3)

Function

The helper-role command configures a switch to support the GR Helper mode.

The undo helper-role command cancels GR Helper mode.

By default, the switch is not enabled to support GR Helper mode.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

helper-role [ { ip-prefix ip-prefix-name | acl-number acl-number | acl-name acl-name } | max-grace-period period | planned-only | lsa-checking-ignore ]*

undo helper-role [ [ ip-prefix [ ip-prefix-name ] | acl-number [ acl-number ] | acl-name [ acl-name ] ] | max-grace-period period | planned-only | lsa-checking-ignore ]*

Parameters

Parameter Description Value
ip-prefix ip-prefix-name Specifies the name of the IP prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
acl-number acl-number Specifies the number of the basic ACL. The value is an integer that ranges from 2000 to 2999.
acl-name acl-name Specifies the name of a IPv6 Named ACL. The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.
max-grace-period period Specifies the permitted maximum restart period. The value is an integer ranging from 1 to 1800, expressed in seconds. By default, the value is 1800 seconds.
planned-only Indicates that switches support Planned-GR only. By default, switches support Planned-GR and Unplanned-GR. -
lsa-checking-ignore Indicates that strict check is not performed on LSAs. By default, switches perform strict check on received LSAs. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Switchs cannot use the helper mode during the GR process.

For an ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Configure a switch to support the helper mode.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] helper-role acl-number 2001 max-grace-period 250 planned-only lsa-checking-ignore

import-route (OSPFv3)

Function

The import-route command imports an external route. Before the routes are imported, the OSPFv3 process of the route must be active.

The undo import-route command stops importing external routes.

By default, no route of other protocols is imported.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

import-route { bgp [ permit-ibgp ] | unr | direct | ripng help-process-id | static | isis help-process-id | ospfv3 help-process-id } [ { cost cost | inherit-cost } | type type | tag tag | route-policy route-policy-name ]*

undo import-route { bgp | unr | direct | ripng help-process-id | static | isis help-process-id | ospfv3 help-process-id }

Parameters

Parameter Description Value
bgp Specifies the protocol from which routes are imported, as bgp. -
permit-ibgp IBGP routes that are permitted to be imported. The import of IBGP routes may cause route loops. Therefore, this command must not be configured unless it is necessary. -
unr Specifies the imported source routing protocol as unr.

User Network Route (UNR) is allocated if dynamic routing protocols cannot be used when users are getting online.

-
direct Specifies the imported source routing protocol as direct. -
ripng Specifies the protocol from which routes are imported, as ripng. -
static Specifies the imported source routing protocol as static. -
isis Specifies the protocol from which routes are imported, as isis. -
ospfv3 Specifies the protocol from which routes are imported, as ospfv3. -
help-process-id Specifies the process ID of the imported source protocol. The value is an integer ranging from 1 to 65535.
cost cost Indicates the cost of the imported route. The value is an integer ranging from 1 to 16777214.By default, it is 1.
inherit-cost dicates the original cost of the imported routes. -
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
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.
route-policy route-policy-name Specifies the name of the routing policy. Only the routes that match the route-policy-name are imported. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a non-PE device, only EBGP routes are imported after the import-route bgp command is configured. IBGP routes are also imported after the import-route bgp permit-ibgp command is configured. If IBGP routes are imported, routing loops may occur.In this case, run the preference (OSPFv3) and preference (BGP) commands to prevent loops by specifying preferences of OSPFv3 and BGP routes.If IBGP routes need to be imported, configure the import-route bgp permit-ibgp command, and run the preference (OSPFv3) and preference (BGP) commands to set the preference of OSPFv3 ASE routes lower than that of IBGP routes (preference value of OSPFv3 ASE routes larger than that of IBGP routes).

On a PE, configuring the import-route bgp command imports both EBGP routes and IBGP routes, no matter whether the import-route bgp permit-ibgp command is configured or not.If the import-route bgp permit-ibgp command and the default-route-advertise (OSPFv3) command are both configured, the active IBGP default routes can be imported into OSPFv3.

NOTE:

After the import-route direct command is executed, routes to the network segment where the IPv6 address of the management interface belongs are also imported in the OSPFv3 routing table. Therefore, use this command with caution.

Precautions

Creating a route-policy before it is referenced is recommended. If a nonexistent route-policy is referenced using the command, all the routes learned by the specified protocol are imported to the OSPFv3 routing table.

Example

# Import the RIPng route of type 2. The cost of the route is 50.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] import-route ripng 1 type 2 cost 50

# OSPFv3 process 100 imports the routes discovered by OSPFv3 process 160.

<HUAWEI> system-view
[HUAWEI] ospfv3 100
[HUAWEI-ospfv3-100] import-route ospfv3 160

ipsec sa (OSPFv3)

Function

The ipsec sa command configures an Security Association (SA) in the OSPFv3 area or OSPFv3 process.

The undo ipsec sa command deletes the SA configured in the OSPFv3 area or OSPFv3 process.

By default, no SA is configured in the OSPFv3 area or OSPFv3 process.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ipsec sa sa-name

undo ipsec sa

Parameters

Parameter Description Value
sa-name Specifies the name of an SA.

The value is an existing SA name.

Views

OSPFv3 view or OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An SA defines a set of security algorithms and keys to ensure IP security. Incoming and outgoing OSPFv3 packets are authenticated and encrypted based on the rules defined by the SA.

The ipsec sa sa-name command run in the OSPFv3 process view is used to authenticate packets of the OSPFv3 process. An SA applied in an OSPFv3 process is used to authenticate the packets of the process. After an OSPFv3 process is associated with an OSPFv3 area, the SA applied in the OSPFv3 process is also applied to the OSPFv3 area.

The ipsec sa sa-name command run in the OSPFv3 area view is used to authenticate packets of the OSPFv3 area.

NOTE:
  • The SA applied in an OSPFv3 area takes precedence over that applied in an OSPFv3 process.
  • If the SA applied in the OSPFv3 area is deleted, the SA applied in the OSPFv3 process is used to authenticate packets.

Example

# Configure an SA named sa1 in the OSPFv3 process. (This SA has been created.)

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] ipsec sa sa1

# Configure an SA named sa2 in the OSPFv3 area. (This SA has been created.)

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] area 10.0.0.0
[HUAWEI-ospfv3-1-area-10.0.0.0] ipsec sa sa2

lsa-forwarding-address

Function

The lsa-forwarding-address command enables the OSPFv3 forwarding address (FA) function.

The undo lsa-forwarding-address command disables the OSPFv3 FA function.

By default, the OSPFv3 FA function is disabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

lsa-forwarding-address { standard | zero-translate }

undo lsa-forwarding-address

Parameters

Parameter Description Value
standard Indicates that the function is compatible with RFC 3101. -
zero-translate Allows the Type 7 LSAs with the P-bit set and the FA being 0 to be translated to Type 5 LSAs. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

For an OSPFv3 Type 5 or Type 7 LSA:
  • When there is no FA, other switches consider how to reach the ASBR (the switch that generates this LSA) and then reach an external network through this ASBR.

  • When there is an FA, other switches consider how to reach the device to which this FA belongs and then reach an external network through this device.

In this situation, if no FA is available, an additional next hop may be generated when a switch within an OSPF domain first reaches an ASBR before reaching an external network.

Therefore, the FA in an OSPFv3 Type 5 or Type 7 LSA provides a faster next hop to reach an external network.

To enable the OSPFv3 FA function, run the lsa-forwarding-address { standard | zero-translate } command.

Example

# Enable the OSPFv3 FA function that is compatible with RFC 3101.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] lsa-forwarding-address standard

maximum load-balancing (OSPFv3)

Function

The maximum load-balancing command sets the maximum number of equal-cost routes for carrying out load balancing.

The undo maximum load-balancing command restores the default setting.

The default maximum number of equal-cost OSPFv3 routes for carrying out load balancing is 8.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

maximum load-balancing number

undo maximum load-balancing

Parameters

Parameter Description Value
number Specifies the maximum number of equal-cost routes. The value is an integer ranging from 1 to 8.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Applicable Environment

If a routing protocol discovers multiple routes with the same cost to a single destination, they can carry out load balancing. The maximum load-balancing command sets the maximum number of equal-cost routes that can carry out load balancing. This optimizes the routing policy and ensures traffic forwarding on a complex network.

Effect

Packets will be load-balanced by multiple equal-cost routes to a single destination.

NOTE:
Load balancing is performed in either per-flow or per-packet mode. By default, packets are load-balanced in per-flow mode.

Follow-up Procedure

If more existing equal-cost OSPFv3 routes than the value set using the maximum load-balancing command are available, the system randomly selects equal-cost routes equal to the value set using this command to carry out load balancing. The nexthop command allows routes with a specified weight to carry out load balancing.

Precautions

To disable load balancing, set the value of number to 1.

NOTE:

By using the maximum load-balancing command sets the maximum number of equal-cost routes to a destination in the routing table. The equal-cost routes can be used for load balancing and master/slave protection switchover on the transport link.

Example

# Set the maximum number of equal-cost routes that OSPFv3 can support to 3.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] maximum load-balancing 3

# Restore the default maximum number of equal-cost routes for carrying out load balancing.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] undo maximum load-balancing

nexthop (OSPFv3)

Function

The nexthop command sets the preference for equal-cost routes.

The undo nexthop command cancels the preference of equal-cost routes.

By default, the preference is not set for equal-cost routes. That is, equal-cost routes forward packets at the same time for load balancing.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

nexthop router-id interface-type interface-number weight value

undo nexthop router-id interface-type interface-number

Parameters

Parameter Description Value
router-id Specifies the router ID of a neighbor. It is in dotted decimal notation.
interface-type interface-number Specifies the type and number of an interface. -
weight value Specifies the weight of the next hop. The smaller the weight is, the higher the route preference is. It is an integer ranging from 1 to 254.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

After OSPFv3 calculates equal-cost routes, you can run the nexthop command to select the route with the highest preference from the equal-cost routes as the next hop. OSPFv3 selects a next hop from these equal-cost routes according to the weight. The smaller the weight is, the higher the route preference is.

Example

# Set the preference for equal-cost routes in OSPFv3.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] quit
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] nexthop 10.2.2.2 vlanif 10 weight 240

nssa (OSPFv3 Area)

Function

The nssa command configures an OSPFv3 area as an NSSA.

The undo nssa command cancels the configuration.

By default, no OSPFv3 area is configured as an NSSA.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

nssa [ default-route-advertise [ cost cost | type type | tag tag ] * | no-import-route | no-summary | translator-always | translator-interval translator-interval | set-n-bit | suppress-forwarding-address ] *

undo nssa

Parameters

Parameter Description Value
default-route-advertise Generates default Type7 LSAs on the ASBR and then advertises them to the NSSA.
NOTE:
The ABR generates a default NSSA LSA (Type7 LSA) automatically and advertises it in the NSSA.
-
cost cost Specifies the default cost of Type 7 LSAs. It is an integer ranging from 1 to 16777214. The default 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
tag tag Specifies the tag value of the OSPFv3 route imported to an NSSA. It is an integer ranging from 0 to 4294967295. The default value is 0.
no-import-route Indicates that no external routes are imported to NSSAs. -
no-summary Disables ABRs from sending summary LSAs to NSSAs. -
translator-always Specifies the ABR in an NSSA as the translator. Multiple ABRs in an NSSA can be configured as translators. -
translator-interval translator-interval Specifies the timeout period of a translator. It is an integer ranging from 1 to 120, in seconds. The default value is 40 seconds.
set-n-bit Indicates that the N-bit is set in DD packets. -
suppress-forwarding-address Enables the device to suppress the forwarding address of a Type 5 LSA translated from a Type 7 LSA. -

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

If an area is configured to the nssa area, all switchs of the area must be configured with the NSSA attribute.

The area will be updated after NSSA attributes are configured or deleted. Thus, the NSSA attributes can be re-configured or deleted only after the last update of NSSA attributes is complete.

The keyword default-route-advertise is used to generate default Type 7 LSAs. Regardless of whether there is route ::/0 in the routing table on an ABR, a Type 7 LSA default route is generated. A Type 7 LSA default route can be generated only when there is route ::/0 in the routing table on an ASBR.

When an ASBR is also an ABR, you can specify no-import-route to disable OSPFv3 from advertising the external routes imported through the import-route command to NSSAs. To reduce the number of LSAs to be transmitted to NSSAs, you can specify no-summary on an ABR to disable the ABR from transmitting summary LSAs (Type 3 LSAs) to NSSAs.

NOTE:
  • When the LS age field (aging time) in the LSA header reaches 3600 seconds, this LSA is deleted.

  • After the keyword set-n-bit is set, a switch re-establishes neighbor relationships with switchs directly connected to it in the NSSA.

Example

# Configure Area 1 as an NSSA, and set the timeout period of the translator to 20s.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] area 1
[HUAWEI-ospfv3-1-area-0.0.0.1] nssa translator-interval 20

ospfv3

Function

The ospfv3 command enables an OSPFv3 process .

The undo ospfv3 command disables the OSPFv3 process.

By default, the system does not support OSPFv3.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 [ process-id ] [ vpn-instance vpn-instance-name ]

undo ospfv3 process-id

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535. By default, it is 1.
vpn-instance vpn-instance-name Specifies the name of the VPN instance. The value must be an existing VPN instance name.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Only when you configure the Route ID in the OSPFv3 view, the OSPFv3 process can run normally. Otherwise, the OSPFv3 process can be viewed but cannot generate LSAs.

If a VPN instance is specified, the OSPFv3 process belongs to the VPN instance. If no VPN instance is specified, the OSPFv3 process is a global instance.

NOTE:
Before configuring OSPFv3-related parameters, you must enable OSPFv3.

Example

# Enable the OSPFv3 protocol.

<HUAWEI> system-view
[HUAWEI] ospfv3

ospfv3 area

Function

The ospfv3 area command enables the OSPFv3 process on an interface and specifies the area the process belongs to.

The undo ospfv3 area command disables the OSPFv3 process on the interface.

By default, the OSPFv3 protocol is not enabled on the interface.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 process-id area area-id [ instance instance-id ]

undo ospfv3 process-id area area-id [ instance instance-id ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
area area-id Specifies the OSPFv3 area ID. The value of the area ID can be a decimal integer or in the IPv4 address format. The integer ranges from 0 to 4294967295.
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 ipv6 enable command to enable IPv6 in the interface view.

Example

# Enable OSPFv3 in , and enable OSPFv3 in area 1.

<HUAWEI> system-view
[HUAWEI] ipv6
[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

# Enable OSPFv3 in GE0/0/1, and enable OSPFv3 in area 1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1

ospfv3 authentication-mode

Function

The ospfv3 authentication-mode command configures an authentication mode and a password for an OSPFv3 interface.

The undo ospfv3 authentication-mode command deletes the authentication mode and password configured for an OSPFv3 interface.

By default, no authentication mode or password are configured for any OSPFv3 interface.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 authentication-mode hmac-sha256 key-id key-id { plain plain-text | [ cipher ] cipher-text } [ instance instance-id ]

ospfv3 authentication-mode keychain keychain-name [ instance instance-id ]

undo ospfv3 authentication-mode hmac-sha256 key-id key-id [ plain plain-text | cipher cipher-text ] [ instance instance-id ]

undo ospfv3 authentication-mode keychain [ keychain-name ] [ instance instance-id ]

NOTE:

Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support the keychain keychain-name parameter.

Parameters

Parameter Description Value
hmac-sha256 Configures the HMAC-SHA256 authentication mode. N/A
key-id key-id Specifies the key ID for authentication, which must be the same as the one configured at the other end. The value is an integer ranging from 1 to 255.
plain Configures the plaintext password type. Only a plaintext password can be entered, and the password is displayed in plaintext in the configuration file.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

N/A
plain-text Specifies a plaintext password. The value is a string of 1 to 255 characters, spaces not supported.
cipher Configures the ciphertext password type. You can enter either a plaintext or ciphertext password, but the password is displayed in ciphertext in the configuration file. N/A
cipher-text Specifies a ciphertext password. The value can be a string of 1 to 255 characters for plaintext passwords and 20 to 392 characters for ciphertext passwords, spaces not supported.
keychain Configures keychain authentication.
NOTE:

Before you configure keychain authentication, run the keychain command to configure a keychain, the key-id command to configure a key ID, the key-string command to configure a password, and the algorithm command to configure an algorithm. If these commands are not run, OSPFv3 authentication fails.

N/A
keychain-name Specifies a keychain name. The value is a string of 1 to 47 case-insensitive characters. Except the question mark (?) and space. However, when double quotation marks (") are used around the string, spaces are allowed in the string.
instance instance-id Specifies the ID of a VLAN to which the specified interface belongs. The value ranges from 0 to 255, with default value 0.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Due to inherent defects and flawed implementation of the TCP/IP protocol suite, there are an increasing number of attacks, which poses greater threats on TCP/IP networks than ever before. The attacks on network devices may lead to network failures. To configure an authentication mode and a password for an OSPFv3 interface to improve OSPFv3 network security, run the ospfv3 authentication-mode command.

Precautions

OSPFv3 interface authentication takes precedence over OSPFv3 area authentication.

To configure OSPFv3 area authentication, run the authentication-mode command.

Example

# Configure OSPFv3 HMAC-SHA256 authentication on VLANIF100.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ospfv3 1 area 0
[HUAWEI-Vlanif100] ospfv3 authentication-mode hmac-sha256 key-id 10 cipher huawei

# Configure OSPFv3 HMAC-SHA256 authentication on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 0
[HUAWEI-GigabitEthernet0/0/1] ospfv3 authentication-mode hmac-sha256 key-id 10 cipher huawei

ospfv3 bfd

Function

The ospfv3 bfd command enables the bidirectional forwarding detection (BFD) on the specified interface enabled with OSPFv3, or sets the parameter values of a BFD session.

The undo ospfv3 bfd command deletes the BFD on the specified interface, or restores the default parameter values of a BFD session.

By default, BFD is not enabled at OSPFv3 interface level.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

ospfv3 bfd enable [ instance instance-id ]

ospfv3 bfd { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value } * [ instance instance-id ]

undo ospfv3 bfd enable [ instance instance-id ]

undo ospfv3 bfd { min-transmit-interval [ min-transmit-value ] | min-receive-interval [ min-receive-value ] | detect-multiplier [detect-multiplier-value ] } * [ instance instance-id ]

Parameters

Parameter Description Value
enable

Indicates enable BFD for OSPFv3 in the specified interface.

-
min-transmit-interval min-transmit-value

Specifies the minimum interval for sending BFD packets to the peer.

The value is an integer that ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000.By default, the minimum interval for receiving BFD packets is 1000 ms.

min-receive-interval min-receive-value

Specifies the minimum interval for receiving BFD packets from the peer.

The value is an integer that ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000.By default, the minimum interval for receiving BFD packets is 1000 ms.

detect-multiplier detect-multiplier-value

Indicates the local detection multiplier.

The value is an integer that ranges from 3 to 50. The default value is 3.
instance instance-id

Indicates the interface instance id.

The value is an integer ranges from 0 to 255.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A link fault or a topology change causes devices to recalculate routes. Therefore, the convergence of routing protocols must be as fast as possible to improve network performance.

Link faults are inevitable. Therefore, quickly detecting faults and notifying routing protocols of the faults is a feasible solution to immediately rectify link faults. If BFD is associated with routing protocols, BFD can speed up the convergence of routing protocols when a link fault occurs.

After OSPFv3 establishes a BFD session, the default parameter value is used. BFD session parameters can also be modified as required.

  • Actual interval at which BFD packets are transmitted on the local devices = Max { configured interval min-transmit-value at which BFD packets are transmitted, configured interval min-receive-value at which BFD packets are received on the peer device }
  • Actual interval at which BFD packets are received on the local devices = Max { configured interval min-transmit-value at which BFD packets are transmitted on the peer device, configured interval min-receive-value at which BFD packets are received on the local device }
  • Actual time for detecting BFD packets = Actual interval at which BFD packets are received on the local device x Configured detection multiplier detect-multiplier-value

For example:

  • On the local device, the configured interval at which BFD packets are transmitted is 200 ms; the interval at which BFD packets are received is set to 300 ms; the detection multiplier is 4.
  • On the peer device, the configured interval at which BFD packets are transmitted is 100 ms; the interval at which BFD packets are received is 600 ms; the detection multiplier is 5.

Then:

  • On the local device, the actual interval at which BFD packets are transmitted is 600 ms calculated by using the formula max {200 ms, 600 ms}; the interval at which BFD packets are received is 300 ms calculated by using the formula max {100 ms, 300 ms}; the detection period is 1500 ms calculated by multiplying 300 ms by 5.
  • On the peer device, the actual interval at which BFD packets are transmitted is 300 ms calculated by using the formula max {100 ms, 300 ms}, the actual interval at which BFD packets are received is 600 ms calculated by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms calculated by multiplying 600 ms by 4.

Prerequisites

The set BFD session parameters take effect only when BFD is enabled on the interface.

Configuration Impact

If the global BFD is not configured, BFD on the interface can be configured but the BFD session cannot be set up. Similarly, if the parameters of a BFD session are set but the ospfv3 bfd enable command is not configured, the BFD session cannot be set up.

The priority of BFD configured on an interface is higher than what is configured in the process. If the BFD is enabled on the interface, the BFD session is set up by using the parameters of the BFD configured on the interface.

Precautions

  • After BFD is configured, OSPFv3 establishes BFD sessions only with neighbors.

  • The ospfv3 bfd enable command and the ospfv3 bfd block command are mutually exclusive.

  • After BFD is disabled on the interface using the undo ospfv3 bfd enable command, the configurations of the parameters of the BFD session on the interface still exist.

Example

# Enabling BFD on OSPFv3 on interface Vlanif10.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ospfv3 bfd enable instance 1

# Configure BFD parameters on OSPFv3 on interface Vlanif10.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ospfv3 bfd min-transmit-interval 100 min-receive-interval 100 detect-multiplier 3 instance 1

ospfv3 bfd block

Function

The ospfv3 bfd block command blocks the bidirectional forwarding detection (BFD) dynamically created by an interface.

The undo ospfv3 bfd block command cancels the feature.

By default, BFD is not blocked.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

ospfv3 bfd block [ instance instance-id ]

undo ospfv3 bfd block [ instance instance-id ]

Parameters

Parameter Description Value
instance instance-id Indicates the interface instance id. The value is an integer ranges from 0 to 255.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the bfd all-interfaces enable command is run in the OSPFv3 process, all neighbors that enable OSPFv3 and the neighbor relationship is in Full state create BFD sessions. To prevent specific interfaces from being enabled with BFD, you can disable their interfaces from dynamically creating BFD sessions.

Prerequisites

BFD has been enabled on these interfaces.

Before configuring this command, you must run the ipv6 enable command in the interface view to enable IPv6.

Precautions

The ospfv3 bfd enable command and the ospfv3 bfd block command are mutually exclusive.

Example

# Block the BFD dynamically created by Vlanif100 when configured the BFD for OSPF3 of all interfaces in the OSPF3 process.

<HUAWEI> system-view
[HUAWEI] interface Vlanif100
[HUAWEI-Vlanif100] ospfv3 bfd block instance 1
Related Topics

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 an interface running OSPF is calculated using the following formula: Interface cost = Bandwidth reference value/Interface bandwidth where, the bandwidth reference value can be changed using the bandwidth-reference command.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

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.
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] ipv6
[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 GE0/0/1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 cost 33

ospfv3 dr-priority

Function

The ospfv3 dr-priority command sets the priority of an interface that takes part in the DR or BDR election.

The undo ospfv3 dr-priority command restores the default value.

By default, the priority of an interface that takes part in the DR or BDR election is 1.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 dr-priority priority [ instance instance-id ]

undo ospfv3 dr-priority [ priority ] [ instance instance-id ]

Parameters

Parameter Description Value
priority Specifies the priority of the interface that candidates for DR or BDR. The value is an integer ranging from 0 to 255. 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

The priority of the interface determines the qualification of the interface when electing DR or BDR. The interface with the higher priority is preferred. The router whose priority is 0 cannot be elected as a DR or a BDR.

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

Example

# Set the priority of public instance for electing DR or BDR to 8 on Vlanif10.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 dr-priority 8

# Set the priority of public instance for electing DR or BDR to 8 on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 dr-priority 8

ospfv3 ipsec sa

Function

The ospfv3 ipsec sa command configures an SA in the OSPFv3 interface.

The undo ospfv3 ipsec sa command deletes the SA configured in the OSPFv3 interface.

By default, no SA is configured in the OSPFv3 interface.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 ipsec sa sa-name

undo ospfv3 ipsec sa

Parameters

Parameter Description Value
sa-name Specifies the name of an SA.

The value is an existing SA name.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If an SA is configured on an interface, OSPFv3 uses the SA to authenticate and encrypt packets sent and received by the interface.

If no SA is configured on the interface or the configured SA is deleted from the interface, OSPFv3 uses the SA configured in the process or the area where the interface resides to authenticate packets sent and received by the interface.

NOTE:
  • The SA configured in the interface view takes precedence over that configured in the OSPFv3 area view or the OSPFv3 process view.
  • The ospfv3 ipsec sa command can be used on all the OSPFv3 instances of an interface.

Example

# Configure an SA named sa3 for the interface VLANIF10.(This SA has been created.)

<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 0
[HUAWEI-Vlanif10] ospfv3 ipsec sa sa3

ospfv3 mib-binding

Function

The ospfv3 mib-binding command binds an OSPFv3 process to SNMP and makes OSPFv3 respond to SNMP requests.

The undo ospfv3 mib-binding command disables the binding.

By default, there is no binding between the OSPFv3 process and SNMP.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 mib-binding process-id

undo ospfv3 mib-binding

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process ID. The value ranges from 1 to 65535.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When multiple OSPFv3 processes are enabled, you can bind OSPFv3 MIB to a process so that this process can be processed.

Before running this command, run the ospfv3 command in the system view to create an OSPFv3 process.

Example

# Bind OSPFv3 process to SNMP.

<HUAWEI> system-view
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] quit
[HUAWEI] ospfv3 mib-binding 100

# Disable the binding.

<HUAWEI> system-view
[HUAWEI] undo ospfv3 mib-binding

ospfv3 mtu-ignore

Function

The ospfv3 mtu-ignore command disables the MTU check on DD packets.

The undo ospfv3 mtu-ignore command restores the default value.

By default, the MTU check on DD packets is enabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 mtu-ignore [ instance instance-id ]

undo ospfv3 mtu-ignore [ instance instance-id ]

Parameters

Parameter Description Value
instance instance-id Specifies the interface instance ID. 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

# Disable OSPFv3 from checking the MTU of the DD packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 mtu-ignore

# Disable OSPFv3 from checking the MTU of the DD packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 mtu-ignore

ospfv3 network-type

Function

The ospfv3 network-type command sets the network type of the OSPFv3 interface.

The undo ospfv3 network-type command restores the default network type of the OSPFv3 interface.

By default, the network type of an interface is determined by the physical interface. The network type of Ethernet interface is broadcast.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 network-type { broadcast | nbma | p2mp [ non-broadcast ] | p2p } [ instance instance-id ]

undo ospfv3 network-type [ broadcast | nbma | p2mp [ non-broadcast ] | p2p ] [ instance instance-id ]

Parameters

Parameter Description Value
broadcast Indicates that the network type of the interface is changed to broadcast. -
nbma Indicates that the network type of the interface is changed to NBMA. -
p2mp Indicates that the network type of the interface is changed to point-to-multipoint. -
non-broadcast Indicates that the network type of the interface is changed to non-broadcast point-to-multipoint. -
p2p Indicates that the network type of the interface is changed to point-to-point. -
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

None

Example

# Set network type of Vlanif10 to NBMA.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 network-type nbma

# Set network type of GE0/0/1 to NBMA.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 network-type nbma

ospfv3 peer router-id

Function

The ospfv3 peer router-id command sets the DR priority and IPv6 addresses for adjacent switches on an NBMA network.

The undo ospfv3 peer router-id command cancels the setting.

By default, IPv6 addresses are not configured for the adjacent switches on an NBMA network.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 peer router-id router-id ipv6-address [ dr-eligible | cost cost | poll interval | instance instance-id ]*

undo ospfv3 peer router-id router-id [ ipv6-address ] [ dr-eligible | cost [ cost ] | poll [ interval ] | instance instance-id ]*

Parameters

Parameter Description Value
router-id Specifies the router ID of the adjacent node. The value is in dotted decimal notation.
ipv6-address Specifies the link-local address of the adjacent node. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
dr-eligible Specifies the neighbor that can take part in the DR election. -
cost cost Specifies the cost of the interface on the neighbor switch of the NBMA network. The value is an integer ranging from 1 to 65535.
poll interval Specifies the interval for sending the polling Hello packet on the neighbor switch of the NBMA network. The value is an integer ranging from 1 to 65535.
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

You can run the ospfv3 peer router-id command to set the DR priority and IPv6 addresses for adjacent switches on an NBMA network.

Example

# On Vlanif10, specify the peer end to take part in DR selection.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 peer router-id 10.1.1.1 FE80::1 dr-eligible

# On GE0/0/1, specify the peer end to take part in DR selection.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 peer router-id 10.1.1.1 FE80::1 dr-eligible
Related Topics

ospfv3 router-id auto-recover disable

Function

Using the ospfv3 router-id auto-recover disable command, you can disable automatic recovery that will take effect after router ID conflict is detected.

Using the undo ospfv3 router-id auto-recover disable command, you can enable automatic recovery that will take effect after router ID conflict is detected.

By default, automatic recovery takes effect after router ID conflict occurs.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 router-id auto-recover disable

undo ospfv3 router-id auto-recover disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If router ID conflict occurs in an OSPFv3 area, the system can define a new router ID, preventing route flapping and reducing route calculation operations. Other protocols will not go Down when the CPU usage is controlled.

NOTE:
  • After the automatic recovery function is restored and router ID conflict occurs in an OSPFv3 area, the switch changes the conflicted router ID to its own IP address. Even the router ID that is manually configured will be changed.

  • After the router ID is changed, the system defines a new router ID for a maximum of three times by default if router ID conflict persists.

Example

# Disable automatic recovery that will take effect after router ID conflict is detected.

<HUAWEI> system-view
[HUAWEI] ospfv3 router-id auto-recover disable
Related Topics

ospfv3 suppress-flapping peer

Function

The ospfv3 suppress-flapping peer command configures detection parameters for OSPFv3 neighbor relationship flapping suppression.

The undo ospfv3 suppress-flapping peer command restores the default detection parameters.

By default, the detection interval of OSPFv3 neighbor relationship flapping suppression is 60s, the suppression threshold is 10, and the interval for exiting from suppression is 120s.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 suppress-flapping peer { detecting-interval detecting-interval | threshold threshold | resume-interval resume-interval } * [ instance instance-id ]

undo ospfv3 suppress-flapping peer { detecting-interval detecting-interval | threshold threshold | resume-interval resume-interval } * [ instance instance-id ]

Parameters

Parameter Description Value
detecting-interval detecting-interval

Specifies the detection interval of OSPFv3 neighbor relationship flapping suppression.

Each OSPFv3 interface on which OSPFv3 neighbor relationship flapping suppression is enabled starts a flapping counter. If the interval between two successive neighbor status changes from Full to a non-Full state is shorter than detecting-interval, a valid flapping_event is recorded, and the flapping_count increases by 1.

The value is an integer ranging from 1 to 300, in seconds. The default value is 60s.
threshold threshold

Specifies the threshold of OSPFv3 neighbor relationship flapping suppression.

When the flapping_count reaches or exceeds threshold, flapping suppression takes effect.

The value is an integer ranging from 1 to 1000. The default value is 10.
resume-interval resume-interval

Specifies the interval for exiting from OSPFv3 neighbor relationship flapping suppression.

If the interval between two successive neighbor status changes from Full to a non-Full state is longer than resume-interval, the flapping_count is reset.

NOTE:
The value of resume-interval must be greater than that of detecting-interval.
The value is an integer ranging from 2 to 1000, in seconds. The default value is 120s
instance instance-id Specifies the ID of the instance to which an interface belongs.

The value is an integer ranging from 0 to 255.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure detection parameters for OSPFv3 neighbor relationship flapping suppression on an interface, run the ospfv3 suppress-flapping peer command. However, keeping the default configurations is recommended.

Prerequisites

OSPFv3 neighbor relationship flapping suppression must have been enabled globally before you configure detection parameters for it. By default, the function is enabled. If it is disabled, run the undo suppress-flapping peer disable command to enable it before you configure the detection parameters.

Example

# Set the detection interval of OSPFv3 neighbor relationship flapping suppression to 5s, the suppression threshold to 40, and the interval for exiting from suppression to 20s on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospfv3 suppress-flapping peer detecting-interval 5 threshold 40 resume-interval 20

ospfv3 suppress-flapping peer disable

Function

The ospfv3 suppress-flapping peer disable command disables OSPFv3 neighbor relationship flapping suppression from an interface.

The undo ospfv3 suppress-flapping peer disable command enables OSPFv3 neighbor relationship flapping suppression on an interface.

By default, OSPFv3 neighbor relationship flapping suppression is enabled on all interfaces.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 suppress-flapping peer disable [ instance instance-id ]

undo ospfv3 suppress-flapping peer disable [ instance instance-id ]

Parameters

Parameter Description Value
instance instance-id Specifies the ID of the instance to which an interface belongs. The value is an integer ranging from 0 to 255.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, OSPFv3 neighbor relationship flapping suppression is enabled on all interfaces in the same OSPFv3 process. To disable the function from one of the interfaces, run the ospfv3 suppress-flapping peer disable command.

NOTE:
When an interface enters the flapping suppression state, all neighbor relationships on the interface enter the state accordingly.

Prerequisites

OSPFv3 neighbor relationship flapping suppression must have been enabled globally before you enable the function on an interface using the undo ospfv3 suppress-flapping peer disable command. By default, the function is enabled globally. If it is disabled, run the undo suppress-flapping peer disable command to enable it first.

Example

# Disable OSPFv3 neighbor relationship flapping suppression from VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospfv3 suppress-flapping peer disable

ospfv3 suppress-flapping peer hold-down

Function

The ospfv3 suppress-flapping peer hold-down command configures the Hold-down mode and sets duration for this mode.

The undo ospfv3 suppress-flapping peer hold-down command cancels the Hold-down mode.

By default, the Hold-down mode is disabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 suppress-flapping peer hold-down interval [ instance instance-id ]

undo ospfv3 suppress-flapping peer hold-down interval [ instance instance-id ]

Parameters

Parameter Description Value
interval Specifies the duration of the Hold-down mode. The value is an integer ranging from 1 to 600, in seconds.
instance instance-id Specifies the ID of the instance to which an interface belongs.

The value is an integer ranging from 0 to 255.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Flapping suppression works in either Hold-down or Hold-max-cost mode.

  • Hold-down mode: In the case of frequent flooding and topology changes during neighbor relationship establishment, interfaces prevent neighbor relationship reestablishment during Hold-down suppression, which minimizes LSDB synchronization attempts and packet exchanges.
  • Hold-max-cost mode: If the traffic forwarding path changes frequently, interfaces use 65535 as the cost of the flapping link during Hold-max-cost suppression, which prevents traffic from passing through the flapping link.

Flapping suppression can also work first in Hold-down mode and then in Hold-max-cost mode.

By default, the Hold-max-cost mode takes effect. To configure the Hold-down mode and set duration for this mode, run the ospfv3 suppress-flapping peer hold-down command.

Prerequisites

OSPFv3 neighbor relationship flapping suppression must have been enabled globally before you configure the Hold-down mode and set duration for this mode. By default, the function is enabled. If it is disabled, run the undo suppress-flapping peer disable command to enable it before you configure the Hold-down mode and set duration for this mode.

Example

# Configure the Hold-down mode and set its duration to 200s on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospfv3 suppress-flapping peer hold-down 200

ospfv3 suppress-flapping peer hold-max-cost disable

Function

The ospfv3 suppress-flapping peer hold-max-cost disable command disables the Hold-max-cost mode.

The undo ospfv3 suppress-flapping peer hold-max-cost disable command enables the Hold-max-cost mode.

By default, the Hold-max-cost mode is enabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 suppress-flapping peer hold-max-cost disable [ instance instance-id ]

undo ospfv3 suppress-flapping peer hold-max-cost disable [ instance instance-id ]

Parameters

Parameter Description Value
instance instance-id Specifies the ID of the instance to which an interface belongs.

The value is an integer ranging from 0 to 255.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Flapping suppression works in either Hold-down or Hold-max-cost mode.

  • Hold-down mode: In the case of frequent flooding and topology changes during neighbor relationship establishment, interfaces prevent neighbor relationship reestablishment during Hold-down suppression, which minimizes LSDB synchronization attempts and packet exchanges.
  • Hold-max-cost mode: If the traffic forwarding path changes frequently, interfaces use 65535 as the cost of the flapping link during Hold-max-cost suppression, which prevents traffic from passing through the flapping link.

Flapping suppression can also work first in Hold-down mode and then in Hold-max-cost mode.

By default, the Hold-max-cost mode takes effect. To configure the Hold-down mode and set duration for this mode, run the ospfv3 suppress-flapping peer hold-down interval command.

NOTE:
The Hold-max-cost mode can prevent a device from being isolated from the network. If a device on a key path is isolated from the network due to OSPFv3 neighbor relationship flapping, the network is separated into two isolated parts. To prevent this problem, use the Hold-max-cost mode on the key path.

Prerequisites

OSPFv3 neighbor relationship flapping suppression must have been enabled globally before you configure duration for the Hold-max-cost mode. By default, the function is enabled. If it is disabled, run the undo suppress-flapping peer disable command to enable it before you configure duration for the Hold-max-cost mode.

Precautions

The Hold-max-cost mode takes effect only unidirectionally. If a remote device does not support OSPFv3 neighbor relationship flapping suppression, bidirectional traffic between the local and remote devices may travel along different paths.

Example

# Disable the Hold-max-cost mode on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospfv3 suppress-flapping peer hold-max-cost disable

ospfv3 timer dead

Function

The ospfv3 timer dead command sets the dead interval of the OSPFv3 neighbor of the instance on the interface.

The undo ospfv3 timer dead command restores the default value.

By default, the dead interval of OSPFv3 neighbor is 40 seconds for the interface of P2P or Broadcast type. The dead interval of OSPFv3 neighbor is 120 seconds for the interface of P2MP or NBMA type.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 timer dead interval [ instance instance-id ]

undo ospfv3 timer dead [ interval ] [ instance instance-id ]

Parameters

Parameter Description Value
interval Indicates the dead interval of OSPFv3. The value is an integer ranging from 1 to 65535, in seconds.
instance instance-id Specifies the interface instance ID. 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

Dead interval of OSPFv3 neighbor refers to that the neighbor is invalid if the neighbor does not receive the Hello packets from its neighbor in the interval. The dead interval of switchs in the same network segment must be consistent.

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

By default, the dead interval of OSPF neighbors is four times the Hello packet interval. After the Hello packet interval is configured in the instance of the interface using the ospfv3 timer hello command, the default dead interval of the OSPFv3 neighbor of the instance on the interface is changed to be four times the Hello packet interval.

Example

# Set the dead interval of the neighbor to 80 seconds for Vlanif10.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 timer dead 80

# Set the dead interval of the neighbor to 80 seconds for GE0/0/1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 timer dead 80
Related Topics

ospfv3 timer hello

Function

The ospfv3 timer hello command specifies the interval for sending Hello packets on the interface instance.

The undo ospfv3 timer hello command restores the default interval.

By default, for the interface of the P2P and broadcast type, the interval for sending Hello packets is 10 seconds. For the interface of the P2MP and NBMA type, the interval for sending Hello packets is 30 seconds.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 timer hello interval [ conservative ] [ instance instance-id ]

undo ospfv3 timer hello [ interval [ conservative ] ] [ instance instance-id ]

Parameters

Parameter Description Value
interval Indicates the interval for an interface to send the Hello packets. The value is an integer ranging from 1 to 65535, in seconds.
conservative Indicates the conservative mode of the dead timer. If the conservative mode is configured, the value configured for the dead timer using the ospfv3 timer dead command takes effect even when the value is less than 10s. -
instance instance-id Specifies the interface instance ID. 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 interval for sending Hello packets on Vlanif10 to 20 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 timer hello 20

# Set the interval for sending Hello packets on GE0/0/1 to 20 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 timer hello 20
Related Topics

ospfv3 timer poll

Function

The ospfv3 timer poll command sets the polling interval for sending Hello packets on NBMA network.

The undo ospfv3 timer poll command restores the default polling interval.

By default, the polling interval for sending Hello packets on NBMA network is 120 seconds.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 timer poll interval [ instance instance-id ]

undo ospfv3 timer poll [ interval ] [ instance instance-id ]

Parameters

Parameter Description Value
interval Specifies the polling interval of Hello packets. The value is an integer ranging from 1 to 65535, in seconds.
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

On the NBMA network, if a neighbor is invalid, you can configure switchs to send Hello packet based on the polling interval that is set by the ospfv3 timer poll command. The polling interval should be at least 4 times that of the Hello interval.

OSPFv3 does not support the configuration on a null interface.

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

Example

# Set the polling interval for sending Hello packets on the Vlanif10 to 130 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 timer poll 130

# Set the polling interval for sending Hello packets on the GE0/0/1 to 130 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 timer poll 130

ospfv3 timer retransmit

Function

The ospfv3 timer retransmit command specifies the interval for retransmitting the LSA on the interface instance.

The undo ospfv3 timer retransmit command restores the default value.

By default, the interval for retransmitting LSAs is 5 seconds.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 timer retransmit interval [ instance instance-id ]

undo ospfv3 timer retransmit [ interval ] [instance instance-id ]

Parameters

Parameter Description Value
interval Indicates the interval for retransmitting LSAs. The value is an integer ranging from 1 to 3600, in seconds.
instance instance-id Specifies the interface instance ID. 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

After sending an LSA to its neighbor, a switch needs to wait for the Ack packet from the neighbor. If the switch does not receive the Ack packet in the retransmission interval, the switch retransmits the LSA.

The interval for retransmitting LSA between the neighboring switches should not be set too short. Otherwise, it leads to unnecessary retransmission.

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

Example

# Set the interval for retransmitting the LSA between VLANIF 10 and its neighboring switch to 12 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 timer retransmit 12

# Set the interval for retransmitting the LSA between GE0/0/1 and its neighboring switch to 12 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 timer retransmit 12

ospfv3 trans-delay

Function

The ospfv3 trans-delay command sets the delay for transmitting LSA on an interface instance.

The undo ospfv3 trans-delay command restores the default value.

By default, the delay for transmitting LSA is 1 second.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 trans-delay interval [ instance instance-id ]

undo ospfv3 trans-delay [ interval ] [ instance instance-id ]

Parameters

Parameter Description Value
interval Indicates the delay for transmitting LSA on an interface. The value is an integer ranging from 1 to 800, in seconds. By default, it is 1 second.
instance instance-id Specifies the interface instance ID. 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

The LSA in the LSDB of the local switch ages with time. The aging of the LSA increases by 1 per second, but the aging of the LSA does not change in the transmission process. Therefore, it is necessary to add the delay to the aging time of the LSA before the LSA is sent.

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

Example

# Set the delay for transmitting LSA on VLANIF 10 to 3 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[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 trans-delay 3

# Set the delay for transmitting LSA on GE0/0/1 to 3 seconds.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ospfv3
[HUAWEI-ospfv3-1] router-id 10.1.1.1
[HUAWEI-ospfv3-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ospfv3 1 area 1
[HUAWEI-GigabitEthernet0/0/1] ospfv3 trans-delay 3

ospfv3 valid-ttl-hops

Function

The ospfv3 valid-ttl-hops command enables OSPFv3 GTSM and sets a TTL value.

The undo ospfv3 valid-ttl-hops command disables OSPFv3 GTSM.

By default, OSPFv3 GTSM is disabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

ospfv3 valid-ttl-hops valid-ttl-hops-value [ vpn-instance vpn-instance-name ]

undo ospfv3 valid-ttl-hops [ valid-ttl-hops-value ] [ vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
valid-ttl-hops-value Specifies a TTL. The value is an integer ranging from 1 to 255.
vpn-instance vpn-instance-name Indicates the name of a VPN instance. If this parameter is specified, only the TTL values of the packets in the specified VPN instance are checked. The value must be an existing VPN instance name.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If an OSPFv3 network requires high security, you can configure OSPFv3 GTSM and an authentication mode to improve network security. During network attacks, attackers may simulate OSPFv3 packets and continuously send them to a device. If the packets are destined for the device, it directly sends them to the control plane for processing without validating them. As a result, the increased processing workload on the control plane results in high CPU usage. GTSM protects devices against potential attacks and improves system security by checking whether the TTL value in each IP packet header is within a pre-defined range.

To enable OSPFv3 GTSM, run the ospfv3 valid-ttl-hops. To check the TTL values of packets that match a GTSM policy in a specified VPN instance, specify vpn-instance in the command.

The ospfv3 valid-ttl-hops command enables OSPFv3 GTSM on both the public network and VPNs. For example, if you run the ospfv3 valid-ttl-hops 5 vpn-instance vpn1 command, OSPFv3 GTSM takes effect on both the public network and VPN 1, the TTL values of the OSPFv3 packets in the VPN 1 are checked, and the default action is performed on the packets that fail to match the GTSM policy.

Follow-up Procedure

GTSM checks the TTL values of only the packets that match a GTSM policy. For packets that do not match the GTSM policy, you can specify pass in the gtsm default-action command to allow these packets to pass the filtering or specify drop in the command to discard them.

Precautions

  • If a VPN instance is specified in the ospfv3 valid-ttl-hops command and an interface is bound to the VPN instance, the interface discards all received unicast packets if the set TTL value is less than the actual hop count on the network.
  • If a virtual link or sham link is deployed, configure a TTL value based on the actual hop count on the network (the number of routers through which the virtual link or sham link passes) to prevent the local switch from discarding packets from neighbors over the virtual link or sham link.
  • Therefore, if you want to apply the configured TTL value to packets only in a VPN or the public network, specify pass in the gtsm default-action command to prevent the OSPFv3 packets in other instances from being discarded incorrectly.

Example

# Enable OSPFv3 GTSM and set the maximum number of TTL hops to 5 for the packets that can be received from the public network.

<HUAWEI> system-view
[HUAWEI] ospfv3 valid-ttl-hops 5

preference (OSPFv3)

Function

The preference command sets the preference for an OSPFv3 route.

The undo preference command restores the default setting.

By default, the preference of the OSPFv3 route is 10. When ASE is specified, the default value is 150.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

preference [ ase ] { preference | route-policy route-policy-name }*

undo preference [ ase ]

Parameters

Parameter Description Value
ase Sets the preference for an AS external route or an NSSA route. -
preference Specifies the preference for OSPFv3 routes. It is an integer ranging from 1 to 255.
route-policy route-policy-name Specifies the name of a routing policy and sets the preference for specified routes. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The smaller the preference value, the higher the preference.

Multiple dynamic routing protocols may be run on a switch at the same time. Consequently, there is a problem of sharing and selecting routing information among routing protocols. Therefore, the system sets a default reference for each routing protocol. If different routing protocols find multiple routes to the same destination, the route discovered by the routing protocol with a higher preference is selected to forward IP packets.

Precautions

Creating a route-policy before it is referenced is recommended. If a nonexistent route-policy is referenced using the command, the configured priority applies to all OSPFv3 routes.

Example

# Set the preference for OSPFv3 routes.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] preference 5

reset ospfv3

Function

The reset ospfv3 command restarts the OSPFv3 process.

The reset ospfv3 counters command resets OSPFv3 statistics.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

reset ospfv3 { process-id | all } [ graceful-restart [ extend-period period ] ]

reset ospfv3 { process-id | all } counters [ neighbor [ interface-type interface-number ] [ router-id ] ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process number. The value is an integer that ranges from 1 to 65535.
all Restarts all OSPFv3 processes. -
graceful-restart Restarts the OSPFv3 process in GR mode. -
extend-period period Prolongs the current GR period. The value is an integer that ranges from 1 to 1800, expressed in seconds.
neighbor Resets neighbor statistics. -
interface-type interface-number Specifies the type and number of the interface. -
router-id Specifies the router ID of a neighbor. It is in dotted decimal notation.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

You can choose general restart or graceful restart through the parameters.

By setting extend-period, you can prolong the current GR period. The prolonged GR period becomes invalid after the process restarts. This parameter takes effect for one time. That is, after the switch performs GR next time, the value of the period returns to the one set by using graceful-restart [ extend-period period ].

If OSPFv3 connections are reset, OSPFv3 neighbor relationships will be interrupted and the original information cannot be restored. Exercise caution before running the reset ospfv3 command.

Example

# Reset OSPFv3 statistics.

<HUAWEI> reset ospfv3 1 counters

reset ospfv3 suppress-flapping peer

Function

The reset ospfv3 suppress-flapping peer command forces an interface to exit from OSPFv3 neighbor relationship flapping suppression.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

reset ospfv3 process-id suppress-flapping peer [ interface-type interface-number ] [ notify-peer ]

Parameters

Parameter Description Value
process-id Specifies the ID of an OSPFv3 process. The value is an integer ranging from 1 to 65535.
interface-type interface-number Specifies an interface type and number. -
notify-peer Instructs neighbors to exit from OSPFv3 neighbor relationship flapping suppression. -

Views

User view

Default Level

3: Management level

Usage Guidelines

Interfaces exit from flapping suppression in the following scenarios:

  • The suppression timer expires.
  • The corresponding OSPFv3 process is reset.
  • An OSPFv3 neighbor is reset using the reset ospfv3 command.
  • The reset ospfv3 suppress-flapping peer command is run.
  • OSPFv3 neighbor relationship flapping suppression is disabled globally using the suppress-flapping peer disable (OSPFv3) command in the OSPFv3 view.

If notify-peer is specified when the reset ospfv3 suppress-flapping peer command is run on a device, the device sends Hello packets in which HelloInterval and RouterDeadInterval are 0s to its neighbors to instruct the neighbors to exit from OSPFv3 neighbor relationship flapping suppression too. If the neighbors fail to receive such Hello packets, the function of notify-peer does not take effect. To force the neighbors to exit from OSPFv3 neighbor relationship flapping suppression, run the reset ospfv3 suppress-flapping peer command on them.

Example

# Force interfaces to exit from OSPFv3 neighbor relationship flapping suppression.

<HUAWEI> reset ospfv3 1 suppress-flapping peer

route-tag (OSPFv3)

Function

The route-tag command sets the tag value for imported VPN routes.

The undo route-tag command restores the default setting.

By default, the first two bytes of the tag value are fixed as 0xD000, and the last two bytes are the local BGP AS number. For example, if the local BGP AS number is 100, the default tag value in decimal notation is 3489661028.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

route-tag tag-value

undo route-tag

Parameters

Parameter Description Value
tag-value Specifies the tag value for the imported VPN route. It is an integer ranging from 0 to 4294967295.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

On a PE, the VPN instance associated with an OSPFv3 instance is configured with a VPN route tag. This route tag must be carried in Type 5 or Type 7 LSAs. It is recommended to configure the same route tag for PEs in the same area. Not transmitted in BGP extended community attributes, the VPN route tag is configured and takes effect only on the PEs that receive BGP routes and generate OSPFv3 LSAs. Different OSPFv3 processes can be configured with the same route tag.

If a BGP AS number is greater than 65535, the default tag 0 is used. You can use the command to change the tag in this case.

The only difference between the tag value set through the route-tag command and the tag value set through other commands is the preference:

  • The preference of the tag value set through the import-route command is the highest.

  • The preference of the tag value set through the route-tag command is medium.

  • The preference of the tag value set through the default tag tag command is the lowest.

If an Type 5 or Type 7 LSA whose tag is the same as the local tag is received, this LSA is ignored during route calculation.

Example

# Set the tag value of the imported VPN routes in OSPFv3 process 100 to 100.

<HUAWEI> system-view
[HUAWEI] ip vpn-instance huawei
[HUAWEI-vpn-instance-huawei] ipv6-family
[HUAWEI-vpn-instance-huawei-af-ipv6] route-distinguisher 100:1
[HUAWEI-vpn-instance-huawei-af-ipv6] quit
[HUAWEI-vpn-instance-huawei] quit
[HUAWEI] ospfv3 100 vpn-instance huawei
[HUAWEI-ospfv3-100] route-tag 100

router-id (OSPFv3)

Function

The router-id command sets the Router ID for the switch that runs OSPFv3.

The undo router-id command deletes the Router ID that is set for OSPFv3 switch.

By default, there is no Router ID for the switch that runs OSPFv3.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

router-id router-id

undo router-id

Parameters

Parameter Description Value
router-id Indicates the Router ID. It is in dotted decimal notation.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

The Router ID of an OSPFv3 process is unique in an AS. If no Router ID is set, the OSPFv3 process does not run.

When you set a Router ID, ensure that the Router IDs of any two processes are different in an AS.

NOTE:

Multiple OSPFv3 processes can run on a switch by setting the different process ID. In this case, you need to specify different Router IDs for different processes.

Example

# Set the Router ID of the OSPFv3 process 1 to 10.1.1.3.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] router-id 10.1.1.3
Related Topics

sham-hello enable (OSPFv3)

Function

The sham-hello enable command enables OSPFv3 to regard the LSU packets and the LSAck packets the same as the Hello packets.

The undo sham-hello command disables the operation.

By default, the sham-hello feature is disabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

sham-hello enable

undo sham-hello

Parameters

none

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

The sham-hello enable command, OSPFv3 can regard the LSU packets and the LSAck packets the same as the Hello packets. After receiving this kind of packets, OSPFv3 refreshes the timeout timer of the neighbors to maintain the integrity of their relationship.

Example

# Enable sham-hello.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] sham-hello enable

silent-interface (OSPFv3)

Function

The silent-interface command suppresses the specified interface from sending and receiving OSPFv3 packets.

The undo silent-interface command restores the default setting.

By default, the interface is permitted to send or receive OSPFv3 packets.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

silent-interface { all | interface-type interface-number }

undo silent-interface { all | interface-type interface-number }

Parameters

Parameter Description Value
all Indicates all interfaces in a process. -
interface-type interface-number Indicates the interface type and interface number. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Different processes can suppress the same interface from sending and receiving OSPFv3 packets. But the silent-interface command takes effect only on the OSPFv3 interface of the process.

Example

# Suppress Vlanif10 from sending and receiving OSPFv3 packets.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] silent-interface vlanif 10

snmp-agent trap enable feature-name ospfv3

Function

The snmp-agent trap enable feature-name ospfv3 command enables the trap function for the OSPFv3 module.

The undo snmp-agent trap enable feature-name ospfv3 command disables the trap function for the OSPFv3 module.

By default, all traps function of the OSPFv3 module are disabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

snmp-agent trap enable feature-name ospfv3 [ trap-name { ifconfigerror | ifrxbadpacket | ifstatechange | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange | authenticationsequencenumberwrap | lastauthenticationkeyexpiry } ]

undo snmp-agent trap enable feature-name ospfv3 [ trap-name { ifconfigerror | ifrxbadpacket | ifstatechange | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange | authenticationsequencenumberwrap | lastauthenticationkeyexpiry } ]

NOTE:

Only the S5720EI, S5720HI, S6720S-EI and S6720EI support lastauthenticationkeyexpiry.

Parameters

Parameter Description Value
trap-name Enables the traps of OSPFv3 events of specified types. -
ifconfigerror Enables the traps of errors of the interface configuration. -
ifrxbadpacket Enables the traps of received bad packets. -
ifstatechange Enables the traps of changes of the interface state. -
nbrrestarthelperstatuschange Enables the traps of changes of the state of the helper during GR. -
nbrstatechange Enables the traps of changes of the neighbor state. -
nssatranslatorstatuschange Enables the traps of changes of the NSSA translator state. -
restartstatuschange Enables the traps of changes of the state of the restarter during GR. -
virtifconfigerror Enables the traps of error of the virtual interface configuration. -
virtifrxbadpacket Enables the traps of the bad packet that is received on the virtual interface. -
virtifstatechange Enables the traps of changes of the virtual interface state. -
virtnbrrestarthelperstatuschange Enables the traps of changes of the GR helper state of neighboring nodes on the virtual link. -
virtnbrstatechange Enables the traps of changes of the state for the neighbor of the virtual-link. -
authenticationsequencenumberwrap Enables the trap for cryptographic sequence number wrapping. -
lastauthenticationkeyexpiry Enables the trap for last authentication key in keychain expiry. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To enable the traps of one or more events, you can specify trap-name.

Example

# Enable the switch to send the trap of errors of the OSPFv3 interface configuration.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name ospfv3 trap-name ifconfigerror

spf timers

Function

The spf timers command sets the interval for calculating OSPFv3 routes by a common SPF timer.

The undo spf timers command restores the default setting.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

spf timers delay-interval hold-interval

undo spf timers

Parameters

Parameter Description Value
delay-interval Specifies the delay for OSPFv3 from receiving network changes to performing SPF calculation. The value is an integer ranging from 0 to 65535 seconds. By default, it is 5 seconds.
hold-interval Specifies the holding interval between two consecutive SPF calculations. The value is an integer ranging from 0 to 65535 seconds. By default, it is 10 seconds.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

According to the local LSDB, the switch that runs OSPFv3 can calculate a SPT with itself as the root and determines the next hop to the destination network according to the SPT. Adjusting SPF calculation interval can avoid the exhaustion of bandwidth and switch sources caused by frequent change of the network.

Precautions

The spf timers delay-interval hold-interval and spf-schedule-interval delay-interval hold-interval commands have the same functions.

Example

# Set both the OSPFv3 route calculation interval and the hold interval to 6 seconds.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] spf timers 6 6

spf-schedule-interval (OSPFv3)

Function

The spf-schedule-interval command sets the interval for OSPFv3 to calculate routes.

The undo spf-schedule-interval command restores the default setting.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

spf-schedule-interval delay-interval hold-interval

undo spf-schedule-interval

Parameters

Parameter Description Value
delay-interval Specifies the delay from the time when OSPFv3 receives a route change to the time when the SPF calculation is performed. The value is an integer ranging from 0 to 65535, in seconds. The default value is 5.
hold-interval Specifies the hold interval between two consecutive SPF calculations. The value is an integer ranging from 0 to 65535, in seconds. The default value is 10.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Based on the local LSDB, a device that runs OSPFv3 uses the SPF algorithm to calculate the shortest path tree with itself as the root, and determines the next hop to the destination network based on the shortest path tree. Adjusting the interval at which the SPF calculation is performed can prevent too many bandwidth resources and device resources from being consumed due to frequent network changes.

Precautions

The spf timers delay-interval hold-interval and spf-schedule-interval delay-interval hold-interval commands have the same functions.

Example

# Set the interval at which OSPFv3 route calculation is performed to 5s and the hold interval at which OSPFv3 route calculation is performed to 6s.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] spf-schedule-interval 5 6

stub (OSPFv3 Area)

Function

The stub command sets an OSPFv3 area to the stub area.

The undo stub command cancels the settings.

By default, no area is set to the stub area.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

stub [ no-summary ]

undo stub

Parameters

Parameter Description Value
no-summary Indicates that the parameter is used only for the ABR of the stub area. After the parameter is configured, ABR advertises only one summary-LSA of the default route, and does not generate any other summary-LSA. This area is also called a totally stub area. -

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

If an area is configured to the stub area, all switchs of the area must be configured with the stub attribute.

The backbone area cannot be configured as a stub area.

Example

# Set the OSPFv3 area 1 to the stub area.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] area 1
[HUAWEI-ospfv3-1-area-0.0.0.1] stub

stub-router (OSPFv3)

Function

The stub-router command configures a device as stub router.

The undo stub-router command restores the default configuration.

By default, no stub router exists.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

stub-router [ on-startup [ interval ] ]

undo stub-router

Parameters

Parameter Description Value
on-startup [ interval ] Specifies the interval during which a device acts as a stub router when the device is restarted or faulty.
  • If on-startup is not specified, the device is always a stub router, even if the cost of all routes advertised by the device is 65535.
  • If on-startup is specified, the device works as a stub router only when it restarts or is faulty. The hold time of the stub router state is determined by interval parameter. If the interval parameter is not configured, the default interval (500 seconds) is used.
The value is an integer ranging from 5 to 65535, in seconds. By default, it is 500 seconds.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

After the stub-router command is configured on a switch, the stub router informs other OSPFv3 devices not to use this stub router for data forwarding by increasing the metrics of the links in the Router-LSA generated by the switch. Since the metric is not infinite, the devices to this stub router still exist. The metrics of all links in the device Router-LSAs generated by the stub router are set to 65535.

Example

# Configure the device as a stub router.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] stub-router

suppress-flapping peer disable (OSPFv3)

Function

The suppress-flapping peer disable command disables OSPFv3 neighbor relationship flapping suppression globally.

The undo suppress-flapping peer disable command enables OSPFv3 neighbor relationship flapping suppression globally.

By default, OSPFv3 neighbor relationship flapping suppression is enabled globally.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

suppress-flapping peer disable

undo suppress-flapping peer disable

Parameters

None

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

If an interface carrying OSPFv3 services alternates between Up and Down, OSPFv3 neighbor relationship flapping occurs on the interface. During the flapping, OSPFv3 frequently sends Hello packets to reestablish the neighbor relationship, synchronizes LSDBs, and recalculates routes. In this process, a large number of packets are exchanged, adversely affecting neighbor relationship stability, OSPFv3 services, and other OSPFv3-dependent services, such as LDP and BGP. OSPFv3 neighbor relationship flapping suppression can address this problem by delaying OSPFv3 neighbor relationship reestablishment or preventing service traffic from passing through flapping links.

By default, OSPFv3 neighbor relationship flapping suppression is enabled globally. To disable this function globally, run the suppress-flapping peer disable command.

Example

# Disable neighbor relationship flapping suppression globally.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] suppress-flapping peer disable

vpn-instance-capability simple (OSPFv3)

Function

The vpn-instance-capability simple command disables loop detection and calculates routes directly.

The undo vpn-instance-capability command enables the DN-bit check to prevent routing loops.

By default, loop detection is enabled.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported

S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S1720GFR

Not supported

Format

vpn-instance-capability simple

undo vpn-instance-capability

Parameters

None

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

If a Multi-VPN-Instance CE (MCE) needs to support the VPN multi-instance, loop detection needs to be disabled. The vpn-instance-capability simple command takes effect only in the OSPFv3 VPN instance.

Example

# Disable loop detection.

<HUAWEI> system-view
[HUAWEI] ip vpn-instance vpn1
[HUAWEI-vpn1] ipv6-family
[HUAWEI-vpn1-af-ipv6] route-distinguisher 100:1
[HUAWEI-vpn1-af-ipv6] quit
[HUAWEI] ospfv3 100 vpn-instance vpn1
[HUAWEI-ospfv3-100] vpn-instance-capability simple
Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000178165

Views: 41718

Downloads: 1101

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