05-Layer 3—IP Routing Command Reference

HomeSupportResource CenterSwitchesH3C S6300 Switch SeriesH3C S6300 Switch SeriesTechnical DocumentsCommandCommand ReferencesH3C S6300 Switch Series Command References-Release 243x-6W10005-Layer 3—IP Routing Command Reference
09-OSPFv3 commands
Title Size Download
09-OSPFv3 commands 304.66 KB

Contents

OSPFv3 commands· 1

abr-summary (OSPFv3 area view) 1

area· 1

asbr-summary (OSPFv3 view) 2

bandwidth-reference· 3

default tag· 4

default-cost (OSPFv3 area view) 4

default-route-advertise (OSPFv3 view) 5

display ospfv3· 6

display ospfv3 abr-asbr 12

display ospfv3 abr-summary· 13

display ospfv3 asbr-summary· 15

display ospfv3 graceful-restart 17

display ospfv3 interface· 21

display ospfv3 lsdb· 23

display ospfv3 nexthop· 28

display ospfv3 non-stop-routing· 28

display ospfv3 peer 29

display ospfv3 request-queue· 32

display ospfv3 retrans-queue· 33

display ospfv3 routing· 35

display ospfv3 spf-tree· 36

display ospfv3 statistics· 39

display ospfv3 vlink· 42

enable ipsec-profile· 43

filter (OSPFv3 area view) 44

filter-policy export (OSPFv3 view) 45

filter-policy import (OSPFv3 view) 46

graceful-restart enable· 46

graceful-restart helper enable· 47

graceful-restart helper strict-lsa-checking· 48

graceful-restart interval 49

import-route (OSPFv3 view) 49

log-peer-change· 51

lsa-generation-interval 51

maximum load-balancing (OSPFv3 view) 52

non-stop-routing· 53

nssa· 53

ospfv3· 54

ospfv3 area· 55

ospfv3 authentication-mode· 56

ospfv3 bfd enable· 56

ospfv3 cost 57

ospfv3 dr-priority· 58

ospfv3 ipsec-profile· 58

ospfv3 mib-binding· 59

ospfv3 mtu-ignore· 59

ospfv3 network-type· 60

ospfv3 peer 61

ospfv3 prefix-suppression· 62

ospfv3 timer dead· 62

ospfv3 timer hello· 63

ospfv3 timer poll 64

ospfv3 timer retransmit 64

ospfv3 trans-delay· 65

preference· 66

prefix-suppression· 66

reset ospfv3 process· 67

reset ospfv3 redistribution· 68

reset ospfv3 statistics· 68

router-id· 68

snmp-agent trap enable ospfv3· 69

snmp context-name· 70

snmp trap rate-limit 71

silent-interface(OSPFv3 view) 71

spf-schedule-interval 72

stub (OSPFv3 area view) 73

stub-router 74

transmit-pacing· 75

vlink-peer (OSPFv3 area view) 75

 


OSPFv3 commands

abr-summary (OSPFv3 area view)

Use abr-summary to configure route summarization on an area border router (ABR).

Use undo abr-summary to remove the configuration.

Syntax

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

undo abr-summary ipv6-address prefix-length

Default

No route summarization is configured on an ABR.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

ipv6-address: Specifies the destination IPv6 address of the summary route.

prefix-length: Specifies the prefix length of the destination IPv6 address, in the range of 0 to 128. This argument specifies the number of consecutive 1s of the prefix, which defines the network ID.

not-advertise: Specifies not to advertise the summary IPv6 route. If you do not specify this argument, the command advertises the IPv6 summary route.

cost value: Specifies the cost of the summary route, in the range of 1 to 16777215. The default cost is the largest cost value among routes that are summarized.

Usage guidelines

This command is available only on an ABR to summarize multiple contiguous networks into one network.

To enable ABR to advertise specific routes, use the undo abr-summary command.

Examples

# Summarize networks 2000:1:1:1::/64 and 2000:1:1:2::/64 in Area 1 into 2000:1:1::/48.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 1

[Sysname-ospfv3-1-area-0.0.0.1] abr-summary 2000:1:1:: 48

area

Use area to create an OSPFv3 area and enter OSPFv3 area view.

Use undo area to remove an OSPFv3 area.

Syntax

area area-id

undo area area-id

Default

No OSPFv3 area is created.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is changed to an IPv4 address by the system.

Examples

# Create OSPFv3 area 0 and enter its view.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 0

[Sysname-ospfv3-1-area-0.0.0.0]

asbr-summary (OSPFv3 view)

Use asbr-summary to configure route summarization on an ASBR.

Use undo asbr-summary to remove the configuration.

Syntax

asbr-summary ipv6-address prefix-length [ cost cost | not-advertise | nssa-only | tag tag ] *

undo asbr-summary ipv6-address prefix-length

Default

Route summarization is not configured on an ASBR.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

ipv6-address: Specifies the destination IPv6 address of the summary route.

prefix-length: Specifies the prefix length in the range of 0 to 128.

cost cost: Specifies the cost of the summary route, in the range of 1 to 16777214. If you do not specify this option, the summary route uses the largest cost among the summarized routes. If the summarized routes are Type-2 external routes described in Type-5 LSAs translated from Type-7 LSAs, the summary route uses the largest cost among the summarized routes plus 1.

not-advertise: Disables advertising the summary route. If you do not specify this keyword, the command advertises the route.

nssa-only: Limits the route advertisement to the NSSA area by setting the P-bit of Type-7 LSAs to 0. By default, the P-bit of Type-7 LSAs is set to 1. If the ASBR is also an ABR and FULL state neighbors exist in the backbone area, the P-bit of Type-7 LSAs originated by the ASBR is set to 0. This keyword applies to the NSSA ASBR.

tag tag: Specifies a tag for the summary route, in the range of 0 to 4294967295.

Usage guidelines

An ASBR can summarize routes in the following LSAs:

·     Type-5 LSAs.

·     Type-7 LSAs in an NSSA area.

·     Type-5 LSAs translated by the ASBR (also an ABR) from Type-7 LSAs in an NSSA area.

If the ASBR (ABR) is not a translator, it cannot summarize routes in Type-5 LSAs translated from Type-7 LSAs.

To enable ASBR to advertise specific routes that have been summarized, use the undo asbr-summary command.

Examples

# Configure a summary route 2000::/16, and specify a cost of 100 and a tag value of 2 for the summary route.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] asbr-summary 2000:: 16 cost 100 tag 2

bandwidth-reference

Use bandwidth-reference to specify a reference bandwidth value for link cost calculation.

Use undo bandwidth-reference to restore the default.

Syntax

bandwidth-reference value

undo bandwidth-reference

Default

The default value is 100 Mbps.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

value: Specifies the bandwidth reference value for link cost calculation, in the range of 1 to 4294967 Mbps.

Usage guidelines

You can configure an OSPFv3 cost for an interface with one of the following methods:

·     Configure the cost value in interface view.

·     Configure a bandwidth reference value. OSPFv3 computes the cost automatically based on the bandwidth reference value by using the following formula: Interface OSPFv3 cost = Bandwidth reference value / Interface bandwidth.

¡     If the calculated cost is greater than 65535, the value of 65535 is used.

¡     If the calculated cost is smaller than 1, the value of 1 is used.

If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically.

Examples

# Specify the reference bandwidth value as 1000 Mbps.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] bandwidth-reference 1000

default tag

Use default tag to configure a tag for redistributed routes.

Use undo default tag to restore the default.

Syntax

default tag tag

undo default tag

Default

The tag of redistributed routes is 1.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

tag: Specifies a tag for redistributed routes, in the range of 0 to 4294967295.

Usage guidelines

If you do not specify a tag for redistributed routes by using the default-route-advertise, import-route, or route-tag command, the tag specified by the default tag command applies.

Examples

# Configure the tag for redistributed routes as 2.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] default tag 2

Related commands

·     default-route-advertise (OSPFv3 view)

·     import-route

default-cost (OSPFv3 area view)

Use default-cost to configure a cost for the default route advertised to the stub area or NSSA area.

Use undo default-cost to restore the default.

Syntax

default-cost cost

undo default-cost

Default

The cost is 1.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

cost: Specifies a cost for the default route advertised to the stub area or NSSA area, in the range of 0 to 16777214.

Usage guidelines

This command takes effect only on the ABR of a stub area or the ABR/ASBR of an NSSA area.

Examples

# Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area as 60.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 1

[Sysname-ospfv3-1-area-0.0.0.1] stub

[Sysname-ospfv3-1-area-0.0.0.1] default-cost 60

Related commands

·     nssa (OSPFv3 area view)

·     stub (OSPFv3 area view)

default-route-advertise (OSPFv3 view)

Use default-route-advertise to redistribute a default route into the OSPFv3 routing domain.

Use undo default-route-advertise to restore the default.

Syntax

default-route-advertise [ [ always | permit-calculate-other ] | cost cost | tag tag | type type ] *

undo default-route-advertise

Default

No default route is redistributed into the OSPFv3 routing domain.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

always: Generates a default route in an AS-external-LSA into the OSPFv3 routing domain regardless of whether a default route exists in the routing table. If you do not specify this keyword, the router generates a default route in an AS-external-LSA into the OSPFv3 routing domain only when the default route exists in the IP routing table.

permit-calculate-other: Enables OSPFv3 to calculate default routes received from other routers. If you do not specify this keyword, OSPFv3 does not calculate default routes from other routers. If the router does not generate any default route in an AS-external-LSA into the OSPFv3 routing domain, the router calculates default routes from other routers. It calculates these routes regardless of whether this keyword is specified.

cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. The default is 1.

tag tag: Specifies a tag for the default route, in the range of 0 to 4294967295. If you do not specify this option, the tag specified by the default tag command applies.

type type: Specifies a type for the AS-external-LSA, 1 or 2. The default is 2.

Usage guidelines

This command redistributes a default route in an AS-external-LSA, which cannot be redistributed with the import-route command. If the local routing table has no default route, you must provide the always keyword for the command.

Examples

# Generate a default route into the OSPFv3 routing domain. (The default route does not exist in the local router.)

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] default-route-advertise always

Related commands

import-route (OSPFv3 view)

display ospfv3

Use display ospfv3 to display OSPFv3 process information.

Syntax

display ospfv3 [ process-id ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPFv3 processes.

verbose: Displays detailed OSPFv3 process information. If you do not specify this keyword, the command displays brief OSPFv3 process information.

Examples

# Display detailed information about all OSPFv3 processes.

<Sysname> display ospfv3 verbose

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 RouterID: 1.1.1.1          Router type:  ABR  ASBR  NSSA

 Route tag: 0

 Route tag check: Disabled

 Multi-VPN-Instance: Disabled

 Type value of extended community attributes:

    Domain ID : 0x0005

    Route type: 0x0306

    Router ID : 0x0107

 Domain-id: 0.0.0.0

 DN-bit check: Enabled

 DN-bit set: Enabled

 Originating router-LSAs with maximum metric

    Condition: On startup while BGP is converging for 600 seconds, State: Inactive

    Advertise summary-LSAs with metric 16711680

    Advertise external-LSAs with metric 16711680

    Advertise intra-area-prefix-LSAs with maximum metric

 SPF-schedule-interval: 5 50 200

 LSA generation interval: 5

 LSA arrival interval: 1000

 Transmit pacing: Interval: 20 Count: 3

 Default ASE parameters: Tag: 1

 Route preference: 10

 ASE route preference: 150

 SPF calculation count: 0

 External LSA count: 0

 LSA originated count: 0

 LSA received count: 0

 Area count: 2  Stub area Count: 0  NSSA area Count: 1

 ExChange/Loading neighbors: 0

 Max equal cost paths: 32

 Up interfaces: 1

 Full neighbors: 1

 Normal areas with up interfaces: 1

 Calculation trigger type: Full

 Current calculation type: SPF calculation

 Current calculation phase: Calculation area topology

 Redistribute timer: Off

 Redistribute schedule type: RIB

 Redistribute route count: 0

 Process reset state: N/A

 Current reset type: N/A

 Next reset type: N/A

 Reset prepare message replied: -/-/-/-

 Reset process message replied: -/-/-/-

 Reset phase of module:

   M-N/A, P-N/A, S-N/A, C-N/A, R-N/A

 

 Area: 0.0.0.0

 Area flag: Normal

 SPF scheduled count: 0

 ExChange/Loading neighbors: 0

 LSA count: 0

 IPsec profile name: Profile000

 Up interfaces: 0

 MTU: 1440

 Default cost: 1

 Created by Vlink

 Process reset state: N/A

 Current reset type: N/A

 Reset prepare message replied: -/-/-/-

 Reset process message replied: -/-/-/-

 Reset phase of module:

   M-N/A, P-N/A, S-N/A, C-N/A, R-N/A

 

 Area: 0.0.0.2

 Area flag: Normal

 SPF scheduled count: 0

 ExChange/Loading neighbors: 0

 LSA count: 0

 Up interfaces: 1

 MTU: 1500

 Default cost: 1

 Process reset state: N/A

 Current reset type: N/A

 Reset prepare message replied: -/-/-/-

 Reset process message replied: -/-/-/-

 Reset phase of module:

   M-N/A, P-N/A, S-N/A, C-N/A, R-N/A

 

 Area: 0.0.0.3

 Area flag: NSSA

 7/5 translator state: Disabled

 7/5 translate stability timer interval: 0

 SPF Scheduled Count: 0

 ExChange/Loading neighbors: 0

 LSA Count: 0

 Up interfaces: 0

 MTU: 1440

 Default cost: 1

 Process reset flag: N/A

 Current reset type: N/A

 Reset prepare message replied: -/-/-/-

 Reset process message replied: -/-/-/-

 Reset phase of module:

   M-N/A, P-N/A, S-N/A, C-N/A, R-N/A

Table 1 Command output

Field

Description

OSPFv3 Process 1 with Router ID 1.1.1.1

OSPFv3 process is 1, and router ID is 1.1.1.1.

Router type

Router type:

·     ABR.

·     ASBR.

·     NSSA.

·     Null.

Route tag

Tag of the routes redistributed into the OSPFv3 process.

Route tag check

Indicates whether the check is enabled for the route tag in OSPFv3 LSAs of the OSPFv3 process.

Multi-VPN-Instance

Indicates whether the OSPFv3 process supports PE or multiple VPN instances:

·     Multi-VPN-Instance: Disabled—The process does not support multiple VPN instances.

·     Multi-VPN-Instance: Enabled—The process supports multiple VPN instances.

·     PE Router, Multi-VPN-Instance: Enabled—The local device is a PE.

DN-bit check

Indicates whether the check is enabled for the DN bit in OSPFv3 LSAs of the OSPFv3 process.

DN-bit set

Indicates whether the DN bit is set for OSPFv3 LSAs in the OSPFv3 process.

Condition

Time when the router acts as a stub router:

·     Always.

·     On startup while BGP is converging for xxx seconds, where xxx is specified by the user.

·     On startup for xxx seconds, where xxx is specified by the user.

State

State of the stub router:

·     Active.

·     Inactive.

SPF-schedule-interval

Interval for SPF calculations.

Transmit pacing

LSU advertisement rate:

·     Interval—Specifies the interval for sending LSUs.

·     Count—Specifies the maximum number of LSUs sent at each interval.

Default ASE parameters

Default parameters of redistributed routes. Tag represents the route tag of the redistributed routes.

Route preference

Internal route preference.

ASE route preference

AS-external route preference.

LSA originated count

Number of originated LSAs.

LSA received count

Number of received LSAs.

Area count

Total number of areas.

Stub area Count

Number of stub areas.

NSSA area Count

Number of NSSA areas.

ExChange/Loading neighbors

Neighbors in ExChange/Loading state.

Calculation trigger type

Route calculation trigger type:

·     FullCalculation of all routes is triggered.

·     Area topology changeTopology change in an area.

·     Intra router changeIncremental intra-area route change.

·     ASBR changeIncremental ASBR route change.

·     Full IP prefixCalculation of all IP prefixes is triggered.

·     Full intra ASCalculation of all intra-AS prefixes is triggered.

·     Inc intra ASCalculation of incremental intra-AS prefixes is triggered.

·     Full inter ASCalculation of all AS-external prefixes is triggered.

·     Inc inter ASCalculation of incremental AS-external prefixes is triggered.

·     Nexthop calculationCalculation of next hops is triggered.

·     N/ARoute calculation is not triggered.

Current calculation type

Current route calculation type:

·     SPF calculation.

·     Intra router calculationIntra-area route calculation.

·     ASBR calculationInter-area ASBR route calculation.

·     Inc intra routerIncremental intra-area route calculation.

·     Inc ASBR calculationIncremental inter-area ASBR route calculation.

·     Full intra ASCalculation of all intra-AS prefixes.

·     Inc intra ASCalculation of incremental intra-AS prefixes.

·     Full inter ASCalculation of all AS-external prefixes.

·     Inc inter ASCalculation of incremental AS-external prefixes.

·     N/ARoute calculation is not triggered.

Current calculation phase

Current route calculation phase:

·     Calculation area topologyCalculating area topology.

·     Calculation routerCalculating routes on routers.

·     Calculation intra ASCalculating intra-AS routes.

·     Calculation ASBRCalculating routes on ASBRs.

·     Calculation inter ASCalculating AS-external routes.

·     Calculation endEnding phase of calculation.

·     N/ARoute calculation is not triggered.

Redistribute timer

Route redistribution timer status: on or off.

Redistribute schedule type

Route redistribution scheduling type:

·     RIBRedistribute routes through the RIB table.

·     SelfRedistribute routes through the routing table.

·     N/ARoute redistribution is not triggered.

Redistribute route count

Number of redistributed routes.

Process reset state

Process reset state:

·     N/AThe process is not reset.

·     Under resetThe process is in the reset progress.

·     Under RIB smoothThe process is synchronizing RIB routes.

Current reset type

Current process reset type:

·     N/AThe process is not reset.

·     GR quitNormal reset when GR quits abnormally.

·     DeleteDelete OSPFv3 process.

·     Undo router-idDelete router ID.

·     Set router-idSet router ID.

Next reset type

Next process reset type:

·     N/AThe process is not reset.

·     GR quitNormal reset when GR quits abnormally.

·     DeleteDelete OSPFv3 process.

·     Undo router-idDelete router ID.

·     Set router-idSet router ID.

Reset prepare message replied

Modules that reply reset prepare messages:

·     PNeighbor maintenance module.

·     SLSDB synchronization module.

·     CRoute calculation module.

·     RRoute redistribution module.

Reset process message replied

Modules that reply reset process messages:

·     PNeighbor maintenance module.

·     S—LSDB synchronization module.

·     CRoute calculation module.

·     RRoute redistribution module.

Reset phase of module

Reset phase of each module:

·     LSDB synchronization (S) module:

¡     N/A—Not reset.

¡     Delete ASE—Delete all ASE LSAs.

¡     Delete area LSA—Delete LSAs from an area.

¡     Delete area IF—Delete interfaces from an area.

·     Route calculation (C) module:

¡     N/A—Not reset.

¡     Delete topology—Delete area topology.

¡     Delete router—Delete routes of routers.

¡     Delete intra AS—Delete intra-AS routes

¡     Delete inter AS—Delete AS-external routes.

¡     Delete ASBR—Delete ASBR routes.

·     Route redistribution (R) module:

¡     N/A—Not reset.

¡     Delete import—Delete redistributed routes.

IPsec profile name

IPsec profile applied to the interface.

Created by Vlink

The area is created through virtual link.

7/5 translator state

State of the translator that translates Type-7 LSAs to Type-5 LSAs:

·     Enabled—The translator is specified through commands.

·     Elected—The translator is designated through election.

·     Disabled—The device is not a translator.

7/5 translate stability timer interval

Stability interval (in seconds) for Type-7 LSA-to-Type-5 LSA translation.

 

display ospfv3 abr-asbr

Use display ospfv3 abr-asbr to display information about the routes to OSPFv3 ABR and ASBR.

Syntax

display ospfv3 [ process-id ] abr-asbr

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all the routes to the OSPFv3 ABR and ASBR.

Examples

# Display information about all the routes to the OSPFv3 ABR and ASBR.

<Sysname> display ospfv3 abr-asbr

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Destination :1.1.1.2                                   Rtr Type : ABR

 Area        :0.0.0.0                                   Path Type: Intra

 NextHop     :FE80:1:1::1                               Cost     : 1

 

 Destination :1.1.1.3                                   Rtr Type : ASBR

 Area        :0.0.0.0                                   Path Type: Intra

 NextHop     :FE80:2:1::1                               Cost     : 1

Table 2 Command output

Field

Description

OSPFv3 Process 1 with Router ID 1.1.1.1

OSPFv3 process is 1, and router ID is 1.1.1.1.

Destination

Router ID of an ABR or ASBR.

Rtr Type

Router type: ABR, or ASBR.

Area

Area ID of the next hop.

Path Type

Type of the route to the ABR or ASBR:

·     Intra—Intra-area route.

·     Inter—Inter-area route.

NextHop

Next hop address.

Cost

Cost from the router to the ABR or ASBR.

 

display ospfv3 abr-summary

Use display ospfv3 abr-summary to display information about summary routes on the OSPFv3 ABR.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about ABR summary routes for all OSPFv3 processes.

area area-id: Specifies an OSPFv3 area by its ID, which is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format. If you do not specify this option, the command displays information about ABR summary routes for all OSPFv3 areas.

ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 prefix. The prefix-length argument specifies a prefix length in the range of 0 to 128. If you do not specify this argument, the command displays information about all summary routes on the ABR.

verbose: Displays detailed ABR summary route information. If you do not specify this keyword, the command displays brief ABR summary route information.

Examples

# Display brief ABR summary route information in OSPFv3 process 1.

<Sysname> display ospfv3 1 abr-summary

 

             OSPFv3 Process 1 with Router ID 2.2.2.2

 

                     Area: 1.1.1.1

 Total summary addresses: 1

 

 Prefix      : 1000:4::/32

 Status      : Advertise

 NULL0       : Active

 Cost        : 1 (Configured)

 Routes count: 2

Table 3 Command output

Field

Description

Total summary addresses

Total number of summary routes.

Area

Area to which the summary routes belong.

Prefix

Prefix of the summary route.

Status

Advertisement status of the summary route.

NULL0

Null 0 route.

Cost

Cost to the summary network.

Routes count

Number of summarized routes.

 

# Display detailed ABR summary route information in OSPFv3 process 1.

<Sysname> display ospfv3 1 abr-summary verbose

 

             OSPFv3 Process 1 with Router ID 2.2.2.2

 

                        Area: 1.1.1.1

Total summary addresses: 1

 

 Prefix      : 1000:4::/32

 Status      : Advertise

 NULL0       : Active

 Cost        : 1 (Configured)

 Routes count: 2

   Destination                                        Metric

   1000:4:10:3::/96                                   1

   1000:4:11:3::/96                                   1

Table 4 Command output

Field

Description

Destination

Destination address of a summarized route.

Metric

Metric of a summarized route.

 

display ospfv3 asbr-summary

Use display ospfv3 asbr-summary to display ASBR summary route information.

Syntax

display ospfv3 [ process-id ] asbr-summary [ ipv6-address prefix-length ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about ASBR summary routes for all OSPFv3 processes.

ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 prefix. The prefix-length argument specifies a prefix length in the range of 0 to 128. If you do not specify this argument, the command displays information about all ASBR summary routes.

verbose: Displays detailed ASBR summary route information. If you do not specify this keyword, the command displays brief ASBR summary route information.

Examples

# Display brief ASBR summary route information in OSPFv3 process 1.

<Sysname> display ospfv3 1 asbr-summary

 

               OSPFv3 Process 1 with Router ID 2.2.2.2

 

 Total summary addresses: 1

 

 Prefix      : 1000:4::/32

 Status      : Advertise

 NULL0       : Active

 Cost        : 1 (Configured)

 Tag         : (Not configured)

 Nssa-only   : (Not configured)

 Routes count: 2

Table 5 Command output

Field

Description

Total summary addresses

Total number of summary routes.

Prefix

Prefix and prefix length of the summary route.

Status

Advertisement status of the summary route:

·     AdvertiseThe summary route has been advertised.

·     Not-advertise—The summary route has not been advertised.

NULL0

Status of the Null 0 route:

·     Active.

·     Inactive.

Cost

Cost of the summary route:

·     Configured.

·     Not configured.

Tag

Tag of the summary route:

·     Configured.

·     Not configured.

Nssa-only

Indicates whether the nssa-only attribute is configured:

·     Configured.

·     Not configured.

Routes count

Number of summarized routes.

 

# Display detailed ASBR summary route information in OSPFv3 process 1.

<Sysname> display ospfv3 1 asbr-summary verbose

 

               OSPFv3 Process 1 with Router ID 2.2.2.2

 

 Total summary addresses: 1

 

 Prefix      : 1000:4::/32

 Status      : Advertise

 NULL0       : Active

 Cost        : 1 (Configured)

 Tag         : (Not configured)

 Nssa-only   : (Not configured)

 Routes count: 2

  Destination                                 Protocol Process Type Metric

  1000:4:10:3::/96                            Static   0       2    1

  1000:4:11:3::/96                            Static   0       2    1

Table 6 Command output

Field

Description

Destination

Prefix and prefix length of the summarized route.

Protocol

Routing protocol from which the route was redistributed.

Process

Process of the routing protocol from which the route was redistributed.

Type

Type of the summarized route.

Metric

Metric of the summarized route.

 

display ospfv3 graceful-restart

Use display ospfv3 graceful-restart to display GR information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays GR information for all processes.

verbose: Displays detailed GR information. If you do not specify this keyword, the command displays brief GR information.

Examples

# Display GR information for all OSPFv3 processes (GR restarter).

<Sysname> display ospfv3 graceful-restart

 

               OSPFv3 Process 1 with Router ID 3.3.3.3

 

 Graceful-restart capability     : Enable

 Graceful-restart support        : Planned and un-planned, Partial

 Helper capability               : Enable

 Helper support                  : Planned and un-planned

 Current GR state                : Normal

 Graceful-restart period         : 120 seconds

 Number of neighbors under helper: 0

 Number of restarting neighbors  : 0

 Last exit reason:

   Restarter: None

   Helper   : None

Table 7 Command output

Field

Description

OSPFv3 Process 1 with Router ID 3.3.3.3

The GR status of OSPFv3 process 1 with router ID 3.3.3.3 is displayed.

Graceful-restart capability

Indicates whether OSPFv3 GR is enabled:

·     Enabled.

·     Disabled.

Graceful-restart support

GR modes that the process supports (displayed only when GR is enabled):

·     Planned and un-planned—Supports both planned and unplanned GR.

·     Planned only—Supports only planned GR.

·     Partial—Supports partial GR.

·     Global—Supports global GR.

Helper capability

Indicates whether OSPFv3 GR helper is enabled:

·     Enabled.

·     Disabled.

Helper support

Policies and GR modes that the GR helper supports (displayed only when GR helper is enabled):

·     Strict LSA check—The GR helper supports strict LSA checking.

·     Planned and un-planned—The GR helper supports both planned and unplanned GR.

·     Planned only—The GR helper supports only planned GR.

Current GR state

GR status:

·     Normal—GR is not in progress or has completed.

·     Under GR—GR is in progress.

·     Under Helper—The process is acting as GR helper.

Graceful-restart period

GR restart interval.

Number of neighbors under helper

Number of neighbors in GR helper status.

Number of restarting neighbors

Number of neighbors in GR restarter status.

Last exit reason

Last exit reason:

·     Restarter—Reason that the restarter exited most recently:

¡     None.

¡     CompletedGR is completed.

¡     Interval timer is firedThe GR timer expires.

¡     Interface state changeAn interface state change occurs.

¡     Received 1-way helloThe device receives 1-way hello packets from the neighbor.

¡     Reset neighborThe neighbor is reset.

¡     DR or BDR changeThe DR or BDR changes.

·     Helper—Reason that the helper exited most recently:

¡     None.

¡     CompletedGR is completed.

¡     Received 1-way helloThe device receives 1-way hello packets from the neighbor.

¡     Grace Period timer is firedThe GR timer expires.

¡     Lsa check failedAn LSA change on the GR helper is detected.

¡     Reset neighborThe neighbor is reset.

¡     Received MAXAGE gracelsa but neighbor is not fullThe device receives Grace-LSAs that reached the maximum age, but the neighbor is not in Full state.

 

# Display detailed GR information for all OSPFv3 processes (GR restarter).

<Sysname> display ospfv3 graceful-restart verbose

 

               OSPFv3 Process 1 with Router ID 3.3.3.3

 

 Graceful-restart capability     : Enable

 Graceful-restart support        : Planned and un-planned, Partial

 Helper capability               : Enable

 Helper support                  : Planned and un-planned

 Current GR state                : Normal

 Graceful-restart period         : 120 seconds

 Number of neighbors under helper: 0

 Number of restarting neighbors  : 0

 Last exit reason:

   Restarter: None

   Helper   : None

 

 Area: 0.0.0.0

 Area flag: Normal

 Area up interface count: 1

 

 Virtual-link Neighbor-ID: 100.1.1.1, Neighbor-state: Full

 Restarter state: Normal   State: P-2-P    Type: Virtual

 Interface: 6696 (Vlan-interface200), Instance-ID: 0

 Local  IPv6 address: 200:1:FFFF::1

 Remote IPv6 address: 201:FFFF::2

 Transit area: 0.0.0.1

 Last exit reason:

   Restarter: None

   Helper   : None

 Neighbor       GR state       Last helper exit reason

 100.1.1.1      Normal         None

 

 Area: 0.0.0.1

 Area flag: Transit

 Area up interface count: 3

 

 Interface: 5506 (Vlan-interface3), Instance-ID: 0

 Restarter state: Normal   State: DR       Type: Broadcast

 Last exit reason:

   Restarter: None

   Helper   : None

 Neighbor count of this interface: 0

 Number of neighbors under helper: 0

 

 Interface: 6696 (Vlan-interface200), Instance-ID: 0

 Restarter state: Normal   State: DR       Type: Broadcast

 Last exit reason:

   Restarter: None

   Helper   : None

 Neighbor count of this interface: 1

 Number of neighbors under helper: 0

 Neighbor       GR state       Last helper exit reason

 100.1.1.1      Normal         None

 

 Area: 0.0.0.5

 Area flag: NSSANoSummaryNoImportRoute

 7/5 translator state: Disabled

 7/5 translate stability timer interval: 0

 Area up interface count: 0

Table 8 Command output

Field

Description

Area

Area ID.

Area flag

Type of the area:

·     Normal.

·     Transit.

·     Stub.

·     StubNoSummary—Totally stub area.

·     NSSA.

·     NSSANoSummary—Totally NSSA area.

·     NSSANoSummaryNoImportRoute—Totally NSSA area with the no-import-route keyword configured.

7/5 translator state

State of the translator that translates Type-7 LSAs to Type-5 LSAs:

·     Enabled—The translator is specified through commands.

·     Elected—The translator is designated through election.

·     Disabled—The device is not a translator.

7/5 translate stability timer interval

Stability interval (in seconds) for Type-7 LSA-to-Type-5 LSA translation.

Area up interface count

Number of up interfaces in the area.

Interface

Interface in the area, or the output interface of the virtual link.

Restarter state

Restarter state on the interface.

State

Interface state.

Type

Interface network type.

Neighbor count of this interface

Number of neighbors on the interface.

Neighbor

Neighbor router ID.

GR state

Neighbor GR state:

·     Normal—GR is not in progress or has completed.

·     Under GR—GR is in process.

·     Under Helper—The process is acting as GR helper.

Last helper exit reason

Reason that the helper exited most recently.

Virtual-link Neighbor-ID

Router ID of the virtual link's neighbor.

Neighbor-State

Neighbor or virtual link state: Down, Init, 2-Way, ExStart, Exchange, Loading, and Full.

Local IPv6 address

Local IPv6 address of the neighbor relationship.

Remote IPv6 address

Peer IPv6 address of the neighbor relationship.

Transit area

Transit area ID.

 

display ospfv3 interface

Use display ospfv3 interface to display OSPFv3 interface information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535.

interface-type interface-number: Specifies an interface by its type and number.

verbose: Displays detailed information about all OSPFv3 interfaces.

Usage guidelines

If no process is specified, this command displays brief OSPFv3 interface information for all processes.

If you do not provide the interface-type interface-number argument or the verbose keyword, this command displays brief information about all OSPFv3 interfaces.

Examples

# Display OSPFv3 information about VLAN-interface 1.

<Sysname> display ospfv3 interface vlan-interface 1

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Area: 0.0.0.0

-------------------------------------------------------------------------

 Vlan-interface1 is up, line protocol is up

  Interface ID 65697        Instance ID 0

  IPv6 prefixes

    fe80::200:12ff:fe34:1  (Link-Local address)

    2001::1

  Cost: 1       State: BDR       Type: Broadcast    MTU: 1500

  Priority: 1

  Designated router: 2.2.2.2

  Backup designated router: 1.1.1.1

  Timers: Hello 10, Dead 40, Poll 40, Retransmit 5, Transmit delay 1

  Neighbor count is 1, Adjacent neighbor count is 1

  IPsec profile name: profile001

  Exchanging/Loading neighbors: 0

  Wait timer: Off,  LsAck timer: Off

  Prefix-suppression is enabled

Table 9 Command output

Field

Description

Area

Area ID that the interface belongs to.

Interface ID

Interface ID.

Instance ID

Instance ID.

IPv6 prefixes

IPv6 prefix.

Cost

Cost value of the interface.

State

Interface state:

·     DOWNNo protocol traffic can be sent or received on the interface.

·     WaitingThe interface starts sending and receiving Hello packets. The router is trying to determine the identity of the (Backup) designated router for the network.

·     P-2-PThe interface will send Hello packets at the interval of HelloInterval, and try to establish an adjacency with the neighbor.

·     DRThe router is the designated router on the network.

·     BDRThe router is the backup designated router on the network.

·     DROtherThe router is a DR Other router on the attached network.

Type

Network type of the interface: PTP (P2P), PTMP (P2MP), Broadcast, or NBMA.

MTU

MTU value of the interface.

Priority

DR priority of the interface.

Designated router

DR on this link.

Backup designated router

BDR on this link.

Timer interval configured

Time intervals in seconds configured on the interface:

·     Hello—Hello interval.

·     Dead—Dead interval.

·     PollPolling interval on an NBMA network.

·     Retransmit—LSA retransmission interval.

·     Transmit delay—Transmission delay of the interface.

Neighbor count

Number of neighbors on the interface.

Adjacent neighbor count

Number of adjacencies on the interface.

IPsec profile name

IPsec profile applied to the interface.

 

display ospfv3 lsdb

Use display ospfv3 lsdb to display the OSPFv3 LSDB.

Syntax

display ospfv3 [ process-id ] lsdb [ { external | grace | inter-prefix | inter-router | intra-prefix | link | network | nssa | router | unknown [ type ] } [ link-state-id ] [ originate-router router-id | self-originate ] | statistics | total | verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays LSDB information for all processes.

external: Displays AS external LSAs (Type-5 LSAs).

grace: Displays Grace-LSAs (Type-11 LSAs).

inter-prefix: Displays Inter-area-prefix LSAs (Type-3 LSAs).

inter-router: Displays Inter-area-router LSAs (Type-4 LSAs).

intra-prefix: Displays Intra-area-prefix LSAs (Type-9 LSAs).

link: Displays Link-LSAs (Type-8 LSAs).

network: Displays Network-LSAs (Type-2 LSAs).

nssa: Displays NSSA LSAs (Type-7 LSAs).

router: Displays Router-LSAs (Type-1 LSAs).

unknown: Displays unknown LSAs.

type: Specifies an LSA type, a hexadecimal string of 0 to FFFF. If you do not specify this argument, the command displays all unknown LSAs.

link-state-id: Specifies a link state ID in IPv4 address format.

originate-router router-id: Specifies an advertising router by its ID.

self-originate: Displays locally originated LSAs.

statistics: Displays LSA statistics.

total: Displays the total number of LSAs in the LSDB.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

Examples

# Display OSPFv3 LSDB information.

<Sysname> display ospfv3 lsdb

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

                  Link-LSA (Interface Vlan-interface1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix

 0.15.0.8        2.2.2.2          0691  0x80000041 0x8315      1

 0.0.0.3         1.1.1.1          0623  0x80000001 0x0fee      1

 

                  Router-LSA (Area 0.0.0.1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum    Link

 0.0.0.0         1.1.1.1          0013  0x80000068 0x5d5f      2

 0.0.0.0         2.2.2.2          0024  0x800000ea 0x1e22      0

 

                  Network-LSA (Area 0.0.0.1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum

 0.15.0.8        2.2.2.2          0019  0x80000007 0x599e

 

                  Intra-Area-Prefix-LSA (Area 0.0.0.1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix  Reference

 0.0.0.2         2.2.2.2          3600  0x80000002 0x2eed      2 Network-LSA

 0.0.0.1         2.2.2.2          0018  0x80000001 0x1478      1 Network-LSA

Table 10 Command output

Field

Description

Origin Router

Originating Router.

Age

Age of LSAs.

SeqNum

LSA sequence number.

CkSum

LSA Checksum.

Prefix

Number of Prefixes.

Link

Number of links.

Intra-Area-Prefix-LSA

Type-9 LSA.

Reference

Type of referenced LSA.

 

# Display Link LSA information in the LSDB.

<Sysname> display ospfv3 lsdb link

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

                  Link-LSA (Interface Vlan-interface1)

-------------------------------------------------------------------------

  LS age            : 833

  LS Type           : Link-LSA

  Link State ID     : 0.15.0.8

  Originating Router: 2.2.2.2

  LS Seq Number     : 0x80000041

  Checksum          : 0x8315

  Length            : 56

  Priority          : 1

  Options           : 0x000013 (-|R|-|-|E|V6)

  Link-Local Address: fe80::200:5eff:fe00:100

  Number of Prefixes: 1

      Prefix        : 1001::/64

      Prefix Options: 0 (-|-|-|-)

Table 11 Command output

Field

Description

LS age

Age of LSA.

LS Type

Type of LSA.

Link State ID

Link State ID.

Originating Router

Originating Router.

LS Seq Number

LSA Sequence Number.

Checksum

LSA Checksum.

Length

LSA Length.

Priority

Router Priority.

Options

Options.

Link-Local Address

Link-Local Address.

Number of Prefixes

Number of Prefixes.

Prefix

Address prefix.

Prefix Options

Prefix options.

 

# Display LSA statistics.

<System> display ospfv3 lsdb statistics

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

-------------------------------------------------------------------------

 Area ID         Router Network IntePre  InteRou IntraPre NSSA

 0.0.0.1         2      0       0        0       2        0

 0.0.0.3         1      0       0        0       1        1

 Total           2      0       0        0       3        1

-------------------------------------------------------------------------

                 Link   Grace   ASE

 Total           4      0       0

Table 12 Command output

Field

Description

Area ID

Area ID.

Router

Number of Type-1 LSAs.

Network

Number of Type-2 LSAs.

IntePre

Number of Type-3 LSAs.

InteRou

Number of Type-4 LSAs.

IntraPre

Number of Type-9 LSAs.

NSSA

Number of Type-7 LSAs.

Link

Total number of Type-8 LSAs.

Grace

Number of Type-11 LSAs.

ASE

Total number of Type-5 LSAs.

 

# Display detailed OSPFv3 LSDB information.

<Sysname> display ospfv3 lsdb verbose

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

                  Link-LSA (Interface Vlan-interface1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix

 0.15.0.8        2.2.2.2          0691  0x80000041 0x8315      1

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

 0.0.0.3         1.1.1.1          0623  0x80000001 0x0fee      1

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

 

                  Router-LSA (Area 0.0.0.1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum    Link

 0.0.0.0         1.1.1.1          0013  0x80000068 0x5d5f      2

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

 0.0.0.0         2.2.2.2          0024  0x800000ea 0x1e22      0

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

 

                  Network-LSA (Area 0.0.0.1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum

 0.15.0.8        2.2.2.2          0019  0x80000007 0x599e

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

 

                  Intra-Area-Prefix-LSA (Area 0.0.0.1)

-------------------------------------------------------------------------

 Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix  Reference

 0.0.0.2         2.2.2.2          3600  0x80000002 0x2eed      2 Network-LSA

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

 0.0.0.1         2.2.2.2          0018  0x80000001 0x1478      1 Network-LSA

                 SendCnt: 0       RxmtCnt: 0       Status: Stale

Table 13 Command output

Field

Description

SendCnt

Number of interfaces to send the LSA.

RxmtCnt

Number of LSAs in the link state retransmission list.

Status

LSA status:

·     Normal.

·     Delayed.

·     Maxage routedThe LSA has reached its maximum age.

·     Self originated.

·     StaleA self-originated LSA is received during the GR process.

 

display ospfv3 nexthop

Use display ospfv3 nexthop to display OSPFv3 next hop information.

Syntax

display ospfv3 [ process-id ] nexthop

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays next hop information for all OSPFv3 processes.

Examples

# Display next hop information for OSPFv3 process 1.

<Sysname> display ospfv3 1 nexthop

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Nexthop : FE80::20C:29FF:FED7:F308                Interface: Vlan2

 RefCount: 4                                       Status   : Valid

 NbrID   : 1.1.1.1                                 NbrIntID : 21

 

 Nexthop : FE80::20C:29FF:FED7:F312                Interface: Vlan12

 RefCount: 3                                       Status   : Valid

 NbrID   : 1.1.1.1                                 NbrIntID : 38

Table 14 Command output

Field

Description

Nexthop

Next hop address.

Interface

Output interface.

RefCount

Reference count (routes that reference the next hop).

Status

Next hop status: valid or invalid.

NbrId

Neighbor router ID.

NbrIntID

Neighbor interface ID.

 

display ospfv3 non-stop-routing

Use display ospfv3 non-stop-routing to display OSPFv3 NSR information.

Syntax

display ospfv3 [ process-id ] non-stop-routing

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays OSPFv3 status information for all OSPFv3 processes.

Examples

# Display OSPFv3 NSR information for all OSPFv3 processes.

<Sysname> display ospfv3 non-stop-routing

 

               OSPFv3 Process 1 with Router ID 3.3.3.3

 

 Nonstop Routing capability: Enabled

 Upgrade phase             : Normal

Table 15 Command output

Field

Description

Nonstop Routing capability

NSR status: enabled or disabled.

Upgrade phase

NSR phase:

·     Normal—Normal status.

·     Preparation—Upgrade preparation phase.

·     SmoothUpgrade phase.

·     Precalculation—Route pre-calculation phase.

·     Calculation—Route calculation phase.

·     Redistribution—Route redistribution phase.

 

display ospfv3 peer

Use display ospfv3 peer to display information about OSPFv3 neighbors.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535.

area area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into an IPv4 address by the system.

interface-type interface-number: Specifies an interface by its type and number.

verbose: Displays detailed neighbor information.

peer-router-id: Specifies a neighbor.

statistics: Displays OSPFv3 neighbor statistics.

Usage guidelines

If no process is specified, this command displays neighbor information for all processes.

If no area is specified, this command displays neighbor information for all areas.

If no interface or no neighbor is specified, this command displays neighbor information for all interfaces.

Examples

# Display the neighbor information for OSPFv3 process 1 on an interface.

<Sysname> display ospfv3 1 peer vlan-interface 1

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Area: 0.0.0.1

-------------------------------------------------------------------------

 Router ID       Pri State             Dead-Time InstID Interface

 2.2.2.2         1   Init/ -           00:00:36  0      Vlan1

Table 16 Command output

Field

Description

Router ID

Router ID of a neighbor.

Pri

Priority of neighbor router.

State

Neighbor state.

Dead-Time

Dead time remained.

Inst ID

Instance ID.

Interface

Interface connected to the neighbor.

 

# Display detailed neighbor information for OSPFv3 process 1 on an interface.

<Sysname> display ospfv3 1 peer vlan-interface 1 verbose

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Area 0.0.0.1 interface Vlan1's neighbors

 Router ID: 2.2.2.2          Address: fe80::200:5eff:fe00:100

   State: ExStart  Mode: None  Priority: 1

   DR: 2.2.2.2  BDR: None   MTU: 1500

   Options is 0x000013 (-|R|-|-|E|V6)

   Dead timer due in 00:00:33

   Neighbor is up for 00:24:19

   Neighbor state change count: 205

   Database Summary List 0

   Link State Request List 0

   Link State Retransmission List 0

   Neighbor interface ID: 8037

   GR state: Normal

   Grace period: 0           Grace period timer: Off

   DD Rxmt timer: Off        LS Rxmt timer: On

Table 17 Command output

Field

Description

Router ID

Neighbor router ID.

Address

Link-local address of the interface.

State

Neighbor state.

Mode

Neighbor mode for LSDB synchronization.

Priority

Neighboring router priority.

DR

DR on the interface's network segment.

BDR

BDR on the interface's network segment.

MTU

Interface MTU.

Options

LSA options:

·     DCThe originating router supports OSPFv3 over on-demand circuits.

·     RIndicates whether the originating router is an active router.

·     NIndicates whether the originating router supports NSSA LSAs.

·     x—Reserved.

·     EIndicates whether the originating router can receive AS External LSAs.

·     V6Indicates whether the originating router takes part in IPv6 route calculation.

Dead timer due in 33  sec

This dead timer will expire in 33 seconds.

Neighbor is up for 00:24:19

The neighbor has been up for 00:24:19.

Neighbor state change count

Count of neighbor state changes.

Database Summary List

Number of LSAs sent in DD packet.

Link State Request List

Number of LSAs in the link state request list.

Link State Retransmission List

Number of LSAs in the link state retransmission list.

GR state

GR state:

·     Normal.

·     Doing GRActing as the GR restarter.

·     Complete GR.

·     HelperActing as the GR helper.

Grace period

Grace-LSA sending interval.

Grace period timer

Grace-LSA sending interval timer.

DD Rxmt timer

DD packet retransmission timer.

LS Rxmt timer

LSU retransmission timer.

 

# Display OSPFv3 neighbor statistics.

<Sysname> display ospfv3 peer statistics

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

-------------------------------------------------------------------------

 Area ID         Down Attempt Init 2-Way ExStart Exchange Loading Full Total

 0.0.0.0         0    0       0    0     0       0        0       1    1

 Total           0    0       0    0     0       0        0       1    1

Table 18 Command output

Field

Description

Area ID

Area ID.

Down

In this state, neighbor initial state, the router has not received any information from a neighboring router for a period of time.

Attempt

This state is available only in an NBMA network. In this state, the OSPFv3 router has not received any information from a neighbor for a period but can send Hello packets at a longer interval to keep neighbor relationship.

Init

In this state, the device received a Hello packet from the neighbor but the packet contains no Router ID of the neighbor. Mutual communication is not setup.

2-Way

Mutual communication between the router and its neighbor is available. DR/BDR election is finished under this state (or higher).

ExStart

In this state, the router decides on the initial DD sequence number and active/standby relationship of the two parties.

Exchange

In this state, the router exchanges DD packets with the neighbor.

Loading

In this state, the router sends LSRs to request the neighbor for needed LSAs.

Full

LSDB synchronization has been accomplished between neighbors.

Total

Total number of neighbors under the same state.

 

display ospfv3 request-queue

Use display ospfv3 request-queue to display OSPFv3 request list information.

Syntax

display ospfv3 [ process-id ] [ area area-id ] request-queue [ interface-type interface-number ] [ neighbor-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535.

area area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into an IPv4 address by the system.

interface-type interface-number: Specifies an interface by its type and number.

neighbor-id: Specifies a neighbor's router ID.

Usage guidelines

If no OSPFv3 process is specified, this command displays the OSPFv3 request list information for all OSPFv3 processes.

If no OSPFv3 area is specified, this command displays the OSPFv3 request list information for all areas.

If no interface is specified, this command displays the OSPFv3 request list information for all interfaces.

If no neighbor is specified, this command displays the OSPFv3 request list information for all OSPFv3 neighbors.

Examples

# Display OSPFv3 request list information.

<Sysname> display ospfv3 request-queue

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

                   Area: 0.0.0.0

                   Interface Vlan-interface1

-------------------------------------------------------------------------

                   Nbr-ID 1.3.3.3 Request List

 Type    LinkState ID    AdvRouter       SeqNum       Age   CkSum

 0x4005  0.0.34.127      1.3.3.3         0x80000001   0027  0x274d

 0x4005  0.0.34.128      1.3.3.3         0x80000001   0027  0x2d45

 0x4005  0.0.34.129      1.3.3.3         0x80000001   0027  0x333d

 0x4005  0.0.34.130      1.3.3.3         0x80000001   0027  0x3935

Table 19 Command output

Field

Description

Area

Area ID.

Interface

Interface type and sequence number.

Nbr-ID

Neighbor ID.

Request list

Request list information.

Type

LSA type.

AdvRouter

Advertising router.

SeqNum

LSA sequence number.

Age

LSA age.

CkSum

Checksum.

 

display ospfv3 retrans-queue

Use display ospfv3 retrans-queue to display retransmission list information.

Syntax

display ospfv3 [ process-id ] [ area area-id ] retrans-queue [ interface-type interface-number ] [ neighbor-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535.

area area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into an IPv4 address by the system.

interface-type interface-number: Specifies an interface by its type and number.

neighbor-id: Specifies a neighbor's router ID.

Usage guidelines

If no OSPFv3 process is specified, this command displays retransmission list information for all OSPFv3 processes.

If no OSPFv3 area is specified, this command displays retransmission list information for all OSPFv3 areas.

If no interface is specified, this command displays retransmission list information for all interfaces.

If no neighbor is specified, this command displays retransmission list information for all neighbors.

Examples

# Display OSPFv3 retransmission list information.

<Sysname> display ospfv3 retrans-queue

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

                   Area: 0.0.0.0

                   Interface Vlan-interface1

-------------------------------------------------------------------------

                   Nbr-ID 1.2.2.2 Retransmit List

 Type    LinkState ID    AdvRouter       SeqNum       Age   CkSum

 0x2009  0.0.0.0         1.3.3.3         0x80000001   3600  0x49fb

Table 20 Command output

Field

Description

Area

Area ID.

Interface

Interface type and sequence number.

Nbr-ID

Neighbor ID.

Retransmit List

Retransmission list information.

Type

LSA type.

AdvRouter

Advertising router.

SeqNum

LSA sequence number.

Age

LSA age.

CkSum

Checksum.

 

display ospfv3 routing

Use display ospfv3 routing to display OSPFv3 route information.

Syntax

display ospfv3 [ process-id ] routing [ ipv6-address prefix-length ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays the OSPFv3 route information for all processes.

ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 prefix. The prefix-length argument specifies a prefix length in the range of 0 to 128.

Examples

# Display OSPFv3 routing information.

<Sysname> display ospfv3 routing

 

               OSPFv3 Process 1 with Router ID 9.9.9.9

-------------------------------------------------------------------------

 I  - Intra area route,  E1 - Type 1 external route,  N1 - Type 1 NSSA route

 IA - Inter area route,  E2 - Type 2 external route,  N2 - Type 2 NSSA route

 *  - Selected route

 

 *Destination: 3::3/128

  Type       : I                                         Cost     : 0

  Nexthop    : ::                                        Interface: Loop1

  AdvRouter  : 9.9.9.9                                   Area     : 0.0.0.0

  Preference : 10

 

 *Destination: 4::4/128

  Type       : I                                         Cost     : 1

  Nexthop    : FE80::20C:29FF:FED4:7171                  Interface: Vlan2

  AdvRouter  : 8.8.8.8                                   Area     : 0.0.0.0

  Preference : 10

 

 *Destination: 6::/64

  Type       : I                                         Cost     : 1

  Nexthop    : ::                                        Interface: Vlan2

  AdvRouter  : 9.9.9.9                                   Area     : 0.0.0.0

  Preference : 10

 

 Total: 3

 Intra area: 3         Inter area: 0         ASE: 0         NSSA: 0

Table 21 Command output

Field

Description

Destination

Destination network segment.

Type

Route type.

Cost

Route cost value.

Nexthop

Next hop address.

Interface

Output interface.

AdvRouter

Advertising router.

Area

Area ID.

Tag

Tag of external routes.

Preference

Route preference.

Total

Total number of routes.

Intra area

Number of intra-area routes.

Inter area

Number of inter-area routes.

ASE

Number of Type-5 external routes.

NSSA

Number of Type-7 external routes.

 

display ospfv3 spf-tree

Use display ospfv3 spf-tree to display OSPFv3 topology information.

Syntax

display ospfv3 [ process-id ] [ area area-id ] spf-tree [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays topology information for all OSPFv3 processes.

area area-id: Specifies an OSPFv3 area by its ID, which is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format. If you do not specify this option, the command displays topology information for all OSPFv3 areas.

verbose: Displays detailed OSPFv3 topology information. If you do not specify this keyword, the command displays brief OSPFv3 topology information.

Examples

# Display brief topology information for area 0 in OSPFv3 process 1.

<Sysname> display ospfv3 1 area 0 spf-tree

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Flags: S-Node is on SPF tree       R-Node is directly reachable

        I-Node or Link is init      D-Node or Link is to be deleted

        P-Neighbor is parent        A-Node is in candidate list

        C-Neighbor is child         H-Nexthop changed

        N-Link is a new path        V-Link is involved

 

                 Area: 0.0.0.0  Shortest Path Tree

 

 SPFNode         Type   Flag         SPFLink         Type   Cost  Flag

>1.1.1.1         Router S R

                                  -->2.2.2.2         RT2RT  1     C

                                  -->2.2.2.2         RT2RT  1     P

Table 22 Command output

Field

Description

SPFNode

SPF node, represented by the advertising router ID.

Node type:

·     NetworkNetwork node.

·     RouterRouter node.

Node flag:

·     IThe node is in initialization state.

·     AThe node is on the candidate list.

·     SThe node is on the SPF tree.

·     RThe node is directly connected to the root node.

·     DThe node is to be deleted.

SpfLink

SPF link, representing the advertising router ID.

Link type:

·     RT2RTRouter to router.

·     NET2RTNetwork to router.

·     RT2NETRouter to network.

Link flag:

·     IThe link is in initialization state.

·     PThe peer is the parent node.

·     CThe peer is the child node.

·     DThe link is to be deleted.

·     HThe next hop is changed.

·     VWhen the peer node is deleted or added, the peer node is not on the SPF tree or is deleted.

·     NThe link is newly added, and both end nodes are on the SPF tree.

·     LThe link is on the area change list.

 

# Display detailed topology information for area 0 in OSPFv3 process 1.

<Sysname> display ospfv3 1 area 0 spf-tree verbose

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Flags: S-Node is on SPF tree       R-Node is directly reachable

        I-Node or Link is init      D-Node or Link is to be deleted

        P-Neighbor is parent        A-Node is in candidate list

        C-Neighbor is child         H-Nexthop changed

        N-Link is a new path        V-Link is involved

 

           Area: 0.0.0.0  Shortest Path Tree

 

>SPFNode[0]

  AdvID        : 1.1.1.1                  LsID       : 0.0.0.0

  NodeType     : Router                   Distance   : 1

  NodeFlag     : S R

  Nexthop count: 1

 -->NbrID      : 1.1.1.1                  NbrIntID   : 21

    Interface  : Vlan2                    NhFlag     : Valid

    Nexthop    : FE80::20C:29FF:FED7:F308

    RefCount   : 4

  SPFLink count: 1

 -->AdvID      : 1.1.1.1                  LsID       : 0.0.0.0

    IntID      : 232                      NbrIntID   : 465

    NbrID      : 2.2.2.2                  LinkType   : RT2RT

    LinkCost   : 1                        LinkNewCost: 1

    LinkFlag   : C                        NexthopCnt : 0

  ParentLink count: 1

 -->AdvID      : 1.1.1.1                  LsID       : 0.0.0.0

    IntID      : 215                      NbrIntID   : 466

    NbrID      : 2.2.2.2                  LinkType   : RT2RT

    LinkCost   : 1                        LinkNewCost: 1

    LinkFlag   : P                        NexthopCnt : 0

Table 23 Command output

Field

Description

SPFNode

SPF node.

AdvID

ID of the advertising router.

LsID

Link state ID.

NodeType

Node type.

Distance

Cost to the root node.

NodeFlag

Node flag.

Nexthop count

Number of next hops.

NbrID

Neighbor router ID.

NbrIntID

Neighbor interface ID.

Interface

Output interface.

NhFlag

Next hop flag: valid or invalid.

Nexthop

Next hop.

RefCount

Reference count (routes that reference the next hop).

SPFLink count

Number of SPF links.

IntID

Interface ID.

LinkType

Link type:

·     RT2RTRouter to router.

·     NET2RTNetwork to router.

·     RT2NETRouter to network.

LinkCost

Link cost.

LinkNewCost

New link cost.

LinkFlag

Link flag:

·     IThe link is in initialization state.

·     PThe peer is the parent node.

·     CThe peer is the child node.

·     DThe link is to be deleted.

·     HThe next hop is changed.

·     VWhen the peer node is deleted or added, the peer node is not on the SPF tree or is deleted.

·     NThe link is newly added, and both end nodes are on the SPF tree.

·     LThe link is on the area change list.

NexthopCnt

Number of next hops.

ParentLinkCnt

Number of parent links.

 

display ospfv3 statistics

Use display ospfv3 statistics to display OSPFv3 statistics.

Syntax

display ospfv3 [ process-id ] statistics [ error ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays OSPFv3 statistics for all processes.

error: Displays error statistics. If you do not specify this keyword, the command displays OSPFv3 packet, LSA, and route statistics.

Examples

# Display OSPFv3 statistics.

<Sysname> display ospfv3 statistics

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

                   Packet Statistics

----------------------------------------------------------

 Type                         Recv                Send

 Hello                        1746                1284

 DB Description               505                 941

 Ls Req                       252                 136

 Ls Upd                       851                 1553

 Ls Ack                       416                 450

 

             Local Originated LSAs Statistics

----------------------------------------------------------

 Type                                             Count

 Router-LSA                                       192

 Network-LSA                                      0

 Inter-Area-Prefix-LSA                            0

 Inter-Area-Router-LSA                            0

 AS-external-LSA                                  0

 NSSA-LSA                                         0

 Link-LSA                                         10

 Intra-Area-Prefix-LSA                            112

 Grace-LSA                                        0

 Unknown-LSA                                      0

 Total                                            314

 

                   Routes Statistics

----------------------------------------------------------

 Type                                             Count

 Intra Area                                       0

 Inter Area                                       0

 ASE                                              0

 NSSA                                             0

Table 24 Command output

Field

Description

Packet Statistics

Statistics about inbound and outbound packets.

Hello

Hello packet.

DB Description

DB description packet.

Ls Req

Link state request packet.

Ls Upd

Link state update packet.

Ls Ack

Link state acknowledgment packet.

Local Originated LSAs Statistics

Statistics about generated LSAs.

Router-LSA

Number of Type-1 LSAs.

Network-LSA

Number of Type-2 LSAs.

Inter-Area-Prefix-LSA

Number of Type-3 LSAs.

Inter-Area-Router-LSA

Number of Type-4 LSAs.

AS-external-LSA

Number of Type-5 LSAs.

NSSA-LSA

Number of Type-7 LSAs.

Link-LSA

Number of Type-8 LSAs.

Intra-Area-Prefix-LSA

Number of Type-9 LSAs.

Grace-LSA

Number of Type-11 LSAs.

Unknown-LSA

Number of Unknown-LSAs.

Total

Total number.

Routes Statistics

Number of routes.

Intra Area

Intra-area routes.

Inter Area

Inter-area routes.

ASE

Type-5 external routes.

NSSA

Type-7 external routes.

 

# Display OSPFv3 error statistics.

<Sysname> display ospfv3 statistics error

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 0         : Transmit error               0         : Neighbor state low

 0         : Packet too small             0         : Bad version

 0         : Bad checksum                 0         : Unknown neighbor

 0         : Bad area ID                  0         : Bad packet

 0         : Packet dest error            0         : Inactive area packet

 0         : Router ID confusion          0         : Bad virtual link

 0         : HELLO: Hello-time mismatch   0         : HELLO: Dead-time mismatch

 0         : HELLO: Ebit option mismatch  0         : DD: Ebit option mismatch

 0         : DD: Unknown LSA type         0         : DD: MTU option mismatch

 0         : REQ: Empty request           0         : REQ: Bad request

 0         : UPD: LSA checksum bad        0         : UPD: Unknown LSA type

 0         : UPD: Less recent LSA         0         : UPD: LSA length bad

 0         : UPD: LSA AdvRtr id bad       0         : ACK: Bad ack packet

 0         : ACK: Invalid ack             0         : Interface down

 0         : Multicast incapable

Table 25 Command output

Field

Description

Transmit error

Packets with error when being transmitted.

Neighbor state low

Packets received in low neighbor state.

Packet too small

Packets too small in length.

Bad version

Packets with wrong version.

Bad checksum

Packets with wrong checksum.

Unknown neighbor

Packets received from unknown neighbors.

Bad area ID

Packets with invalid area ID.

Bad packet

Packets illegal.

Packet dest error

Packets with wrong destination addresses.

Inactive area packet

Packets received in inactive areas.

Router ID confusion

Packets with duplicate router ID.

Bad virtual link

Packets on wrong virtual links.

HELLO: Hello-time mismatch

Hello packets with mismatched hello timer.

HELLO: Dead-time mismatch

Hello packets with mismatched dead timer.

HELLO: Ebit option mismatch

Hello packets with mismatched E-bit in the option field.

DD: Ebit option mismatch

DD packets with mismatched E-bit in the option field.

DD: Unknown LSA type

DD packets with unknown LSA type.

DD: MTU option mismatch

DD packets with mismatched MTU.

REQ: Empty request

LSR packets with no request information.

REQ: Bad request

Bad LSR packets.

UPD: LSA checksum bad

LSU packets with wrong LSA checksum.

UPD: Unknown LSA type

LSU packets with unknown LSA type.

UPD: Less recent LSA

LSU packets without latest LSA.

UPD: LSA length bad

LSU packets with wrong LSA length.

UPD: LSA AdvRtr id bad

LSU packets with wrong LSA advertising router.

ACK: Bad ack packet

Bad LSAck packets for LSU packets.

ACK: Invalid ack

Invalid LSAck packets.

Interface down

Shutdown times of the interface.

Multicast incapable

Failures to join the multicast group.

 

display ospfv3 vlink

Use display ospfv3 vlink to display OSPFv3 virtual link information.

Syntax

display ospfv3 [ process-id ] vlink

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays the OSPFv3 virtual link information for all OSPFv3 processes.

Examples

# Display OSPFv3 virtual link information.

<Sysname> display ospfv3 vlink

 

               OSPFv3 Process 1 with Router ID 1.1.1.1

 

 Virtual-link Neighbor-id: 12.2.2.2, Neighbor-state: Full

 Interface: 2348 (Vlan-interface12), Instance-ID: 0

 Local  IPv6 address: 3:3333::12

 Remote IPv6 address: 2:2222::12

 Cost: 1  State: P-2-P  Type: Virtual

 Transit area: 0.0.0.1

 Timers: Hello 10, Dead 40, Retransmit 5, Transmit Delay 1

 IPsec profile name: profile001

Table 26 Command output

Field

Description

Virtual-link Neighbor-ID

ID of the neighbor on the virtual link.

Neighbor-State

Neighbor state: Down, Init, 2-Way, ExStart, Exchange, Loading, or Full.

Interface

Number and name of the local interface on the virtual link.

Cost

Interface route cost.

State

Interface state.

Type

Virtual link.

Transit Area

Transit area ID. (This field is displayed when a virtual link is present on the interface.)

Timers

Values of OSPFv3 timers (in seconds): hello, dead, and retransmit, and interface transmission delay.

IPsec profile name

IPsec profile applied to the virtual link.

 

enable ipsec-profile

Use enable ipsec-profile to apply an IPsec profile to an OSPFv3 area.

Use undo enable ipsec-profile to remove the IPsec profile from the OSPFv3 area.

Syntax

enable ipsec-profile profile-name

undo enable ipsec-profile

Default

No IPsec profile is applied to an area.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters.

Usage guidelines

To protect routing information and prevent attacks, OSPFv3 can authenticate protocol packets by using an IPsec profile. For more information about IPsec profiles, see Security Configuration Guide.

Examples

# Apply IPsec profile profile001 to area 0 in OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 0

[Sysname-ospfv3-1-area-0.0.0.0] enable ipsec-profile profile001

filter (OSPFv3 area view)

Use filter to configure inbound/outbound Inter-Area-Prefix-LSA filtering on an ABR.

Use undo filter to remove the configuration.

Syntax

filter acl6-number { export | import }

undo filter { export | import }

Default

Inter-Area-Prefix-LSAs are not filtered.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter inbound/outbound Inter-Area-Prefix-LSAs.

export: Filters Inter-Area-Prefix-LSAs advertised to other areas.

import: Filters Inter-Area-Prefix-LSAs advertised into the local area.

Usage guidelines

This command is available only on an ABR.

Examples

# Use IPv6 ACL 2000 to filter outbound Inter-Area-Prefix-LSAs in OSPFv3 Area 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 1

[Sysname-ospfv3-1-area-0.0.0.1] filter 2000 export

filter-policy export (OSPFv3 view)

Use filter-policy export to configure OSPFv3 to filter redistributed routes.

Use undo filter-policy export to remove the configuration.

Syntax

filter-policy acl6-number export [ protocol [ process-id ] ]

undo filter-policy export [ protocol [ process-id ] ]

Default

Redistributed routes are not filtered.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter redistributed routes by destination address.

protocol: Filters routes redistributed from the specified routing protocol, which can be bgp4+, direct, isisv6, ospfv3, ripng, or static. If you do not specify this argument, the command filters all redistributed routes.

process-id: Specifies a process by its ID in the range of 1 to 65535. This argument is available only when the protocol is ripng, ospfv3, or isisv6.

Usage guidelines

To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways:

·     To deny/permit a route with the specified destination, use rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix.

·     To deny/permit a route with the specified destination and prefix, use rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix.

The source keyword specifies the destination address of a route, and the destination keyword specifies the prefix of the route. The prefix must be contiguous. Otherwise, the configuration does not take effect.

Using the filter-policy export command filters only routes redistributed by the import-route command. If the import-route command is not configured to redistribute routes from other protocols and other OSPFv3 processes, the filter-policy export command does not take effect.

Examples

# Configure IPv6 ACL 3000 to permit only route 2001::1/128. Use ACL 3000 to filter redistributed routes.

<Sysname> system-view

[Sysname] acl ipv6 number 3000

[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128

[Sysname-acl6-adv-3000] rule 100 deny ipv6

[Sysname-acl6-adv-3000] quit

[Sysname] ospfv3

[Sysname-ospfv3-1] filter-policy 3000 export

filter-policy import (OSPFv3 view)

Use filter-policy import to configure OSPFv3 to filter routes calculated using received LSAs.

Use undo filter-policy import to restore the default.

Syntax

filter-policy acl6-number import

undo filter-policy import

Default

Routes calculated using received LSAs are not filtered.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter routes by destination.

Usage guidelines

To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways:

·     To deny/permit a route with the specified destination, use rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix.

·     To deny/permit a route with the specified destination and prefix, use rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix.

The source keyword specifies the destination address of a route, and the destination keyword specifies the prefix of the route. The prefix must be contiguous. Otherwise, the configuration does not take effect.

Using the filter-policy import command filters only routes computed by OSPFv3. Routes that fail to pass the filter are not added to the routing table.

Examples

# Configure IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use ACL 3000 to filter received routes.

<Sysname> system-view

[Sysname] acl ipv6 number 3000

[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128

[Sysname-acl6-adv-3000] rule 100 deny ipv6

[Sysname-acl6-adv-3000] quit

[Sysname] ospfv3

[Sysname-ospfv3-1] filter-policy 3000 import

graceful-restart enable

Use graceful-restart enable to enable the GR capability for OSPFv3.

Use undo graceful-restart enable to disable the GR capability for OSPFv3.

Syntax

graceful-restart enable [ global | planned-only ] *

undo graceful-restart enable

Default

The GR capability for OSPFv3 is disabled.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

global: Enables global GR. In global GR mode, a GR process can be completed only when all GR helpers exist. A GR process fails if a GR helper fails (for example, the interface connected to the GR helper goes down). If you do not specify this keyword, the command enables partial GR. In partial GR mode, a GR process can be completed as long as one GR helper exists.

planned-only: Enables planned GR only. If you do not specify this keyword, the command enables both planned GR and unplanned GR.

Usage guidelines

GR includes planned GR and unplanned GR.

·     Planned GRManually restarts OSPFv3 or performs an active/standby switchover. Before OSPFv3 restart or active/standby switchover, the GR restarter sends Grace-LSAs to GR helpers.

·     Unplanned GR—OSPFv3 restarts or an active/standby switchover occurs because of device failure. Before OSPFv3 restart or active/standby switchover, the GR restarter does not send Grace-LSAs to GR helpers.

OSPFv3 GR and OSPFv3 NSR are mutually exclusive. Do not configure the graceful-restart enable command and the non-stop-routing command at the same time.

To prevent service interruption after a master/backup switchover, a GR restarter running OSPFv3 must complete the following tasks:

·     Keep the GR restarter forwarding entries stable during reboot.

·     Establish all adjacencies and obtain complete topology information after reboot.

Examples

# Enable the GR capability for OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] graceful-restart enable

Related commands

graceful-restart helper enable

graceful-restart helper enable

Use graceful-restart helper enable to enable the GR helper capability for OSPFv3.

Use undo graceful-restart helper enable to disable the GR helper capability for OSPFv3.

Syntax

graceful-restart helper enable [ planned-only ]

undo graceful-restart helper enable

Default

The GR helper capability for OSPFv3 is enabled.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

planned-only: Enables only planned GR for the GR helper. If you do not specify this keyword, the command enables both planned GR and unplanned GR for the GR helper.

Usage guidelines

Upon receiving the Grace-LSA, the neighbors with the GR helper capability enter the helper mode (and are called GR helpers). Then, the GR restarter retrieves its adjacencies and LSDB with the help of the GR helpers.

Examples

# Enable the GR helper capability for OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] graceful-restart helper enable

Related commands

graceful-restart enable

graceful-restart helper strict-lsa-checking

Use graceful-restart helper strict-lsa-checking to enable strict LSA checking for the GR helper.

Use undo graceful-restart helper strict-lsa-checking to disable strict LSA checking for the GR helper.

Syntax

graceful-restart helper strict-lsa-checking

undo graceful-restart helper strict-lsa-checking

Default

Strict LSA checking for the GR helper is disabled.

Views

OSPFv3 view

Predefined user roles

network-admin

Usage guidelines

With GR helper enabled, when an LSA change on the GR helper is detected, the GR helper device exits the GR helper mode.

Examples

# Enable strict LSA checking for the GR helper in OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] graceful-restart helper strict-lsa-checking

Related commands

graceful-restart helper enable

graceful-restart interval

Use graceful-restart interval to configure the GR restart interval.

Use undo graceful-restart interval to restore the default.

Syntax

graceful-restart interval interval-value

undo graceful-restart interval

Default

The GR restart interval is 120 seconds.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

interval-value: Specifies GR restart interval in the range of 40 to 1800 seconds.

Usage guidelines

The value of the GR restart interval cannot be smaller than the maximum OSPFv3 neighbor dead time of all the OSPFv3 interfaces. Otherwise, GR restart might fail.

Examples

# Configure the GR restart interval for OSPFv3 process 1 as 100 seconds.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] graceful-restart interval 100

Related commands

ospfv3 timer dead

import-route (OSPFv3 view)

Use import-route to redistribute routes.

Use undo import-route to disable route redistribution.

Syntax

import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | nssa-only | tag tag | type type ] *

undo import-route protocol [ process-id | all-processes ]

Default

OSPFv3 route redistribution is disabled.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

protocol: Redistributes routes from the specified routing protocol, which can be bgp4+, direct, isisv6, ospfv3, ripng, or static.

process-id: Specifies the process ID of a routing protocol, in the range of 1 to 65536. It defaults to 1. This argument takes effect only when the protocol is isisv6, ospfv3, or ripng.

all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is ripng, ospfv3, or isisv6.

allow-ibgp: Redistributes IBGP routes. It is available only when the protocol is bgp4+.

cost cost: Specifies a cost for redistributed routes, in the range of 1 to 16777214. The default is 1.

nssa-only: Limits the route advertisement to the NSSA area by setting the P-bit of Type-7 LSAs to 0. If you do not specify this keyword, the P-bit of Type-7 LSAs is set to 1. If the router acts as both an ASBR and an ABR and FULL state neighbors exist in the backbone area, the P-bit of Type-7 LSAs originated by the router is set to 0. This keyword applies to NSSA routers.

tag tag: Specifies a tag for marking external LSAs, in the range of 0 to 4294967295. If you do not specify this option, the tag specified by the default tag command applies.

type type: Specifies the type for redistributed routes, 1 or 2. The default is 2.

Usage guidelines

An external route is a route to a destination outside the OSPFv3 AS. External routes types are as follows:

·     A Type-1 external route has high reliability. Its cost is comparable with the cost of OSPFv3 internal routes. The cost from an OSPFv3 router to a Type-1 external route's destination equals the cost from the router to the ASBR plus the cost from the ASBR to the external route's destination.

·     A Type-2 external route has low credibility, so OSPFv3 considers the cost from the ASBR to a Type-2 external route is much bigger than the cost from the ASBR to an OSPFv3 internal router. The cost from an internal router to a Type-2 external route's destination equals the cost from the ASBR to the Type-2 external route's destination.

The import-route command cannot redistribute default routes.

The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP routes, and might cause routing loops. Therefore, use it with caution.

The import-route nssa-only command redistributes AS-external routes in Type-7 LSAs only into the NSSA area.

Examples

# Configure OSPFv3 process 1 to redistribute routes from RIPng and specify the type as type 2 and cost as 50.

<Sysname> system-view

[Sysname] ospfv3

[Sysname-ospfv3-1] import-route ripng 10 type 2 cost 50

# Configure OSPFv3 process 100 to redistribute the routes discovered by OSPFv3 process 160.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] import-route ospfv3 160

Related commands

default-route-advertise (OSPFv3 view)

log-peer-change

Use log-peer-change to enable the logging of neighbor state changes.

Use undo log-peer-change to disable the logging of neighbor state changes.

Syntax

log-peer-change

undo log-peer-change

Default

The logging of neighbor state changes is enabled.

Views

OSPFv3 view

Predefined user roles

network-admin

Usage guidelines

This feature enables the device to deliver logs about neighbor state changes to its information center. The information center processes logs according to user-defined output rules (whether and where to output logs). For more information about the information center, see Network Management and Monitoring Configuration Guide.

Examples

# Disable the logging of neighbor state changes for OSPFv3 process 100.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] undo log-peer-change

lsa-generation-interval

Use lsa-generation-interval to configure the OSPFv3 LSA generation interval.

Use undo lsa-generation-interval to restore the default.

Syntax

lsa-generation-interval maximum-interval [ minimum-interval [ incremental-interval ] ]

undo lsa-generation-interval

Default

The maximum interval is 5 seconds, the minimum interval is 0 milliseconds, and the incremental interval is 0 milliseconds.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

maximum-interval: Specifies the maximum OSPFv3 LSA generation interval in the range of 1 to 60 seconds.

minimum-interval: Specifies the minimum OSPFv3 LSA generation interval in the range of 10 to 60000 milliseconds. The default is 0, which indicates that the minimum interval can be any value.

incremental-interval: Specifies the OSPFv3 LSA generation incremental interval in the range of 10 to 60000 milliseconds.

Usage guidelines

When network changes are infrequent, LSAs are generated at the minimum interval. If network changes become frequent, the LSA generation interval is incremented by the incremental interval × 2n-2 for each generation until the maximum interval is reached. The value n is the number of generation times.

The minimum interval and the incremental interval cannot be greater than the maximum interval.

Examples

# Configure the maximum LSA generation interval as 2 seconds, minimum interval as 100 milliseconds, and incremental interval as 100 milliseconds.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] lsa-generation-interval 2 100 100

Related commands

lsa-arrival-interval

maximum load-balancing (OSPFv3 view)

Use maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes for load balancing.

Use undo maximum load-balancing to restore the default.

Syntax

maximum load-balancing maximum

undo maximum load-balancing

Default

The maximum number of OSPFv3 ECMP routes is 8.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

maximum: Specifies the maximum number of ECMP routes, in the range of 1 to 8. When the maximum number is 1, OSPFv3 does not perform load balancing.

Examples

# Configure the maximum number of ECMP routes as 2.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] maximum load-balancing 2

non-stop-routing

Use non-stop-routing to enable OSPFv3 NSR.

Use undo non-stop-routing to disable OSPFv3 NSR.

Syntax

non-stop-routing

undo non-stop-routing

Default

OSPFv3 NSR is disabled.

Views

OSPFv3 view

Predefined user roles

network-admin

Usage guidelines

OSPFv3 NSR and OSPFv3 GR are mutually exclusive. Do not configure the non-stop-routing command and the graceful-restart enable command at the same time.

Examples

# Enable NSR for OSPFv3 process 100.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] non-stop-routing

nssa

Use nssa to configure the current area as an NSSA area.

Use undo nssa to restore the default.

Syntax

nssa [ default-route-advertise [ cost cost | nssa-only | tag tag | type type ] * | no-import-route | no-summary | [ translate-always | translate-never ] | suppress-fa | translator-stability-interval value ] *

undo nssa

Default

No area is configured as an NSSA area.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

default-route-advertise: Used on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route is available in the routing table. If it is configured on an ASBR, the ASBR generates a default route in a Type-7 LSA only when the default route is available in the routing table.

cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. If you do not specify this option, the default cost specified by the default-cost command applies.

nssa-only: Limits the default route advertisement to the NSSA area by setting the P-bit of Type-7 LSAs to 0. If you do not specify this keyword, the P-bit of Type-7 LSAs is set to 1. If the router acts as both an ASBR and an ABR and FULL state neighbors exist in the backbone area, the P-bit of Type-7 LSAs originated by the router is set to 0.

tag tag: Specifies a tag for marking the default route, in the range of 0 to 4294967295. If you do not specify this option, no tag is contained in advertised LSAs by default.

type type: Specifies a type for the Type-7 LSA, 1 or 2. The default is 2.

no-import-route: Used on an NSSA ABR to control the import-route command to not redistribute routes into the NSSA area.

no-summary: Used only on an ABR to advertise a default route in a Type-3 summary LSA into the NSSA area and to not advertise other summary LSAs into the area. Such an area is a totally NSSA area.

translate-always: Always translates Type-7 LSAs to Type-5 LSAs. This keyword takes effect only on an NSSA ABR.

translate-never: Never translates Type-7 LSAs to Type-5 LSAs. This keyword takes effect only on an NSSA ABR.

suppress-fa: Suppresses the forwarding address in the Type-7 LSAs from being placed in the Type-5 LSAs.

translator-stability-interval value: Specifies the stability interval of the translator. During the interval, the translator can maintain its translating capability after another device becomes the new translator. The value argument is the stability interval in the range of 0 to 900 seconds and defaults to 0 (which means the translator does not maintain its translating capability when a new translator arises).

Usage guidelines

All routers attached to an NSSA area must be configured with the nssa command in area view.

Examples

# Configure Area 1 as an NSSA area.

<Sysname> system-view

[Sysname] ospfv3 120

[Sysname-ospfv3-120] area 1

[Sysname-ospfv3-120-area-0.0.0.1] nssa

Related commands

default-cost (OSPFv3 area view)

ospfv3

Use ospfv3 to enable an OSPFv3 process and enter OSPFv3 view.

Use undo ospfv3 to disable an OSPFv3 process.

Syntax

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

undo ospfv3 [ process-id ]

Default

No OSPFv3 process is enabled.

Views

System view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. The default process ID is 1.

vpn-instance vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the OSPFv3 process runs on the public network.

Usage guidelines

Specify a router ID for the OSPFv3 process. Otherwise, the OSPFv3 process cannot generate LSAs.

Examples

# Enable OSPFv3 process 120 and configure the router ID as 1.1.1.1.

<Sysname> system-view

[Sysname] ospfv3 120

[Sysname-ospfv3-120] router-id 1.1.1.1

ospfv3 area

Use ospfv3 area to enable an OSPFv3 process and specify an area for on an interface.

Use undo ospfv3 area to disable an OSPFv3 process.

Syntax

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

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

Default

No OSPFv3 process is enabled on an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535.

area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into an IPv4 address by the system.

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Examples

# Configure VLAN-interface 10 to run instance 1 of OSPFv3 process 1 in Area 1.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 1 area 1 instance 1

ospfv3 authentication-mode

Use ospfv3 authentication-mode to specify an authentication mode for an OSPFv3 interface.

Use undo ospfv3 authentication-mode to remove the configuration.

Syntax

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

undo ospfv3 authentication-mode [ instance instance-id ]

Default

No authentication is performed for an OSPFv3 interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

keychain: Specifies keychain authentication.

keychain-name: Specifies a keychain by its name, a case-sensitive string of 1 to 63 characters.

instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

When keychain authentication is configured for an OSPFv3 interface, OSPFv3 performs the following operations before sending a packet:

1.     Obtains a valid send key from the keychain.

OSPFv3 does not send the packet if it fails to obtain a valid send key.

2.     Uses the key ID, authentication algorithm, and key string to authenticate the packet.

If the key ID is greater than 65535, OSPFv3 does not send the packet.

When keychain authentication is configured for an OSPFv3 interface, OSPFv3 performs the following operations after receiving a packet:

1.     Uses the key ID carried in the packet to obtain a valid accept key from the keychain.

OSPFv3 discards the packet if it fails to obtain a valid accept key.

2.     Uses the authentication algorithm and key string for the valid accept key to authenticate the packet.

If the authentication fails, OSPFv3 discards the packet.

The ID of keys used for authentication can only be in the range of 0 to 65535.

Examples

# Configure VLAN-interface 10 to use keychain test for OSPFv3 packet authentication.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 authentication-mode keychain test

ospfv3 bfd enable

Use ospfv3 bfd enable to enable BFD on an OSPFv3 interface.

Use undo ospfv3 bfd enable to disable BFD on an OSPFv3 interface.

Syntax

ospfv3 bfd enable [ instance instance-id ]

undo ospfv3 bfd enable [ instance instance-id ]

Default

BFD for OSPFv3 is disabled.

Views

Interface view

Predefined user roles

network-admin

Parameters

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

BFD provides a mechanism to quickly detect the connectivity of links between OSPFv3 neighbors, improving the convergence speed of OSPFv3.

OSPFv3 uses BFD to implement bidirectional control detection.

Examples

# Enable BFD on VLAN-interface 11 in instance 1.

<Sysname> system-view

[Sysname] interface vlan-interface 11

[Sysname-Vlan-interface11] ospfv3 bfd enable instance 1

ospfv3 cost

Use ospfv3 cost to configure an OSPFv3 cost for an interface in an instance.

Use undo ospfv3 cost to restore the default.

Syntax

ospfv3 cost value [ instance instance-id ]

undo ospfv3 cost [ instance instance-id ]

Default

The cost is 1 for a VLAN interface, is 0 for a loopback interface, and is computed according to the interface bandwidth for other interfaces.

Views

Interface view

Predefined user roles

network-admin

Parameters

value: Specifies an OSPFv3 cost in the range of 0 to 65535 for a loopback interface, and in the range of 1 to 65535 for other interfaces.

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Examples

# Specifies the OSPFv3 cost for VLAN-interface 10 in instance 1 as 33.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 cost 33 instance 1

ospfv3 dr-priority

Use ospfv3 dr-priority to set the router priority for an interface in an instance.

Use undo ospfv3 dr-priority to restore the default.

Syntax

ospfv3 dr-priority priority [ instance instance-id ]

undo ospfv3 dr-priority [ instance instance-id ]

Default

An interface has a router ID of 1.

Views

Interface view

Predefined user roles

network-admin

Parameters

priority: Specifies a router priority in the range of 0 to 255.

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

An interface's router priority determines its privilege in DR/BDR selection.

Examples

# Set the router priority for VLAN-interface 10 in instance 1 to 8.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 dr-priority 8 instance 1

ospfv3 ipsec-profile

Use ospfv3 ipsec-profile to apply an IPsec profile to an OSPFv3 interface.

Use undo ospfv3 ipsec-profile to remove the IPsec profile from the OSPFv3 interface.

Syntax

ospfv3 ipsec-profile profile-name [ instance instance-id ]

undo ospfv3 ipsec-profile [ instance instance-id ]

Default

No IPsec profile is applied to an OSPFv3 interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

profile-name: Specifies an IPsec profile by its name, a case-sensitive string of 1 to 63 characters.

instance-id: Specifies an ID of the instance of the interface, in the range of 0 to 255. It defaults to 0.

Usage guidelines

This command must reference an IPsec profile. For more information about IPsec profiles, see Security Configuration Guide.

Examples

# Apply IPsec profile profile001 to OSPFv3 interface VLAN-interface 10.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 ipsec-profile profile001

ospfv3 mib-binding

Use ospfv3 mib-binding to bind MIB to an OSPFv3 process.

Use undo ospfv3 mib-binding to restore the default.

Syntax

ospfv3 mib-binding process-id

undo ospfv3 mib-binding

Default

MIB is bound to the OSPFv3 process with the smallest process ID.

Views

System view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535.

Usage guidelines

If the specified process ID does not exist, the MIB binding configuration fails.

Deleting an OSPFv3 process that has been bound to MIB also unbinds the OSPFv3 process from MIB, and re-binds MIB to the OSPFv3 process with the smallest process ID.

Examples

# Bind MIB to OSPFv3 process 100.

<Sysname> system-view

[Sysname] ospfv3 mib-binding 100

ospfv3 mtu-ignore

Use ospfv3 mtu-ignore to configure an interface to ignore MTU check during DD packet exchange.

Use undo ospfv3 mtu-ignore to restore the default.

Syntax

ospfv3 mtu-ignore [ instance instance-id ]

undo ospfv3 mtu-ignore [ instance instance-id ]

Default

An interface performs MTU check during DD packet exchange.

Views

Interface view

Predefined user roles

network-admin

Parameters

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

A neighbor relationship can be established only if the interface's MTU is the same as that of the peer.

Examples

# Configure VLAN-interface 10 that belongs to instance 1 to ignore MTU check during DD packet exchange.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 mtu-ignore instance 1

ospfv3 network-type

Use ospfv3 network-type to set the network type for an OSPFv3 interface.

Use undo ospfv3 network-type to restore the default.

Syntax

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

undo ospfv3 network-type [ instance instance-id ]

Default

The network type of an OSPFv3 interface depends on its link layer protocol.

·     For Ethernet and FDDI, the default network type is broadcast.

·     For ATM, FR, and X.25, the default network type is NBMA.

·     For PPP, LAPB, HDLC, and POS, the default network type is P2P.

Views

Interface view

Predefined user roles

network-admin

Parameters

broadcast: Specifies the network type as broadcast.

nbma: Specifies the network type as NBMA.

p2mp: Specifies the network type as P2MP.

unicast: Specifies the P2MP interface to unicast OSPFv3 packets. By default, a P2MP interface multicasts OSPFv3 packets.

p2p: Specifies the network type as P2P.

instance-id: Specifies the instance ID of an interface, in the range of 0 to 255. The default is 0.

Usage guidelines

If a router on a broadcast network does not support multicast, configure the network type for the connected interfaces as NBMA.

If any two routers on an NBMA network are directly connected through a virtual link, the network is fully meshed. You can configure the network type for the connected interfaces as NBMA. If two routers are not directly connected, configure the P2MP network type so that the two routers can exchange routing information through another router.

When the network type of an interface is NBMA or P2MP unicast, you must use the peer command to specify the neighbor.

When the network type of an interface is P2MP unicast, all OSPFv3 packets are unicast by the interface.

Examples

# Configure the OSPFv3 network type for VLAN-interface 20 as NBMA.

<Sysname> system-view

[Sysname] interface vlan-interface 20

[Sysname-Vlan-interface20] ospfv3 network-type nbma

Related commands

ospfv3 dr-priority

ospfv3 peer

Use ospfv3 peer to specify a neighbor and the DR priority of the neighbor.

Use undo ospfv3 peer to remove the configuration.

Syntax

ospfv3 peer ipv6-address [ cost value | dr-priority dr-priority ] [ instance instance-id ]

undo ospfv3 peer ipv6-address [ instance instance-id ]

Default

No link-local address is specified for the neighbor interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

ipv6-address: Specifies the link-local IPv6 address of the neighbor.

cost value: Specifies the cost of the neighbor, in the range of 1 to 65535.

dr-priority dr-priority: Specifies the DR priority of the neighbor, in the range of 0 to 255. The default is 1.

instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

For NBMA and P2MP interfaces (only when in unicast mode), you must specify the link-local IPv6 addresses of their neighbors because these interfaces cannot find neighbors through broadcasting hello packets. For NBMA interfaces, you can also specify DR priorities for their neighbors.

Examples

# On VLAN-interface 10, specify the link-local address of its neighbor as FE80::1111.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 peer fe80::1111

ospfv3 prefix-suppression

Use ospfv3 prefix-suppression to disable an OSPFv3 interface from advertising all its prefixes.

Use undo ospfv3 prefix-suppression to restore the default.

Syntax

ospfv3 prefix-suppression [ disable ] [ instance instance-id ]

undo ospfv3 prefix-suppression [ instance instance-id ]

Default

Prefix suppression is disabled on an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

disable: Disables prefix suppression for an interface.

instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

To disable prefix suppression for an interface associated with an OSPFv3 process that has been enabled with prefix suppression, use the ospfv3 prefix-suppression disable command on that interface.

Examples

# Enable prefix suppression for VLAN-interface 10.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 prefix-suppression

Related commands

prefix-suppression

ospfv3 timer dead

Use ospfv3 timer dead to configure the OSPFv3 neighbor dead time.

Use undo ospfv3 timer dead to restore the default.

Syntax

ospfv3 timer dead seconds [ instance instance-id ]

undo ospfv3 timer dead [ instance instance-id ]

Default

The OSPFv3 neighbor dead time is 40 seconds for P2P and broadcast interfaces, and is 120 seconds for P2MP and NBMA interfaces.

Views

Interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the dead time in the range of 1 to 65535 seconds.

Usage guidelines

If an interface receives no hello packet from a neighbor after dead time elapses, the interface considers the neighbor down.

The dead time must be at least four times the hello time and must be identical on interfaces attached to the same network segment.

Examples

# Configure the OSPFv3 neighbor dead time as 60 seconds for VLAN-interface 10.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 timer dead 60

Related commands

ospfv3 timer hello

ospfv3 timer hello

Use ospfv3 timer hello to configure the hello interval for an interface.

Use undo ospfv3 timer hello to restore the default.

Syntax

ospfv3 timer hello seconds [ instance instance-id ]

undo ospfv3 timer hello [ instance instance-id ]

Default

The hello interval is 10 seconds for P2P and broadcast interfaces, and is 30 seconds for P2MP or NBMA interfaces.

Views

Interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the hello interval in the range of 1 to 65535 seconds.

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

The shorter the hello interval is, the faster the topology converges and the more resources are consumed. Make sure the hello interval on two neighboring interfaces is the same.

Examples

# Configure the hello interval as 20 seconds for VLAN-interface 10.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 timer hello 20

Related commands

ospfv3 timer dead

ospfv3 timer poll

Use ospfv3 timer poll to set the poll interval on an NBMA interface.

Use undo ospfv3 timer poll to restore the default.

Syntax

ospfv3 timer poll seconds [ instance instance-id ]

undo ospfv3 timer poll [ instance instance-id ]

Default

The poll interval is 120 seconds on an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the poll interval in the range of 1 to 65535 seconds.

instance-id: Specifies an interface instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

When an NBMA interface finds its neighbor is down, it sends hello packets at the poll interval.

The poll interval must be at least four times the hello interval.

Examples

# Set the poll interval on VLAN-interface 10 to 120 seconds.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 timer poll 120

Related commands

ospfv3 timer hello

ospfv3 timer retransmit

Use ospfv3 timer retransmit to configure the LSA retransmission interval for an interface.

Use undo ospfv3 timer retransmit to restore the default.

Syntax

ospfv3 timer retransmit seconds [ instance instance-id ]

undo ospfv3 timer retransmit [ instance instance-id ]

Default

The interval defaults to 5 seconds.

Views

Interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the LSA retransmission interval in the range of 1 to 3600 seconds.

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

After the device sends an LSA to its neighbor, it waits for an acknowledgment. If the device receives no acknowledgment after the LSA retransmission interval elapses, it will retransmit the LSA.

To avoid unnecessary retransmissions, set an appropriate retransmission interval. For example, you can set a large retransmission interval value on a low-speed link.

Examples

# Configure the LSA retransmission interval on VLAN-interface 10 in instance 1 as 12 seconds.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 timer retransmit 12 instance 1

ospfv3 trans-delay

Use ospfv3 trans-delay to configure the transmission delay for an interface.

Use undo ospfv3 trans-delay to restore the default.

Syntax

ospfv3 trans-delay seconds [ instance instance-id ]

undo ospfv3 trans-delay [ instance instance-id ]

Default

The transmission delay is 1 second.

Views

Interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the transmission delay in the range of 1 to 3600 seconds.

instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

Each LSA in the LSDB has an age that is incremented by 1 every second, but the age does not change during transmission. Therefore, it is necessary to add a transmission delay into the age time, especially for low-speed links.

Examples

# Configure the transmission delay as 3 seconds for VLAN-interface 10 in instance 1.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 trans-delay 3 instance 1

preference

Use preference to specify a preference for OSPFv3 routes.

Use undo preference to restore the default.

Syntax

preference [ ase ] preference

undo preference [ ase ]

Default

The preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

ase: Sets a preference to OSPFv3 external routes. If you do not specify this keyword, the command sets a preference for OSPFv3 internal routes.

preference: Specifies the preference of OSPFv3, in the range of 1 to 255. The smaller the value, the higher the preference.

Usage guidelines

If multiple routing protocols find multiple routes to the same destination, the router uses the route found by the protocol with the highest preference.

Examples

# Set a preference of 150 for OSPFv3 routes.

<Sysname> system-view

[Sysname] OSPFv3

[Sysname-OSPFv3-1] preference 150

prefix-suppression

Use prefix-suppression to disable an OSPFv3 process from advertising all prefixes except for the prefixes of loopback interfaces and passive interfaces.

Use undo prefix-suppression to restore the default.

Syntax

prefix-suppression

undo prefix-suppression

Default

An OSPFv3 process advertises all prefixes.

Views

OSPFv3 view

Predefined user roles

network-admin

Usage guidelines

To disable an OSPFv3 process from advertising the prefixes of loopback and passive interfaces, configure prefix suppression on the interfaces by using the ospfv3 prefix-suppression command.

When prefix suppression is enabled:

·     OSPFv3 does not advertise the prefixes of suppressed interfaces in Type-8 LSAs.

·     On broadcast and NBMA networks, the DR does not advertise the prefixes of suppressed interfaces in Type-9 LSAs that reference Type-2 LSAs.

·     On P2P and P2MP networks, OSPFv3 does not advertise the prefixes of suppressed interfaces in Type-9 LSAs that reference Type-1 LSAs.

Examples

# Enable prefix suppression for OSPFv3 process 100.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] prefix-suppression

Related commands

ospfv3 prefix-suppression

reset ospfv3 process

Use reset ospfv3 process to restart OSPFv3 processes.

Syntax

reset ospfv3 [ process-id ] process [ graceful-restart ]

Views

User view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command restarts all OSPFv3 processes.

graceful-restart: Restarts the OSPFv3 process by using GR.

Usage guidelines

The reset ospfv3 process command performs the following actions:

·     Clears all invalid LSAs without waiting for their timeouts.

·     Starts a new DR/BDR election.

·     Keeps previous OSPFv3 configurations.

The system prompts you to select whether to restart OSPFv3 process upon execution of this command.

Examples

# Restart all OSPFv3 processes.

<Sysname> reset ospfv3 process

Reset OSPFv3 process? [Y/N]:y

reset ospfv3 redistribution

Use reset ospfv3 redistribution to restart route redistribution.

Syntax

reset ospfv3 [ process-id ] redistribution

Views

User view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command restarts route redistribution for all OSPFv3 processes.

Examples

# Restart route redistribution.

<Sysname> reset ospfv3 redistribution

reset ospfv3 statistics

Use reset ospfv3 statistics to clear OSPFv3 statistics.

Syntax

reset ospfv3 [ process-id ] statistics

Views

User view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command clears statistics for all OSPFv3 processes.

Examples

# Clear statistics for all OSPFv3 processes.

<Sysname> reset ospfv3 statistics

router-id

Use router-id to configure a router ID.

Use undo router-id to remove the configured router ID.

Syntax

router-id router-id

undo router-id

Default

No router ID is configured.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

router-id: Specifies a router ID in IPv4 address format.

Usage guidelines

The router ID is the unique identifier for the device to run OSPFv3 in the AS. An OSPFv3 process cannot run without a router ID.

Different processes must have different router IDs.

Examples

# Configure the router ID 10.1.1.3 for OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] router-id 10.1.1.3

Related commands

ospfv3

snmp-agent trap enable ospfv3

Use snmp-agent trap enable ospfv3 to enable SNMP notifications for OSPFv3.

Use undo snmp-agent trap enable ospfv3 to disable the feature.

Syntax

snmp-agent trap enable ospfv3 [ grrestarter-status-change | grhelper-status-change | if-state-change | if-cfg-error | if-bad-pkt | neighbor-state-change | nssatranslator-status-change | virtif-bad-pkt | virtif-cfg-error | virtif-state-change | virtgrhelper-status-change | virtneighbor-state-change ] *

undo snmp-agent trap enable ospfv3 [ grrestarter-status-change | grhelper-status-change | if-state-change | if-cfg-error | if-bad-pkt | neighbor-state-change | nssatranslator-status-change | virtif-bad-pkt | virtif-cfg-error | virtif-state-change | virtgrhelper-status-change | virtneighbor-state-change ] *

Default

SNMP notifications for OSPFv3 are enabled.

Views

System view

Predefined user roles

network-admin

Parameters

grrestarter-status-change: Specifies notifications about GR restarter state change.

grhelper-status-change: Specifies notifications about GR helper state change.

if-state-change: Specifies notifications about interface state change.

if-cfg-error: Specifies notifications about error configuration of an interface.

if-bad-pkt: Specifies notifications about error messages received on an interface.

neighbor-state-change: Specifies notifications about neighbor state change.

nssatranslator-status-change: Specifies notifications about NSSA translator state change.

virtif-bad-pkt: Specifies notifications about error messages received on a virtual interface.

virtif-cfg-error: Specifies notifications about error configuration of a virtual interface.

virtif-state-change: Specifies notifications about virtual interface state changes.

virtgrhelper-status-change: Specifies notifications about neighbor GR helper state changes of a virtual interface.

virtneighbor-state-change: Specifies notifications about the neighbor state changes of a virtual interface.

Examples

# Disable SNMP notifications for OSPFv3.

<Sysname> system-view

[Sysname] undo snmp-agent trap enable ospfv3

snmp context-name

Use snmp context-name to configure an SNMP context for OSPFv3.

Use undo snmp context-name to restore the default.

Syntax

snmp context-name context-name

undo snmp context-name

Default

No SNMP context is configured for OSPFv3.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

context-name: Specifies a context name, a case-sensitive string of 1 to 32 characters.

Usage guidelines

The standard OSPFv3 MIB provides only single-instance MIB objects. For SNMP to correctly identify OSPFv3 management information in the standard OSPFv3 MIB, you must configure a unique context name for OSPFv3. If multiple OSPFv3 processes exist, you must assign a unique context to each process.

Context is a method introduced to SNMPv3 for multiple-instance management. For SNMPv1/v2c, you must specify a community name as a context name for protocol identification.

Examples

# Configure the SNMP context name as mib for OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] snmp context-name mib

snmp trap rate-limit

Use snmp trap rate-limit to configure the SNMP notification output interval and the maximum number of SNMP notifications that can be output at each interval.

Use undo snmp trap rate-limit to restore the default.

Syntax

snmp trap rate-limit interval trap-interval count trap-number

undo snmp trap rate-limit

Default

OSPFv3 outputs a maximum of seven SNMP notifications within 10 seconds.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

trap-interval: Specifies the SNMP notification output interval in the range of 2 to 60 seconds.

trap-number: Specifies the number of SNMP notifications output by OSPFv3 at each interval, in the range of 0 to 300.

Examples

# Configure OSPFv3 to output a maximum of 10 SNMP notifications within 5 seconds.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] snmp trap rate-limit interval 5 count 10

silent-interface(OSPFv3 view)

Use silent-interface to disable the specified interface from receiving and sending OSPFv3 packets.

Use undo silent-interface to restore the default.

Syntax

silent-interface { interface-type interface-number | all }

undo silent-interface { interface-type interface-number | all }

Default

An interface can receive and send OSPFv3 packets.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

interface-type interface-number: Specifies an interface by its type and number.

all: Specifies all interfaces.

Usage guidelines

Multiple processes can disable the same interface from receiving and sending OSPFv3 packets. However, the silent-interface command takes effect only on interfaces enabled with the current process.

Examples

# Disable VLAN-interface 10 from receiving and sending OSPFv3 packets in OSPFv3 processes 100 and 200.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] router-id 10.100.1.9

[Sysname-ospfv3-100] silent-interface vlan-interface 10

[Sysname-ospfv3-100] quit

[Sysname] ospfv3 200

[Sysname-ospfv3-200] router-id 20.100.1.9

[Sysname-ospfv3-200] silent-interface vlan-interface 10

spf-schedule-interval

Use spf-schedule-interval to set the OSPFv3 SPF calculation interval.

Use undo spf-schedule-interval to restore the default.

Syntax

spf-schedule-interval maximum-interval [ minimum-interval [ incremental-interval ] ]

undo spf-schedule-interval

Default

The maximum SPF calculation interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

maximum-interval: Specifies the maximum OSPFv3 route calculation interval in the range of 1 to 60 seconds.

minimum-interval: Specifies the minimum OSPFv3 route calculation interval in the range of 10 to 60000 milliseconds.

incremental-interval: Specifies the incremental OSPFv3 route calculation interval in the range of 10 to 60000 milliseconds.

Usage guidelines

Based on the LSDB, an OSPFv3 router uses SPF to calculate a shortest path tree with itself being the root. OSPFv3 uses the shortest path tree to determine the next hop to a destination. By adjusting the SPF calculation interval, you can prevent overconsumption of bandwidth and router resources due to frequent topology changes.

For a stable network, the minimum interval is used. If network changes become frequent, the SPF calculation interval is incremented by the incremental interval for each calculation until the maximum interval is reached.

The minimum interval and the incremental interval cannot be greater than the maximum interval.

Examples

# Configure the maximum SPF calculation interval as 10 seconds, minimum interval as 500 milliseconds and incremental interval as 300 milliseconds.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] spf-schedule-interval 10 500 300

stub (OSPFv3 area view)

Use stub to configure an area as a stub area.

Use undo stub to restore the default.

Syntax

stub [ default-route-advertise-always | no-summary ] *

undo stub

Default

No area is configured as a stub area.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

default-route-advertise-always: Enables the ABR to always advertise the default route.

no-summary: Enables the ABR of a stub area to advertise only a default route in an Inter-Area-Prefix-LSA into the stub area. No AS-external-LSA, Inter-Area-Prefix-LSA, or other Inter-Area-Router-LSA is advertised in the area. The stub area of this kind is also known as a "totally stub area."

Usage guidelines

To remove the no-summary configuration on an ABR, execute the stub command again to overwrite it.

To configure an area as a stub area, use the stub command on all routers attached to the area.

Examples

# Configure OSPFv3 area 1 as a stub area.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 1

[Sysname-ospfv3-1-area-0.0.0.1] stub

Related commands

default-cost (OSPFv3 area view)

stub-router

Use stub-router to configure a router as a stub router.

Use undo stub-router to restore the default.

Syntax

stub-router r-bit [ include-stub | on-startup { seconds | wait-for-bgp [ seconds ] } ] *

stub-router max-metric [ external-lsa [ max-metric-value ] | summary-lsa [ max-metric-value ] | include-stub | on-startup { seconds | wait-for-bgp [ seconds ] } ] *

undo stub-router

Default

The router is not configured as a stub router.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

r-bit: Clears the R-bit of the Option field in Type-1 LSAs.

max-metric: Advertises the locally generated Type-1 LSAs with the maximum cost of 65535.

external-lsa max-metric-value: Specifies a cost for external LSAs, in the range of 1 to 16777215. The default is 16711680.

summary-lsa max-metric-value: Specifies a cost for Type-3 and Type-4 LSAs, in the range of 1 to 16777215. The default is 16711680.

include-stub: Sets the cost for Type-9 LSAs that reference Type-1 LSAs to the maximum value 65535.

on-startup seconds: Specifies the router as a stub router during reboot, and specifies the timeout time in the range of 5 to 86400 seconds.

wait-for-bgp seconds: Specifies the router as a stub router during BGP route convergence after reboot, and specifies the timeout time in the range of 5 to 86400 seconds. The default timeout time is 600 seconds.

Usage guidelines

You can use the stub-router r-bit command or stub-router max-metric command to configure a router as a stub router.

·     The stub-router r-bit command clears the R-bit of the Option field in Type-1 LSAs. When the R-bit is clear, the OSPFv3 router can participate in OSPFv3 topology distribution without forwarding traffic.

·     The stub-router max-metric command specifies the OSPFv3 max-metric router LSA feature. This feature enables OSPFv3 to advertise its locally generated Type-1 LSAs with a maximum cost of 65535. Neighbors do not send packets to the stub router as long as they have a route with a smaller cost.

Examples

# Configure a stub router.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] stub-router r-bit

transmit-pacing

Use transmit-pacing to configure the maximum number of LSU packets that can be sent at the specified interval.

Use undo transmit-pacing to restore the default.

Syntax

transmit-pacing interval interval count count

undo transmit-pacing

Default

An OSPFv3 interface sends a maximum of three LSU packets every 20 milliseconds.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

interval interval: Specifies an interval at which an interface sends LSU packets, in the range of 10 to 1000 milliseconds. If the router has multiple OSPFv3 interfaces, increase this interval to reduce the total number of LSU packets sent by the router every second.

count count: Specifies the maximum number of LSU packets sent by an interface at each interval, in the range of 1 to 200. If the router has multiple OSPFv3 interfaces, decrease the maximum number to reduce the total number of LSU packets sent by the router every second.

Examples

# Configure all the interfaces running OSPFv3 process 1 to send a maximum of 10 LSU packets every 30 milliseconds.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] transmit-pacing interval 30 count 10

vlink-peer (OSPFv3 area view)

Use vlink-peer to configure a virtual link.

Use undo vlink-peer to remove a virtual link.

Syntax

vlink-peer router-id [ dead seconds | hello seconds | instance instance-id | ipsec-profile profile-name | retransmit seconds | trans-delay seconds ] *

undo vlink-peer router-id [ dead | hello | ipsec-profile | retransmit | trans-delay ] *

Default

No virtual link is configured.

Views

OSPFv3 area view

Predefined user roles

network-admin

Parameters

router-id: Specifies the router ID of the neighbor on the virtual link.

dead seconds: Sets the dead interval in the range of 1 to 32768 seconds. The default is 40. The dead interval must be identical with that on the virtual link neighbor, and must be at least four times the hello interval.

hello seconds: Sets the hello interval in the range of 1 to 8192 seconds. The default is 10. It must be identical with the hello interval on the virtual link neighbor.

instance instance-id: Sets the instance ID of a virtual link, in the range of 0 to 255. The default is 0.

ipsec-profile profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters. For more information about IPsec profiles, see Security Configuration Guide.

retransmit seconds: Sets the retransmission interval in the range of 1 to 3600 seconds. The default is 5.

trans-delay seconds: Sets the transmission delay interval in the range of 1 to 3600 seconds. The default is 1.

Usage guidelines

You can configure a virtual link to maintain connectivity between a non-backbone area and the backbone, or in the backbone itself. A virtual link is similar to an interface with OSPFv3 enabled. You can configure parameters such as hello, dead, retransmit and trans-delay for the virtual link.

Both ends of a virtual link must be ABRs that are configured with the vlink-peer command.

The following guidelines apply to parameters:

·     The smaller the hello interval is, the faster the network converges, and the more network resources are consumed.

·     For a low speed link, set a large retransmission interval to avoid unnecessary retransmissions.

·     Specify a transmission delay with the trans-delay keyword by considering the interface delay.

Examples

# Configure a virtual link to 10.10.0.3.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 1

[Sysname-ospfv3-1-area-0.0.0.1] vlink-peer 10.10.0.3

Related commands

display ospfv3 vlink