03-IP Routing Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)03-IP Routing Volume
09-IPv6 OSPFv3 commands
Title Size Download
09-IPv6 OSPFv3 commands 178.61 KB

 

l          The term “router” in this document refers to a router in a generic sense or a Layer 3 switch.

l          EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features.

 

OSPFv3 Configuration Commands

abr-summary (OSPFv3 area view)

Syntax

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

undo abr-summary ipv6-address prefix-length

View

OSPFv3 area view

Default Level

2: System level

Parameters

ipv6-address: Destination IPv6 address of the summary route.

prefix-length: Prefix length of the destination IPv6 address, in the range 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.

Description

Use the abr-summary command to configure an IPv6 summary route on an area border router.

Use the undo abr-summary command to remove an IPv6 summary route. Then the summarized routes are advertised.

By default, no route summarization is available on an ABR.

You can use this command only on an ABR to configure a summary route for the area. The ABR advertises only the summary route to other areas. Multiple contiguous networks may be available in an area, where you can summarize them with one route for advertisement.

Examples

# Summarize networks 2000:1:1:1::/64 and 2000:1:1:2::/64 in Area 1 with 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 (OSPFv3 view)

Syntax

area area-id

View

OSPFv3 view

Default Level

2: System level

Parameters

area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and changed to IPv4 address format by the system) or an IPv4 address.

Description

Use the area command to enter OSPFv3 area view.

 

The undo form of the command is not available. An area is removed automatically if there is no configuration and no interface is up in the area.

 

Examples

# Enter OSPFv3 Area 0 view.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 0

[Sysname-ospfv3-1-area-0.0.0.0]

bandwidth-reference

Syntax

bandwidth-reference value

undo bandwidth-reference

View

OSPFv3 view

Default Level

2: System level

Parameters

value: Bandwidth reference value for link cost calculation, in the range 1 to 2147483648 Mbps.

Description

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

Use the undo bandwidth-reference command to restore the default value.

The default value is 100 Mbps.

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

l          Configure the cost value in interface view.

l          Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on the bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface bandwidth. If the calculated cost is greater than 65535, the value of 65535 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 cost

Syntax

default cost value

undo default cost

View

OSPFv3 view

Default Level

2: System level

Parameters

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

Description

Use the default cost command to configure a default cost for redistributed routes.

Use the undo default cost command to restore the default.

By default, the default cost is 1.

You need to configure the default cost value for redistributed routes to advertise them throughout the whole AS.

If multiple OSPFv3 processes are available, use of this command takes effect for the current process only.

Examples

# Specify the default cost for redistributed routes as 10.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] default cost 10

default-cost (OSPFv3 area view)

Syntax

default-cost value

undo default-cost

View

OSPFv3 area view

Default Level

2: System level

Parameters

value: Specifies a cost for the default route advertised to the stub area, in the range of 0 to 65535. The default is 1.

Description

Use the default-cost command to specify the cost of the default route to be advertised to the stub area.

Use the undo-default-cost command to restore the default value.

Use of this command is only available on the ABR that is connected to a stub area.

You have two commands to configure a stub area: stub, defaulted-cost. You need to use the stub command on routers connected to a stub area to configure the area as stub.  

If multiple OSPFv3 processes are running, use of this command takes effect only for the current process.

Related commands: stub.

Examples

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

<Sysname> system-view

[Sysname] ospfv3

[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

default-route-advertise

Syntax

default-route-advertise [ always | cost cost | type type | route-policy

route-policy-name ] *

undo default-route-advertise

View

OSPFv3 view

Default Level

2: System level

Parameters

always: Generates a default route in an ASE LSA into the OSPF routing domain regardless of whether the default route exists in the  routing table. Without this keyword, the command can distribute a default route in a Type-5 LSA into the OSPF routing domain only when the default route exists in the routing table.

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

type type: Specifies a type for the ASE LSA: 1 or 2. The default is 2.

route-policy route-policy-name: Specifies a route policy name, a string of 1 to 19 characters.

Description

Use the default-route-advertise command to generate a default route into the OSPF routing domain.

Use the undo default-route-advertise command to disable OSPF from redistributing a default route.

By default, no default route is redistributed.

Using the import-route command cannot redistribute a default route. To do so, you need to use the default-route-advertise command. If no default route exists in the router's routing table, use the default-route-advertise always command to generate a default route in a Type-5 LSA.

You can reference a routing policy to set the cost and type of the default route:

l          The router advertises the default route only when it passes the routing policy.

l          The default route passing the routing policy uses the cost set by the apply cost clause, and the type set by the apply cost-type clause in the routing policy.

l          The default route cost’s priority from high to low is: the cost set by the apply cost clause in the routing policy, the one set by the default-route-advertise command and the one set by the default cost command.

l          The default route type’s priority from high to low is: the type set by the apply cost-type clause in the routing policy, and the one set by the default-route-advertise command.

l          If the always keyword is included, the default route is advertised regardless of whether it passes the routing policy and uses the cost and type specified by the apply cost, apply cost-type clauses in the first node of the routing policy.

Related commands: import-route.

Examples

# Generate a default route into the OSPFv3 routing domain.

<Sysname> system-view

[Sysname] ospfv3 1

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

display ospfv3

Syntax

display ospfv3 [ process-id ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.

Description

Use the display ospfv3 command to display the brief information of an OSPFv3 process. If no process ID is specified, OSPFv3 brief information about all processes will be displayed.

Examples

# Display brief information about all OSPFv3 processes.

<Sysname> display ospfv3

Routing Process "OSPFv3 (1)" with ID 1.1.1.1

 SPF schedule delay 5 secs, Hold time between SPFs 10 secs

 Minimum LSA interval 5 secs, Minimum LSA arrival 1 secs

 Number of external LSA 0. These external LSAs’ checksum Sum 0x0000

 Number of AS-Scoped Unknown LSA 0

 Number of LSA originated 3

 Number of LSA received 0

 Number of areas in this router is 1

  Area 0.0.0.1

       Number of interfaces in this area is 1

       SPF algorithm executed 1 times

       Number of LSA 2. These LSAs’ checksum Sum 0x20C8

       Number of Unknown LSA 0

Table 1-1  display ospfv3 command output description

Field

Description

Routing Process "OSPFv3 (1)" with ID 1.1.1.1

OSPFv3 process is 1, and router ID is 1.1.1.1.

SPF schedule delay

Delay interval of SPF calculation

Hold time between SPFs

Hold time between SPF calculations

Minimum LSA interval

Minimum interval for generating LSAs

Minimum LSA arrival

Minimum LSA repeat arrival interval

Number of external LSA

Number of ASE LSAs

These external LSAs’ checksum Sum

Sum of all the ASE LSAs’ checksum

Number of AS-Scoped Unknown LSA

Number of LSAs with unknown flooding scope

Number of LSA originated

Number of LSAs originated

Number of LSA received

Number of LSAs received

Number of areas in this router

Number of areas this router is attached to

Area

Area ID

Number of interfaces in this area

Number of interfaces attached to this area

SPF algorithm executed 1 times

SPF algorithm is executed 1 time

Number of LSA

Number of LSAs

These LSAs’ checksum Sum

Sum of all LSAs’ checksum

Number of Unknown LSA

Number of unknown LSAs

 

display ospfv3 interface

Syntax

display ospfv3 interface [ interface-type interface-number | statistic ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Interface type and interface number.

statistic: Displays the interface statistics.

Description

Use the display ospfv3 interface command to display OSPFv3 interface information.

Examples

# Display OSPFv3 interface information.

<Sysname> display ospfv3 interface vlan-interface 100

Vlan-interface100 is up, line protocol is up

  Interface ID 2320063

  IPv6 Prefixes

    FE80::200:FCFF:FE00:6505 (Link-Local Address)

    1::1

  OSPFv3 Process (1), Area 0.0.0.0, Instance ID 0

    Router ID: 1.1.1.1, Network Type: BROADCAST, Cost: 1

    Transmit Delay is 1 sec, State: Waiting, Priority: 1

    No designated router on this link

    No backup designated router on this link

    Timer interval configured

      Hello: 10, Dead: 40, Poll: 40, Wait: 40, Retransmit: 5

      Hello due in 00:00:05

    Neighbor Count is 0, Adjacent neighbor count is 0

Table 1-2  display ospfv3 interface command output description

Field

Description

Interface ID

Interface ID

IPv6 Prefixes

IPv6 Prefix

OSPFv3 Process

OSPFv3 Process

Area

Area ID

Instance ID

Instance ID

Router ID

Router ID

Network Type

Network type of the interface

Cost

Cost value of the interface

Transmit Delay

Transmission delay of the interface

State

Interface state

Priority

DR priority of the interface

No designated router on this link

No designated router on this link

No backup designated router on this link

No backup designated router on this link

Timer interval configured, Hello: 10, Dead: 40, Poll: 40, Wait: 40, Retransmit: 5

Time intervals in seconds configured on the interface, Hello: 10, Dead: 40, Poll: 40, Wait: 40, Retransmit: 5

Hello due in 00:00:02

Hello packet will be sent in 2 seconds

Neighbor Count

Number of Neighbors on the interface

Adjacent neighbor count

Number of Adjacencies on the interface

 

display ospfv3 lsdb

Syntax

display ospfv3 [ process-id ] lsdb [ [ external | inter-prefix | inter-router | intra-prefix | link | network | router ] [ link-state-id ] [ originate-router router-id ] | total ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535.

external: Displays information about AS-external LSAs.

inter-prefix: Displays information about Inter-area-prefix LSAs.

inter-router: Displays information about Inter-area-router LSAs.

intra-prefix: Displays information about Intra-area-prefix LSAs.

link: Displays information about Link-LSAs.

network: Displays information about Network-LSAs.

router: Displays information about Router-LSAs.

link-state-id: Link state ID, an IPv4 address.

originate-router router-id: ID of the advertising router .

total: Displays the LSA statistics information in the LSDB.

Description

Use the display ospfv3 lsdb command to display OSPFv3 LSDB information.

Examples

# Display OSPFv3 LSDB information.

<Sysname> display ospfv3 lsdb

 

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

               Link-LSA (Interface Vlan-interface100)

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

Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix

2.50.0.99       1.1.1.1          0212  0x80000002 0x1053      1

 

               Router-LSA (Area 0.0.0.0)

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

Link State ID   Origin Router    Age   SeqNum     CkSum    Link

0.0.0.0         1.1.1.1          0167  0x80000004 0x0a21      0

 

               Intra-Area-Prefix-LSA (Area 0.0.0.0)

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

Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix  Reference

0.0.0.1         1.1.1.1          0162  0x80000004 0x0cac      1  Router-LSA

Table 1-3  display ospfv3 lsdb command output description

Field

Description

Link-LSA

Each Link-LSA describes the IPv6 address prefix of the link and Link-local address of the router

Link State ID

Link State ID

Origin Router

Originating Router

Age

Age of LSAs

SeqNum

LSA sequence number

CkSum

LSA Checksum

Prefix

Number of Prefixes

Router-LSA

Originated by all routers. This LSA describes the collected states of the router's interfaces to an area. Flooded throughout a single area only.

Link

Number of links

Intra-Area-Prefix-LSA

Each Intra-Area-Prefix-LSA contains IPv6 prefix information on a router, stub area or transit area information

Reference

Type of referenced LSA

 

# Display Link-local LSA information in the LSDB.

<Sysname> display ospfv3 lsdb link

 

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

 

                Link-LSA (Interface Vlan-interface100)

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

  LS age            : 634

  LS Type           : Link-LSA

  Link State ID     : 2.50.0.99

  Originating Router: 1.1.1.1

  LS Seq Number     : 0x80000002

  Checksum          : 0x1053

  Length            : 56

  Priority          : 1

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

  Link-Local Address: FE80::200:FCFF:FE00:6505

  Number of Prefixes: 1

      Prefix        : 1::/64

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

Table 1-4  display ospfv3 lsdb command output description

Field

Description

LS age

Age of LSA

LS Type

Type of LSA

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 ospfv3 lsdb statistic

Syntax

display ospfv3 lsdb statistic

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display ospfv3 lsdb statistic command to display LSA statistics in the OSPFv3 LSDB.

Examples

# Display OSPFv3 LSDB statistics.

<System> display ospfv3 lsdb statistic

 

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

                           LSA Statistics

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

Area ID         Router   Network  InterPre InterRou IntraPre Link     ASE

0.0.0.0         2        1        1        0        1

0.0.0.1         1        0        1        0        1

Total           3        1        2        0        2        3        0

Table 1-5 Descriptions on the fields of the display ospfv3 lsdb statistic command output description

Field

Description

Area ID

Area ID

Router

Router-LSA number

Network

Network-LSA number

InterPre

Inter-Area-Prefix-LSA number

InterRou

Inter-Area-Router-LSA number

IntraPre

Intra-Area-Prefix-LSA number

Link

Link-LSA number

ASE

AS-external-LSA number

Total

Total LSA number

 

display ospfv3 next-hop

Syntax

display ospfv3 [ process-id ] next-hop

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535.

Description

Use the display ospfv3 next-hop command to display OSPFv3 next hop information.

If no process is specified, next hop information of all OSPFv3 processes is displayed.

Examples

# Display OSPFv3 next hop information.

<Sysname> display ospfv3 next-hop

 

            OSPFv3 Router with ID (2.2.2.2) (Process 1)

Neighbor-Id     Next-Hop                              Interface   RefCount

1.1.1.1         FE80::20F:E2FF:FE00:1                 Vlan100      1

Table 1-6  display ospfv3 next-hop command output description

Field

Description

Neighbor-Id

Neighboring router ID

Next-hop

Next-hop address

Interface

Outbound interface

RefCount

Reference count

 

display ospfv3 peer

Syntax

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

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.

area: Specifies to display neighbor information of the specified area.

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

interface-type interface-number: interface type and number.

verbose: Display detailed neighbor information.

peer-router-id: Router-ID of the specified neighbor.

Description

Use the display ospfv3 peer command to display OSPFv3 neighbor information.

l          If no area-id is specified, the neighbor information of all areas is displayed.

l          If no process-id is specified, the information of all processes is displayed.

l          If no interface or neighbor Router-ID is specified, the neighbor information of all interfaces is displayed.

Examples

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

<Sysname> display ospfv3 1 peer vlan-interface 10

                      OSPFv3 Process (1)

Neighbor ID     Pri   State            Dead Time   Interface  Instance ID

1.1.1.1         1     Full/ -          00:00:30    vlan10     0

Table 1-7  display ospfv3 peer command output description

Field

Description

Neighbor ID

Router ID of a neighbor

Pri

Priority of neighbor router

State

Neighbor state

Dead Time

Dead time remained

Interface

Interface connected to the neighbor

Instance ID

Instance ID

 

# Display detailed neighbor information of OSPFv3 process 100 of an interface.

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

 

                      OSPFv3 Process (1)

 Neighbor 1.1.1.1 is Full, interface address FE80::200:FCFF:FE00:6505

    In the area 0.0.0.0 via interface Vlan-interface100

    DR is 1.1.1.1 BDR is 1.1.1.2

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

    Dead timer due in 00:00:33

    Neighbor is up for 00:00:17

    Database Summary List 0

    Link State Request List 0

    Link State Retransmission List 0   

Table 1-8  display ospfv3 peer verbose command output description

Field

Description

Neighbor

Neighbor ID

interface address

Interface address

In the area 0.0.0.0 via interface Vlan-interface100

Interface Vlan-interface100 belongs to area 0

DR is 1.1.1.1 BDR is 1.1.1.2

DR is 1.1.1.1 BDR is 1.1.1.2

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

The option is 0x000013 (-|R|-|-|E|V6)

Dead timer due in 00:00:33

Dead timer due in 00:00:33

Neighbor is up for 00:00:17

Neighbor is up for 00:00:17

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

 

display ospfv3 peer statistic

Syntax

display ospfv3 peer statistic

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display ospfv3 peer statistic command to display information about all OSPFv3 neighbors on the router, that is, numbers of neighbors in different states.

Examples

# Display information about all OSPFv3 neighbors.

<Sysname> display ospfv3 peer statistic

 

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

                           Neighbor Statistics

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

Area ID         Down     Init     2-way    ExStar   Exchange Loading  Full

0.0.0.0         0        0        0        0        0        0        1

Total           0        0        0        0        0        0        1

Table 1-9 display ospfv3 peer statistic command output description

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.

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

Indicates 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 master/slave 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

Indicates LSDB synchronization has been accomplished between neighbors.

Total

Total number of neighbors under the same state

 

display ospfv3 request-list

Syntax

display ospfv3 [ process-id ] request-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router ip-address ] | statistics ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID, in the range 1 to 65535.

external: Displays the AS-external LSA information of the OSPFv3 link state request list.

inter-prefix: Displays the Inter-area-prefix LSA information of the OSPFv3 link state request list.

inter-router: Displays the Inter-area-router LSA information of the OSPFv3 link state request list.

intra-prefix: Displays the Intra-area-prefix LSA information of the OSPFv3 link state request list.

link: Displays the Link LSA information of the OSPFv3 link state request list.

network: Displays the Network-LSA information of the OSPFv3 link state request list.

router: Displays the Router-LSA information of the OSPFv3 link state request list.

link-state-id: Link state ID, in the format of an IPv4 address.

originate-router ip-address: Specifies the router ID of an advertising router.

statistics: Displays the LSA statistics of the OSPFv3 link state request list.

Description

Use the display ospfv3 request-list command to display OSPFv3 link state request list information.

If no process is specified, the link state request list information of all OSPFv3 processes is displayed.

Examples

# Display the information of OSPFv3 link state request list.

<Sysname> display ospfv3 request-list

         OSPFv3 Router with ID (11.1.1.1) (Process 1)

             Interface Vlan100    Area-ID 0.0.0.0

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

                          Nbr-ID   12.1.1.1

LS-Type               LS-ID           AdvRouter       SeqNum       Age  CkSum

Router-LSA            0.0.0.0         12.1.1.1          0x80000014    774  0xe5b0

Table 1-10   display ospfv3 request-list command output description

Field

Description

Interface

Interface name

Area-ID

Area ID

Nbr-ID

Neighbor router ID

LS-Type

Type of LSA

LS-ID

Link state ID

AdvRouter

Advertising router

SeqNum

LSA sequence number

Age

Age of LSA

CkSum

Checksum

 

# Display the statistics of OSPFv3 link state request list.

<Sysname> display ospfv3 request-list statistics

            OSPFv3 Router with ID (11.1.1.1) (Process 1)

Interface  Neighbor        LSA-Count

Vlan100     10.1.1.1        0

Table 1-11  display ospfv3 request-list statistics command output description

Field

Description

Interface

Interface name

Neighbor

Neighbor router ID

LSA-Count

Number of LSAs in the request list

 

display ospfv3 retrans-list

Syntax

display ospfv3 [ process-id ] retrans-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router ip-address ] | statistics ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID, in the range 1 to 65535.

external: Displays the AS-external LSA information of the OSPFv3 link state retransmission list.

inter-prefix: Displays the Inter-area-prefix LSA information of the OSPFv3 link state retransmission list.

inter-router: Displays the Inter-area-router LSA information of the OSPFv3 link state retransmission list.

intra-prefix: Displays the Intra-area-prefix LSA information of the OSPFv3 link state retransmission list.

link: Displays the Link LSA information of the OSPFv3 link state retransmission list.

network: Displays the Network-LSA information of the OSPFv3 link state retransmission list.

router: Displays the Router-LSA information of the OSPFv3 link state retransmission list.

link-state-id: Link state ID, in the format of an IPv4 address.

originate-router ip-address: Specifies the router ID of an advertising router.

statistics: Displays the LSA statistics of the OSPFv3 link state retransmission list.

Description

Use the display ospfv3 retrans-list command to display the OSPFv3 link state retransmission list.

If no process is specified, the link state retransmission list information of all OSPFv3 processes is displayed.

Examples

# Display the information of the OSPFv3 link state retransmission list.

<Sysname> display ospfv3 retrans-list

            OSPFv3 Router with ID (11.1.1.1) (Process 1)

             Interface Vlan100    Area-ID 0.0.0.0

--------------------------------------------------------------------------                                                                             Nbr-ID   12.1.1.1

LS-Type               LS-ID           AdvRouter       SeqNum       Age  CkSum

Link-LSA              0.15.0.24       12.1.1.1          0x80000003    519  0x7823

Router-LSA            0.0.0.0         12.1.1.1          0x80000014    774  0xe5b0

Table 1-12  display ospfv3 retrans-list command output description

Field

Description

Interface

Interface name

Area-ID

Area ID

Nbr-ID

Neighbor router ID

LS-Type

Type of LSA

LS-ID

Link state ID

AdvRouter

Advertising Router

SeqNum

LSA sequence Number

Age

Age of LSA

CkSum

Checksum

 

# Display the statistics of OSPFv3 link state retransmission list.

<Sysname>display ospfv3 retrans-list statistics

            OSPFv3 Router with ID (11.1.1.1) (Process 1)

Interface  Neighbor        LSA-Count

Vlan100     12.1.1.1        2

Table 1-13  display ospfv3 retrans-list statistics command output description

Field

Description

Interface

Interface name

Neighbor

Neighbor ID

LSA-Count

Number of LSAs in the retransmission request list

 

display ospfv3 routing

Syntax

display ospfv3 [ process-id ] routing [ ipv6-address prefix-length | ipv6-address/prefix-length | abr-routes | asbr-routes | all | statistics ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.

ipv6-address: IPv6 address prefix.

prefix-length: Prefix length, in the range 0 to 128.

abr-routes: Displays routes to ABR.

asbr-routes: Displays routes to ASBR.

all: Displays all routes.

statistics: Displays the OSPFv3 routing table statistics .

Description

Use the display ospfv3 routing command to display OSPFv3 routing table information.

If no process is specified, routing table information of all OSPFv3 processes is displayed.

Examples

# Display OSPFv3 routing table information.

<Sysname> display ospfv3 routing

 

 E1 - Type 1 external route,    IA - Inter area route,    I  - Intra area route

 E2 - Type 2 external route,    *  - Seleted route

 

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

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

 *Destination: 2001::/64

  Type       : I                                        Cost     : 1

  NextHop    : directly-connected                       Interface: Vlan100

Table 1-14  display ospfv3 routing command output description

Field

Description

Destination

Destination network segment

Type

Route type

Cost

Route cost value

Next-hop

Next hop address

Interface

Outbound interface

 

# Display the statistics of OSPFv3 routing table.

<Sysname> display ospfv3 routing statistics

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

                           OSPFv3 Routing Statistics

 Intra-area-routes   :   1

 Inter-area-routes   :   0

 External-routes     :   0

Table 1-15  display ospfv3 routing statistics command output description

Field

Description

Intra-area-routes

Number of Intra-area-routes

Inter-area-routes

Number of inter-area routes

External-routes

Number of external routes

 

display ospfv3 statistics

Syntax

display ospfv3 statistics

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display ospfv3 statistics command to display outbound/inbound OSPFv3 packet statistics on associated interface(s).

Examples

# Display outbound/inbound OSPFv3 packet statistics on associated interfaces.

<Sysname> display ospfv3 statistics

 

                       OSPFv3 Statistics

Interface Vlan-interface100 Instance 0

 Type              Input       Output

 Hello             189         63

 DB Description    10          8

 Ls Req            2           1

 Ls Upd            16          6

 Ls Ack            10          6 

 Discarded          0           0

Table 1-16  display ospfv3 statistics command output description

Field

Description

Interface

Interface name

Instance

Instance number

Type

Type of packet

Input

Number of packets received by the interface

Output

Number of packets sent by the interface

Hello

Hello packet

DB Description

Database description packet

Ls Req

Link state request packet

Ls Upd

Link state update packet

Ls Ack

Link state acknowledgement packet

Discarded

Discarded packet

 

display ospfv3 topology

Syntax

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

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Displays the topology information of an OSPFv3 process; The process ID ranges from 1 to 65535.

area: Displays the topology information of the specified area.

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

Description

Use the display ospfv3 topology command to display OSPFv3 topology information. If no process is specified, topology information of all OSPFv3 processes is displayed.

Examples

# Display OSPFv3 area 1 topology information.

<Sysname> display ospfv3 topology area 1

                      OSPFv3 Process (1)

OSPFv3 Area (0.0.0.1) topology

Type  ID(If-Index)       Bits      Metric    Next-Hop        Interface

Rtr   1.1.1.1                      --

Rtr   2.2.2.2                      1         2.2.2.2         Vlan100

Table 1-17  display ospfv3 topology command output description

Field

Description

Type

Type of node

ID(If-Index)

Router ID

Bits

Flag bit

Metric

Cost value

Next-Hop

Next hop

Interface

Outbound interface

 

display ospfv3 vlink

Syntax

display ospfv3 [ process-id ] vlink

View

Any view

Default Level

1: Monitor level

Parameters

process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.

Description

Use the display ospfv3 vlink command to display OSPFv3 virtual link information. If no process is specified, virtual link information of all OSPFv3 processes is displayed.

Examples

# Display OSPFv3 virtual link information.

<Sysname> display ospfv3 vlink

     Virtual Link VLINK1 to router 1.1.1.1 is up

       Transit area :0.0.0.1 via interface Vlan-interface100, instance ID: 0

       Local address: 2000:1::1

       Remote address: 2001:1:1::1

       Transmit Delay is 1 sec, State: P-To-P,

       Timer intervals configured, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5

         Hello due in 00:00:02

         Adjacency state :Full

Table 1-18  display ospfv3 vlink command output description

Field

Description

Virtual Link VLINK1 to router 1.1.1.1 is up

The virtual link VLINK1 to router 1.1.1.1 is up

Transit area 0.0.0.1 via interface Vlan-interface100

Interface Vlan-interface100 in transit area 0.0.0.1.

instance ID

Instance ID

Local address

Local IPv6 address

Remote address

Remote IPv6 address

Transmit Delay

Transmit delay of sending LSAs

State

Interface state

Timer intervals configured, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5

Timer intervals in seconds, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5

Hello due in 00:00:02

Send hello packets in 2 seconds.

Adjacency state

Adjacency state

 

filter-policy export (OSPFv3 view)

Syntax

filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ isisv6 process-id | ospfv3 process-id | ripng process-id | bgp4+ | direct | static ]

undo filter-policy export [ isisv6 process-id | ospfv3 process-id | ripng process-id | bgp4+ | direct | static ]

View

OSPFv3 view

Default Level

2: System level

Parameters

acl6-number: Specifies the ACL6 number, ranging from 2000 to 3999.

ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of up to 19 characters.

isisv6 process-id: Specifies to filter the routes of an IPv6-IS-IS process, which is in the range of 1 to 65535.

ospfv3 process-id: Specifies to filter the routes of an OSPFv3 process, which is in the range of 1 to 65535.

ripng process-id: Specifies to filter the routes of a RIPng process, which in the range of 1 to 65535.

bgp4+: Specifies to filter BGP4+ routes.

direct: Specifies to filter direct routes.

static: Specifies to filter static routes.

Description

Use the filter-policy export command to filter redistributed routes.

Use the undo filter-policy export command to remove the configuration.

If no protocol is specified, all redistributed routes will be filtered.

By default, IPv6 OSPFv3 does not filter redistributed routes.

 

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, use of the filter-policy export command does not take effect.

 

Examples

# Filter all redistributed routes using IPv6 ACL 2001.

<Sysname> system-view

[Sysname] acl ipv6 number 2001

[Sysname-acl6-basic-2001] rule permit source 2002:1:: 64

[Sysname-acl6-basic-2001] quit

[Sysname] ospfv3

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

filter-policy import (OSPFv3 view)

Syntax

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

undo filter-policy import

View

OSPFv3 view

Default Level

2: System level

Parameters

acl6-number: Specifies an ACL number, ranging from 2000 to 3999.

ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of up to 19 characters.

Description

Use the filter-policy import command to configure OSPFv3 to filter routes computed from received LSAs.

Use the undo filter-policy import command to remove the configuration.

By default, OSPFv3 does not filter routes computed from received LSAs.

 

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

 

Examples

# Filter received routes using the IPv6 prefix list abc.

<Sysname> system-view

[Sysname] ip ipv6-prefix abc permit 2002:1:: 64

[Sysname] ospfv3 1

[Sysname-ospfv3-1] filter-policy ipv6-prefix abc import

import-route (OSPFv3 view)

Syntax

import-route { isisv6 process-id | ospfv3 process-id | ripng process-id | bgp4+ [ allow-ibgp ] | direct | static } [ cost value | type type | route-policy route-policy-name ] *

undo import-route { isisv6 process-id | ospfv3 process-id | ripng process-id | bgp4+ | direct | static }

import-route protocol [ process-id | allow-ibgp ] [ cost cost | type type | route-policy route-policy-name ] *

undo import-route protocol [ process-id ]

View

OSPFv3 view

Default Level

2: System level

Parameters

protocol: Redistributes routes from a specified routing protocol, which can be bgp4+, direct, isisv6, ospf v3, ripng, or static.

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

allow-ibgp: Allows redistributing iBGP routes. This keyword takes effect only the protocol is bgp4+.

cost cost: Specifies a cost for redistributed routes, ranging from 1 to 16777214. The default is 1.

type type: Specifies the type for redistributed routes, 1 or 2. It defaults to 2.

route-policy route-policy-name: Specifies to redistribute only the routes that match the specified route policy. route-policy-name is a string of 1 to 19 characters.

 

Using the import-route bgp4+ command redistributes only EBGP routes, while using the import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP routes.

 

Description

Use the import-route command to redistribute routes.

Use the undo import-route command to disable routes redistribution.

IPv6 OSPFv3 does not redistribute routes from other protocols by default.

Examples

# Configure 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 found by OSPFv3 process 160.

<Sysname> system-view

[Sysname] ospfv3 100

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

log-peer-change

Syntax

log-peer-change

undo log-peer-change

View

OSPFv3 view

Default Level

2: System level

Parameters

None

Description

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

Use the undo maximum load-balancing command to disable the logging.

With this feature enabled, information about neighbor state changes of the current OSPFv3 process will display on the configuration terminal.

Examples

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

<Sysname> system-view

[Sysname] ospfv3 100

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

maximum load-balancing (OSPFv3 view)

Syntax

maximum load-balancing maximum

undo maximum load-balancing

View

OSPFv3 view

Default Level

2: System level

Parameters

maximum: Maximum number of equal-cost routes for load-balancing. Its value is in the range 1 to 4. The argument being set to 1 means no load balancing is available.

Description

Use the maximum load-balancing command to configure the maximum number of equal-cost routes for load-balancing.

Use the undo maximum load-balancing command to restore the default.

By default, the maximum number of equal-cost routes for load-balancing in OSPFv3 is 4.

Examples

# Configure the maximum number of equal-cost routes for load-balancing as 2.

<Sysname> system-view

[Sysname] ospfv3 1

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

ospfv3

Syntax

ospfv3 [ process-id ]

undo ospfv3 [ process-id ]

View

System view

Default Level

2: System level

Parameters

process-id: OSPFv3 process ID, ranging from 1 to 65535. The process ID defaults to 1.

Description

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

Use the undo ospfv3 command to disable an OSPFv3 process.

The system runs no OSPFv3 process by default.

Related commands: router-id.

 

An OSPFv3 process can run normally only when Router ID is configured in OSPFv3 view. Otherwise, you can find the process, but which cannot generate any LSA.

 

Examples

# Enable the OSPFv3 process with process ID as 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

Syntax

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

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

View

Interface view

Default Level

2: System level

Parameters

process-id: OSPFv3 process ID, in the range 1 to 65535.

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

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

Description

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

Use the undo ospfv3 area command to disable an OSPFv3 process.

OSPFv3 is not enabled on an interface by default.

Examples

# Enable OSPFv3 process 1 on an interface that belongs to instance 1 and specify area 1 for the interface.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

ospfv3 cost

Syntax

ospfv3 cost value [ instance instance-id ]

undo ospfv3 cost [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

value: OSPFv3 cost of the interface, in the range 1 to 65535.

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

Description

Use the ospfv3 cost command to configure the OSPFv3 cost of the interface in an instance.

Use the undo ospfv3 cost command to restore the default OSPFv3 cost of the interface in an instance.

By default, a router’s interface automatically calculates the OSPFv3 cost based on its bandwidth. For a VLAN interface of a switch, the cost value defaults to 1.

Examples

# Specifies the OSPFv3 cost of the interface in instance 1 as 33 .

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

ospfv3 dr-priority

Syntax

ospfv3 dr-priority priority [ instance instance-id ]

undo ospfv3 dr-priority [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

priority: DR priority, in the range 0 to 255.

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

Description

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

Use the undo ospfv3 dr-priority command to restore the default value.

The DR priority on an interface defaults to 1.

An interface’s DR priority determines its privilege in DR/BDR selection, and the interface with the highest priority is preferred.

Examples

# Set the DR priority for an interface in instance 1 to 8.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

ospfv3 mtu-ignore

Syntax

ospfv3 mtu-ignore [ instance instance-id ]

undo ospfv3 mtu-ignore [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

instance-id: Instance ID, in the range 0 to 255, which defaults to 0.

Description

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

Use the undo ospfv3 mtu-ignore command to restore the default.

By default, an interface performs MTU check during DD packet exchange. A neighbor relationship can be established only if the interface’s MTU is the same as that of the peer.

Examples

# Configure an interface 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

 Syntax

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

undo ospfv3 network-type [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

broadcast: Specifies the network type as Broadcast.

nbma: Specifies the network type as NBMA.

p2mp: Specifies the network type as P2MP.

p2p: Specifies the network type as P2P.

non-broadcast: Specifies the interface to send packets in unicast mode. By default, an OSPFv3 interface whose network type is P2MP sends packets in multicast mode.

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

Description

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

Use the undo ospfv3 network-type command to restore the default.

By default, the network type of an interface depends on its link layer protocol. For example:

l          For PPP, the default network type is P2P.

l          For Ethernet, the default network type is broadcast.

 Examples

# Configure the interface’s network type as NBMA.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

ospfv3 peer

Syntax

ospfv3 peer ipv6-address [ dr-priority dr-priority ] [ instance instance-id ]

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

View

Interface view

Default Level

2: System level

Parameters

ipv6-address: Neighbor link-local IP address.

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

instance-id: Interface instance ID, in the range 0 to 255. The default is 0.

Description

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

Use the undo ospfv3 peer command to remove the configuration.

A router uses the priority set with the ospfv3 peer command to determine whether to send a hello packet to the neighbor rather than for DR election.

Examples

# Specify the neighbor fe80::1111.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

ospfv3 timer dead

Syntax

ospfv3 timer dead seconds [ instance instance-id ]

undo ospfv3 timer dead [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

seconds: Dead time in seconds, ranging from 1 to 65535.

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

Description

Use the ospfv3 timer dead command to configure the OSPFv3 neighbor dead time for an interface that belongs to a specified instance.

Use the undo ospfv3 timer dead command to restore the default.

By default, the OSPFv3 neighbor dead time is 40 seconds for P2P and Broadcast interfaces, and is not supported on P2MP and NBMA interfaces at present.

OSPFv3 neighbor dead time: if an interface receives no hello packet from a neighbor after dead time elapses, the interface will consider the neighbor dead.

The dead seconds value is at least four times the Hello seconds value and must be identical on interfaces attached to the same network segment.

 

 

Currently, the S7500E series Ethernet switches do not support configuring the ospfv3 timer dead command on a loopback interface.

 

Related commands: ospfv3 timer hello.

Examples

# Configure the OSPFv3 neighbor dead time as 80 seconds for the interface in instance 1.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 timer dead 80 instance 1

ospfv3 timer hello

Syntax

ospfv3 timer hello seconds [ instance instance-id ]

undo ospfv3 timer hello [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

seconds: Interval between hello packets, ranging from 1 to 65535.

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

Description

Use the ospfv3 timer hello command to configure the hello interval for an interface that belongs to an instance.

Use the undo ospfv3 timer hello command to restore the default .

By default, the hello interval is 10 seconds for P2P and Broadcast interfaces, and is not supported on the P2MP or NBMA interfaces at present.

 

 

Currently, the S7500E series Ethernet switches do not support configuring the ospfv3 timer hello command on a loopback interface.

 

Related commands: ospfv3 timer dead.

Examples

# Configure the hello interval as 20 seconds for an interface in instance 1.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospfv3 timer hello 20 instance 1

ospfv3 timer retransmit

Syntax

ospfv3 timer retransmit interval [ instance instance-id ]

undo ospfv3 timer retransmit [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

interval: LSA retransmission interval in seconds, ranging from 1 to 65535.

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

Description

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

Use the undo ospfv3 timer retransmit command to restore the default.

The interval defaults to 5 seconds.

After sending a LSA to its neighbor, the device waits for an acknowledgement. If receiving no acknowledgement after the LSA retransmission interval elapses, it will retransmit the LSA.

The LSA retransmission interval should not be too small for avoidance of unnecessary retransmissions.

 

 

Currently, the S7500E series Ethernet switches do not support configuring the ospfv3 timer retransmit command on a loopback interface.

 

Examples

# Configure the LSA retransmission interval on an interface in instance 1 as 12 seconds.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

ospfv3 timer poll

Syntax

ospfv3 timer poll seconds [ instance instance-id ]

undo ospfv3 timer poll [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

seconds: Poll interval in seconds, in the range 1 to 65535.

instance-id: Interface instance ID, in the range 0 to 255. The default is 0.

Description

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

Use the undo ospfv3 timer poll command to restore the default value.

By default, the poll interval is 120 seconds.

 

 

Currently, the S7500E series Ethernet switches do not support configuring the ospfv3 timer poll command on a loopback interface.

 

Examples

# Set the poll timer interval on the current interface to 130 seconds.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] ospf timer poll 130

ospfv3 trans-delay

Syntax

ospfv3 trans-delay seconds [ instance instance-id ]

undo ospfv3 trans-delay [ instance instance-id ]

View

Interface view

Default Level

2: System level

Parameters

seconds: Transmission delay in seconds, ranging from 1 to 3600.

instance-id: Instance ID of an interface, in the range of 0 to 255, with the default as 0.

Description

Use the ospfv3 trans-delay command to configure the transmission delay for an interface with an instance ID.

Use the undo ospfv3 trans-delay command to restore the default.

The transmission delay defaults to 1s.

As LSAs are aged in the LSDB (incremented by 1 every second) but not aged on transmission, it is necessary to add a delay time to the age time before sending a LSA. This configuration is important for low-speed networks.

 

 

Currently, the S7500E series Ethernet switches do not support configuring the ospfv3 trans-delay command on a loopback interface.

 

Examples

# Configure the transmission delay as 3 seconds for an interface in instance 1.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

preference

Syntax

preference [ ase ] [ route-policy route-policy-name ] preference

undo preference [ ase ]

View

OSPFv3 view

Default Level

2: System level

Parameters

ase: Applies the preference to OSPFv3 external routes. If the keyword is not specified, the preference applies to OSPFv3 internal routes.

route-policy route-policy-name: References a routing policy to set preference for specific routes. The name is a string of 1 to 19 characters.

Preference: Preference of OSPFv3, in the range 1 to 255.

Description

Use the preference command to specify a preference for OSPFv3 routes.

Use the undo preference command to restore the default.

By default, the preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150.

The smaller the value is, the higher the preference is.

A router may run multiple routing protocols. Each protocol has a preference. When several routing protocols find multiple routes to the same destination, the route found by the protocol with the highest preference is selected.

Examples

# Set a preference of 150 for OSPFv3 routes.

<Sysname> system-view

[Sysname] OSPFv3

[Sysname-OSPFv3-1] preference 150

router-id

Syntax

router-id router-id

undo router-id

View

OSPFv3 view

Default Level

2: System level

Parameters

router-id: 32-bit router ID, in IPv4 address format.

Description

Use the router-id command to configure the OSPFv3 router ID.

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

Router ID is the unique identifier of a device running an OSPFv3 process in the autonomous system. The OSPFv3 process cannot run without a Router ID.

Make sure that different processes have different Router IDs.

Related commands: ospfv3.

 

By configuring different router IDs for different processes, you can run multiple OSPFv3 processes on a router.

 

Examples

# Configure the Router ID as 10.1.1.3 for OSPFv3 process 1.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] router-id 10.1.1.3

silent-interface(OSPFv3 view)

Syntax

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

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

View

OSPFv3 view

Default Level

2: System level

Parameters

interface-type interface-number: Interface type and number

all: Specifies all interfaces.

Description

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

Use the undo silent-interface command to restore the default.

An interface is able to send OSPFv3 packets by default.

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

Examples

# Disable an interface from sending OSPFv3 packets in OSPFv3 processes 100 and 200.

<Sysname> system-view

[Sysname] ospfv3 100

[Sysname-ospfv3-100] router-id 10.110.1.9

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

[Sysname-ospfv3-100] quit

[Sysname] ospfv3 200

[Sysname-ospfv3-200] router-id 20.18.0.7

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

spf timers

Syntax

spf timers delay-interval hold-interval

undo spf timers

View

OSPFv3 view

Default Level

2: System level

Parameters

delay-interval: Interval in seconds between when OSPFv3 receives a topology change and when it starts SPF calculation. in the range 1 to 65535.

hold-interval: Hold interval in seconds between two consecutive SPF calculations, in the range 1 to 65535.

Description

Use the spf timers command to configure the delay interval and hold interval for OSPFv3 SPF calculation.

Use the undo spf timers command to restore the default.

The delay interval and hold interval default to 5s and 10s.

An OSPFv3 router works out a shortest path tree with itself as root based on the LSDB, and decides on the next hop to a destination network according the tree. Adjusting the SPF calculation interval can restrain bandwidth and router resource from over consumption due to frequent network changes.

Examples

# Configure the delay interval and hold interval as 6 seconds for SPF calculation.

<Sysname> system-view

[Sysname]ospfv3 1

[Sysname-ospfv3-1] spf timers 6 6

stub (OSPFv3 area view)

Syntax

stub [ no-summary ]

undo stub

View

OSPFv3 area view

Default Level

2: System level

Parameters

no-summary: This argument is only applicable to the ABR of a stub area. With it configured, the ABR advertises only a default route in a Summary-LSA to the stub area (such an area is called a totally stub area).

Description

Use the stub command to configure an area as a stub area.

Use the undo stub command to remove the configuration.

By default, an area is not configured as a stub area.

When an area is configured as a stub area, all the routers attached to the area must be configured with the stub command.

Related commands: default-cost.

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

vlink-peer (OSPFv3 area view)

Syntax

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

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

View

OSPFv3 area view

Default Level

2: System level

Parameters

router-id: Router ID for a virtual link neighbor.

hello seconds: Specifies the interval in seconds for sending Hello packets, ranging from 1 to 8192, with the default as 10. This value must be equal to the hello seconds configured on the virtual link peer.

retransmit seconds: Specifies the interval in seconds for retransmitting LSA packets, ranging from 1 to 3600, with the default as 5.

trans-delay seconds: Specifies the delay interval in seconds for sending LSA packets, ranging from 1 to 3600, with the default as 1.

dead seconds: Specifies the neighbor dead time in seconds, ranging from 1 to 32768, with the default as 40. This value must be equal to the dead seconds configured on the virtual link peer, and at least four times the value of hello seconds.

instance Instance-id: Instance ID of an virtual link, in the range of 0 to 255, with the default as 0.

Description

Use the vlink-peer command to create and configure a virtual link.

Use the undo vlink-peer command to remove a virtual link.

For a non-backbone area without a direct connection to the backbone area or for a backbone area that cannot maintain connectivity, you can use the vlink-peer command to create logical links. A virtual link can be considered as an interface with OSPFv3 enabled, because parameters such as hello, dead, retransmit and trans-delay are configured in the similar way.

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

Examples

# Create a virtual link to 10.110.0.3.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] area 10.0.0.0

[Sysname-ospfv3-1-area-10.0.0.0] vlink-peer 10.110.0.3

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网