H3C S9500 Command Manual-Release2132[V2.03]-03 IP Routing Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-03 IP Routing Volume
10-IPv6 OSPFv3 commands
Title Size Download
10-IPv6 OSPFv3 commands 174.7 KB

Table of Contents

Chapter 1 IPv6 OSPFv3 Configuration Commands. 1-1

1.1 OSPFv3 Configuration Commands. 1-1

1.1.1 abr-summary (OSPFv3 area view) 1-1

1.1.2 area (OSPFv3 view) 1-2

1.1.3 debugging ospfv3 event 1-2

1.1.4 debugging ospfv3 ifsm.. 1-3

1.1.5 debugging ospfv3 lsa. 1-5

1.1.6 debugging ospfv3 nfsm.. 1-8

1.1.7 debugging ospfv3 packet 1-10

1.1.8 debugging ospfv3 route. 1-12

1.1.9 default cost 1-13

1.1.10 default-cost (OSPFv3 area view) 1-14

1.1.11 display debugging ospfv3. 1-15

1.1.12 display ospfv3. 1-16

1.1.13 display ospfv3 interface. 1-17

1.1.14 display ospfv3 lsdb. 1-19

1.1.15 display ospfv3 lsdb statistic. 1-22

1.1.16 display ospfv3 next-hop. 1-23

1.1.17 display ospfv3 peer 1-24

1.1.18 display ospfv3 peer statistic. 1-25

1.1.19 display ospfv3 request-list 1-27

1.1.20 display ospfv3 retrans-list 1-28

1.1.21 display ospfv3 routing. 1-30

1.1.22 display ospfv3 statistic. 1-31

1.1.23 display ospfv3 topology. 1-33

1.1.24 display ospfv3 vlink. 1-34

1.1.25 filter-policy export (OSPFv3 view) 1-35

1.1.26 filter-policy import (OSPFv3 view) 1-36

1.1.27 import-route (OSPFv3 view) 1-37

1.1.28 log-peer-change. 1-38

1.1.29 maximum load-balancing(OSPFv3 view) 1-39

1.1.30 ospfv3. 1-40

1.1.31 ospfv3 area. 1-41

1.1.32 ospfv3 cost 1-41

1.1.33 ospfv3 dr-priority. 1-42

1.1.34 ospfv3 mtu-ignore. 1-43

1.1.35 ospfv3 timer dead. 1-43

1.1.36 ospfv3 timer hello. 1-44

1.1.37 ospfv3 timer retransmit 1-45

1.1.38 ospfv3 trans-delay. 1-46

1.1.39 preference. 1-47

1.1.40 router-id. 1-48

1.1.41 silent-interface (OSPFv3 view) 1-48

1.1.42 spf timers. 1-49

1.1.43 stub (OSPFv3 area view) 1-50

1.1.44 vlink-peer (OSPFv3 area view) 1-51

 


Chapter 1  IPv6 OSPFv3 Configuration Commands

1.1  OSPFv3 Configuration Commands

1.1.1  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 prefix of the summary route.

prefix-length: Length of the prefix.

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 configured 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

1.1.2  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 or an IPv4 address.

Description

Use the area command to enter OSPFv3 area view.

 

&  Note:

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]

1.1.3  debugging ospfv3 event

Syntax

debugging ospfv3 event { abr | asbr | vlink | all }

undo debugging ospfv3 event { abr | asbr | vlink | all }

View

User view

Default Level

1: Monitor level

Parameters

abr: ABR event debugging.

asbr: ASBR event debugging.

vlink: Virtual link event debugging.

all: All event debugging.

Description

Use the debugging ospfv3 event command to enable specified OSPFv3 event debugging, such as ABR, ASBR, or virtual link event debugging.

Use the undo debugging ospfv3 event command to disable specified OSPFv3 event debugging.

By default, no OSPFv3 event debugging is enabled.

Examples

# Enable OSPFv3 ASBR event debugging.

<Sysname> debugging ospfv3 event asbr

*0.2383219 Sysname RM/6/RMDEBUG:OSPFv3 ROUTER: change status to non-ASBR

*0.2649563 Sysname RM/6/RMDEBUG:OSPFv3 ROUTER: change status to ASBR

1.1.4  debugging ospfv3 ifsm

Syntax

debugging ospfv3 ifsm [ status | event | timer ]

undo debugging ospfv3 ifsm [ status | event | timer ]

View

User view

Default Level

1: Monitor level

Parameters

status: Status debugging of the interface state machine.

event: Event debugging of the interface state machine.

timer: Timer debugging of the interface state machine.

Description

Use the debugging ospfv3 ifsm command to enable specified debugging of the OSPFv3 interface state machine.

Use the undo debugging ospfv3 ifsm command to disable specified debugging of the OSPFv3 interface state machine.

By default, no debugging of the OSPFv3 interface state machine is enabled.

Related commands: display debugging ospfv3.

Table 1-1 Description on the fields of the debugging ospfv3 ifsm command

Field

Description

OSPFv3 IFSM[interfacename]

OSPFv3 interface state machine debugging

interfacename: Interface specified by interface type and interface name.

state (interface-event)

Current interface state and interface event

state: Current interface state:

l      Down means the port is down.

l      Loopback means the interface is a loopback interface.

l      Waiting means the interface is in the waiting state.

l      P-To-P means the interface is connected to a P2P network or configured as one end of a virtual link.

l      Backup means it is the backup designated router.

l      DR means it is the designated router.

event: Event that triggers an interface state change

l      InterfaceUp means the interface state is changed from Down to UP.

l      WaitTimer means the wait timer  expires.

l      BackupSeen indicates whether the interface detects a BDR on the network.

l      NeighborChange means a neighbor just becomes a DR or BDR, or it is no longer a DR or BDR, and a DR/BDR re-election is required.

l      LoopInd means the interface is configured as a loopback interface.

l      UnLoopInd means the loopback interface configuration on the interface is removed.

l      InterfaceDown means the interface state changes from UP to Down.

DR-Election[sting]: DR ROUTER-ID

Current DR

sting: 1st means the first DR election is performed; 2nd means an interface state change occurs and a DR re-election is performed.

ifsm_ignore called

The received event is not processed.

 

Examples

# Switch A and Switch B are interconnected. Enable OSPFv3 interface state machine debugging on Switch A before a neighbor relationship is established between them.

<Sysname> debugging ospfv3 ifsm

*0.85734 Sysname RM/6/RMDEBUG:OSPFv3 IFSM[Vlan-interface100]: Down (InterfaceUp)

*0.95875 Sysname RM/6/RMDEBUG:OSPFv3 IFSM[Vlan-interface 100]:

DR-Election[1st]: DR     34.1.1.1

  // The first DR election is complete. The DR is 34.1.1.1.

*0.95890 Sysname RM/6/RMDEBUG:OSPFv3 IFSM[Vlan-interface 100]:

DR-Election[2nd]: DR 34.1.1.1

*0.1688515 Sysname RM/6/RMDEBUG:OSPFv3 IFSM[Vlan-interface 100]: Status change Backup -> DR

// A DR re-election was carried out and the state of VLAN-interface 100 changed from Backup to DR.

*0.3761765 Sysname RM/6/RMDEBUG:OSPFv3 IFSM[Vlan-interface 100]: Hello timer expire

//The hello timer expired.

1.1.5  debugging ospfv3 lsa

Syntax

debugging ospfv3 lsa { all | flooding | generate | install | maxage | refresh | verbose }

undo debugging ospfv3 lsa { all | flooding | generate | install | maxage | refresh | verbose }

View

User view

Default Level

1: Monitor level

Parameters

all: All LSA debugging.

flooding: LSA flooding debugging.

generate: LSA generation debugging.

install: Debugging of LSAs installed into the LSDB.

maxage: LSA maxage debugging.

refresh: LSA refresh debugging.

verbose: LSA detailed debugging.

Description

Use the debugging ospfv3 lsa command to enable specified OSPFv3 LSA debugging.

Use the undo debugging ospfv3 lsa command to disable specified OSPFv3 LSA debugging.

No LSA debugging is enabled by default.

Table 1-2 Description on the fields of the debugging ospfv3 lsa flooding command

Field

Description

LSA[string:Type(number) :LSID:adv_router *]

string: LSDB containing the LSA. It can be:

l      Link: Interface type and interface number.

l      Area ID

l      AS: Indicates the flooding range is the entire AS.

number: LSA number. It can be:

l      0x2001 for Router-LSAs

l      0x2002 for Network-LSAs

l      0x2003 for Inter-Area-Prefix-LSAs

l      0x2004 for Inter-Area-Router-LSAs

l      0x2005 for AS-external-LSAs

l      0x0008 for Link-LSAs

l      0x2009 for Intra-Area-Prefix-LSAs

LSID: Link-state ID of the LSA.

adv_router: ID of the advertising router.

* means the LSA is self-originated.

 

Table 1-3 Description on the fields of the debugging ospfv3 lsa maxage command

Field

Description

Flags;string

Flag bit

l      V-Vlink end

l      E: ASBR

l      B: ABR

l      W: MOSPF support

Options

Router processing capabilities

l      V6: If it is 0, the router/link will not take part in IPv6 route calculation.

l      E: If it is 0, the flooding of AS-External-LSAs is not supported.

l      MC: Multicast-related

l      N: Indicates whether it is in the Not So Stub Area (NSSA).

l      R: Indicates whether this is an Active Router. If it is 0, the router only forwards locally originated packets. 

l      DC: Indicates whether dialing is supported.

Option

PrefixOptions

l      NU: If it is 1, the prefix will not take part in IPv6 unicast route calculation

l      MC: If it is 1, the prefix will take part in IPv6 multicast route calculation.

l      LA: If it is 1, the address is the local host address.

l      The Prefix Length is 128.

l      P: Indicates whether the NSSA ABR advertises the prefix to other areas

Destination Router ID

ASBR Router ID

 

Examples

# Switch A and Switch B are interconnected. Enable LSA flooding debugging on Switch A before a neighbor relationship is established between them.

<Sysname> debugging ospfv3 lsa flooding

*0.14227421Sysname RM/6/RMDEBUG: OSPFv3 LSA[Link(Vlan-interface 100):Type(0x0008)

:0.15.0.24:45.2.2.2 *]: consider flooding through interface[Vlan-interface 100]

// An LSA whose LSA type is 0x0008, Link State ID is 0.15.0.24, and advertising router ID is 34.1.1.1 was advertised through VLAN-interface 100.

1.1.6  debugging ospfv3 nfsm

Syntax

debugging ospfv3 nfsm [ status | event | timer ]

undo debugging ospfv3 nfsm [ status | event | timer ]

View

User view

Default Level

1: Monitor level

Parameters

status: Status debugging of the neighbor state machine.

event: Event debugging of the neighbor state machine.

timer: Timer debugging of the neighbor state machine.

Description

Use the debugging ospfv3 nfsm command to enable specified debugging of the neighbor state machine.

Use the undo debugging ospfv3 nfsm command to disable specified debugging of the neighbor state machine.

No debugging of the neighbor state machine is enabled by default.

Table 1-4 Description on the fields of the debugging ospfv3 nfsm command

Field

Description

NFSM[RouterID -ifid]

Router ID and interface ID of the neighbor router

state (event)

Neighbor state and triggering event

state: Current neighbor state. It can be:

l      Down means the neighbor is down.

l      Attempt means a further attempt is made to contact the neighbor after receiving nothing from it.

l      Init means the hello packet sent by the neighbor is received but 2-way communication is not established.

l      2-Way means 2-way communication is established.

l      ExStart means the master/slave negotiation is performed.

l      Exchange means DD packets are exchanged.

l      Loading means LSR packets are sent to the neighbor.

l      Full means an adjacency is established.

event: Triggering event. It can be:

l      HelloReceived means a hello packet is received from the neighbor.

l      Start means hello packets will be sent to the neighbor at an interval of HelloInterval. This event is only related to a neighbor on an NBMA network.

l      2-WayReceived means 2-way communication is achieved between the two neighboring routers.

l      NegotiationDone means the master/slave negotiation is completed and DD sequence numbers are exchanged.

l      ExchangeDone means the two routers have exchanged complete DD packets successfully and know about their needed routing information.

l      BadLSReq means the received LSR contains the LSAs that cannot be found in the local LSDB.

l      LoadingDone means the LSR list is empty after the database exchange is complete. 

l      AdjOK means whether an adjacency needs to be established or maintained with the neighbor.

l      SeqNumberMismatch means an error has occurred when an adjacency is being established.

l      1-WayReceived means the hello packet received from the neighbor does not contain the local router.

l      KillNbr means it is impossible to communicate with the neighbor and therefore the neighbor is forced to enter the Down state.

l      InactivityTimer means no hello packet has been received from the neighbor recently and therefore the neighbor dead timer is started.

l      LLDown means the neighbor is unreachable and therefore is forced to enter the Down state.

nfsm_ignore called

The received event is not processed.

 

Examples

# Switch A and Switch B are interconnected. Enable neighbor state machine debugging on Switch A.

<Sysname> debugging ospfv3 nfsm

*0.5752906 Sysname RM/6/RMDEBUG:OSPFv3 NFSM[34.1.1.1-000f0018]: Down (HelloReceived)

// The Router ID, interface ID, and state of the neighbor are 34.1.1.1, 000f0018, and Down respectively. The HelloReceived event is triggered.

*0.5461109 Sysname RM/6/RMDEBUG:OSPFv3 NFSM[34.1.1.1-000f0018]: LS update timer expire         

// The Router ID and interface ID of the neighbor are 34.1.1.1 and 000f0018 respectively. The update packet timer is started.

*0.4252250 Sysname RM/6/RMDEBUG:OSPFv3 NFSM[34.1.1.1-000f0018]: Status change Full -> Down  

// The Router ID and interface ID of the neighbor are 34.1.1.1 and 000f0018 respectively. The neighbor state is changed from Full to Down.

1.1.7  debugging ospfv3 packet

Syntax

debugging ospfv3 packet { all [ verbose ] | { hello | dd | request | update | ack | verbose }* }

undo debugging ospfv3 packet { all [ verbose ] | { hello | dd | request | update | ack | verbose }* }

View

User view

Default Level

1: Monitor level

Parameters

ack: LSAck packet debugging.

dd: DD packet debugging.

hello: Hello packet debugging.

request: LSR packet debugging.

update: LSA packet debugging.

all: All packet debugging.

verbose: Packet detailed debugging.

Description

Use the debugging ospfv3 packet command to enable specified OSPFv3 packet debugging.

Use the undo debugging ospfv3 packet command to disable specified OSPFv3 packet debugging.

No OSPFv3 packet debugging is enabled by default.

Table 1-5 Description on the fields of the debugging ospfv3 packet hello command

Field

Description

Type numberstring()

OSPFv3 packet type

Number:

l      0 for type packet

l      1 for Hello packet

l      2 for DD packet

l      3 for LSR packet

l      4 for LSU packet

l      5 for LSAck packet

string:

l      unknown

l      Hello

l      Database Description

l      Link State Request

l      Link State Update

l      Link State Acknowledgment

 

Examples

# Switch A and Switch B are interconnected. Enable DD packet debugging on Switch A.

<Sysname> debugging ospfv3 packet dd

*0.31611969 Sysname RM/6/RMDEBUG:OSPFv3 Packet[SEND]:

src:(FE80::200:5EFF:FE01:B400) -> dst:(FE80::200:5EFF:FE01:B403)

// DD packets are sent from FE80::200:5EFF:FE01:B400 to FE80::200:5EFF:FE01:B403. 

*0.290484 Sysname RM/6/RMDEBUG:OSPFv3 RECV[DD]: Negotiation done (Slave) 

// The master/slave negotiation is complete. The current router works as the slave router.

1.1.8  debugging ospfv3 route

Syntax

debugging ospfv3 route [ ase | install | spf | ia ]

undo debugging ospfv3 route [ ase | install | spf | ia ]

View

User view

Default Level

1: Monitor level

Parameters

ase: OSPFv3 ASE route debugging.

install: Debugging of OSPFv3 routes installed into the routing table..

spf: OSPFv3 SPF route calculation debugging.

ia: OSPFv3 inter-area route debugging.

Description

Use the debugging ospfv3 route command to enable specified OSPFv3 route debugging.

Use the undo debugging ospfv3 route command to disable specified OSPFv3 route debugging.

No OSPFv3 route debugging is enabled by default.

Table 1-6 Description on the fields of the debugging ospfv3 route command

Field

Description

SPF[AreaID]

SPF calculation

AreaID: area ID

LSA[string:Type(number) :LSID:adv_router *]

string: LSDB containing the LSA. It can be:

l      Link: Interface type and interface number.

l      Area ID

l      AS: Indicates the flooding range is the entire AS.

number: LSA number. It can be:

l      0x2001 for Router-LSAs

l      0x2002 for Network-LSAs

l      0x2003 for Inter-Area-Prefix-LSAs

l      0x2004 for Inter-Area-Router-LSAs

l      0x2005 for AS-external-LSAs

l      0x0008 for Link-LSAs

l      0x2009 for Intra-Area-Prefix-LSAs

LSID: Link-state ID of the LSA.

adv_router: ID of the advertising router.

l      means the LSA is self-originated.

 

Examples

# OSPFv3 is enabled on two devices and route debugging is enabled on one of the devices. After the topology is changed or route redistribution is enabled, the following information is output:

<Sysname> debugging ospfv route spf

*0.82470953 Sysname RM/6/RMDEBUG:OSPFv3 SPF[0.0.0.0]: Calculation timer scheduled [delay 5 secs]

// The calculation will start five seconds later.

*0.82470953 Sysname RM/6/RMDEBUG:OSPFv3 SPF calculation timer is already scheduled

// The SPF calculation timer is started.

*0.82475046 Sysname RM/6/RMDEBUG:OSPFv3 SPF[0.0.0.0]: Intra-Area SPF calculation timer expire

// The SPF calculation timer of area 0 expired.

1.1.9  default cost

Syntax

default cost value

undo default cost

View

OSPFv3 view

Default Level

2: System level

Parameters

value: Default cost for redistributed routes.

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 enabled, 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

1.1.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. 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.

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

1.1.11  display debugging ospfv3

Syntax

display debugging ospfv3

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display debugging ospfv3 command to display global OSPFv3 debugging state information.

Examples

# Display the global OSPFv3 debugging state information.

<Sysname> display debugging ospfv3

OSPFv3 External route calculation debugging is on

1.1.12  display ospfv3

Syntax

display ospfv3 [ process-id ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID.

Description

Use the display ospfv3 command to display the brief information of an OSPFv3 process. If no process ID is specified, brief information about all OSPFv3 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-7  Description on the fields of the display isofv3 command

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 ASEs

These external LSAs’ checksum Sum

Sum of all the ASEs’ 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 device 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

 

1.1.13  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 information about OSPFv3 VLAN-interface 10.

<Sysname> display ospfv3 interface vlan-interface 10

Vlan-interface 10 is up, line protocol is up

  Interface ID 518

  IPv6 Prefixes

    FE80::1441:0:E213:1 (Link-Local Address)

    2000:1::1

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

    Router ID 2.2.2.2, Network Type POINTOPOINT, Cost: 1562

    Transmit Delay is 1 sec, State Point-To-Point, Priority 1

    No designated router on this link

     No backup designated router on this link

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

       Hello due in 00:00:02

Neighbor Count is 1, Adjacent neighbor count is 1

Table 1-8  Description on the fields of the display ospfv3 interface command

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, Wait: 40, Retransmit: 5

Time intervals in seconds configured on the interface, Hello: 10, Dead: 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

 

1.1.14  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: ID of an OSPFv3 process.

external: Specifies to display information about AS-external LSAs.

inter-prefix: Specifies to display information about Inter-area-prefix LSAs.

inter-router: Specifies to display information about Inter-area-router LSAs.

intra-prefix: Specifies to display information about Intra-area-prefix LSAs.

link: Specifies to display information about Link-LSAs.

network: Specifies to display information about Network-LSAs.

router: Specifies to display information about Router-LSAs.

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

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

total: Specifies to display all 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 (5.5.5.5) (Process 1)

               Link-LSA (Interface vlan-interface 12)

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

Link State ID   Origin Router    Age   SeqNum     CkSum  Prefix

0.15.0.9        5.5.5.5          0304  0x80000001 0x5b6a      1

0.15.0.9        6.6.6.6          0311  0x80000001 0x6956      1

 

               Router-LSA (Area 0.0.0.0)

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

Link State ID   Origin Router    Age   SeqNum     CkSum    Link

0.0.0.0         5.5.5.5          0263  0x80000002 0x823f      1

0.0.0.0         6.6.6.6          0264  0x80000003 0x625a      1

 

               Network-LSA (Area 0.0.0.0)

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

Link State ID   Origin Router    Age   SeqNum     CkSum

0.15.0.9        6.6.6.6          0264  0x80000001 0x3498

 

               Intra-Area-Prefix-LSA (Area 0.0.0.0)

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

Link State ID  Origin Router   Age   SeqNum     CkSum  Prefix  Reference

0.0.0.2        6.6.6.6         0263  0x80000001 0x95c4      1  Network-LSA

Table 1-9  Description on the fields of the display isofv3 lsdb command

Field

Description

Link-LSA

Type 8 LSA

Link State ID

Link State ID

Origin Router

Originating device

Age

Age of LSAs

SeqNum

LSA sequence number

CkSum

LSA Checksum

Prefix

Number of Prefixes

Router-LSA

Router-LSA

Link

Number of links

Network-LSA

Network-LSA

Intra-Area-Prefix-LSA

Type 9 LSA

Reference

Type of referenced LSA

 

# Display Link-local LSA information in the LSDB.

<Sysname> display ospfv3 lsdb link

            OSPFv3 Router with ID (2.2.2.2) (Process 1)

 

                Link-LSA (Interface vlan-interface 10)

 

  LS age: 11

  LS Type: Link-LSA

  Link State ID: 0.0.2.6

  Originating Router: 2.2.2.2

  LS Seq Number: 0x80000002

  Checksum: 0xEFFA

  Length: 56

  Priority: 1

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

  Link-Local Address: FE80::1441:0:E213:1

  Number of Prefixes: 1

    Prefix: 2000:1::/64

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

Table 1-10  Description on the fields of the display ospfv3 lsdb command

Field

Description

LS age

Age of LSA

LS Type

Type of LSA

Originating Router

Originating device

LS Seq Number

LSA Sequence Number

Checksum

LSA Checksum

Length

LSA Length

Priority

Device Priority

Options

Options

Link-Local Address

Link-Local Address

Number of Prefixes

Number of Prefixes

Prefix

Address prefix

Prefix Options

Prefix options

 

1.1.15  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-11 Descriptions on the fields of the display ospfv3 lsdb statistic command

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

 

1.1.16  display ospfv3 next-hop

Syntax

display ospfv3 [ process-id ] next-hop

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID.

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                 Vlan 10      1

Table 1-12  Description on the fields of the display ospfv3 next-hop command

Field

Description

Neighbor-Id

Neighboring router ID

Next-hop

Next-hop address

Interface

Outbound interface

RefCount

Reference count

 

1.1.17  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: OSPFv3 process ID.

area: Displays neighbor information of the specified area.

area-id: The ID of an area, a decimal integer or an IPv4 address.

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

verbose: Displays 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 of 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-13  Description on the fields of the display isofv3 peer command

Field

Description

Neighbor ID

Neighbor ID

Pri

Priority of the neighbor

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 100 peer vlan-interface 10 verbose

OSPFv3 Process (100)

 Neighbor: 1.1.1.1, interface address: FE80::3D43:0:8C14:1

    In the area 0.0.0.1 via vlan-interface 10

    DR is 0.0.0.0 BDR is 0.0.0.0

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

    Dead timer due in 00:00:29

    Neighbor is up for 00:06:28

    Database Summary List 0

    Link State Request List 0

    Link State Retransmission List 0

Table 1-14  Description on the fields of the display isofv3 peer verbose command

Field

Description

Neighbor

Neighbor ID

interface address

Interface address

In the area 0.0.0.1 via interface vlan-interface 10

Interface Serial 2/0 belongs to area 1

DR is 0.0.0.0 BDR is 0.0.0.0

Neither DR nor BDR is elected

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

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

Dead timer due in 00:00:29

Dead timer due in 00:00:29

Neighbor is up for 00:06:28

Neighbor is up for 6 minutes and 28 seconds

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

 

1.1.18  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 device, 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-15 Description on the fields of the display ospfv3 peer statistic command

Field

Description

Area ID

Area ID

Down

In this state, neighbor initial state, the device has not received any information from a neighboring device 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 device and its neighbor is setup. DR/BDR election is finished under this state (or higher).

ExStart

In this state, the device decides on the initial DD sequence number and master/slave relationship of the two parties.

Exchange

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

Loading

In this state, the device 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

 

1.1.19  display ospfv3 request-list

Syntax

display ospfv3 [ process-id ] request-list [ statistic ]

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID.

statistic: Statistics of 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, 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 (1.1.1.1) (Process 1)

             Interface  vlan10    Area-ID   0.0.0.1

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

                          Nbr-ID   2.2.2.2

LS-Type               LS-ID           AdvRouter       SeqNum       Age

AS-External-LSA       0.0.16.66       2.2.2.2         0x80000001   98

AS-External-LSA       0.0.16.67       2.2.2.2         0x80000001   98

AS-External-LSA       0.0.16.68       2.2.2.2         0x80000001   98

Table 1-16   Description on the fields of the display ospfv3 request-list command

Field

Description

Interface

Interface name

Area-ID

Area ID

Nbr-ID

Neighbor’s router ID

LS-Type

Type of LSA

LS-ID

Link state ID

AdvRouter

Advertising router

SeqNum

LSA sequence number

Age

Age of LSA

 

# Display the statistics of OSPFv3 link state request list.

<Sysname> display ospfv3 request-list statistics

 

            OSPFv3 Router with ID (1.1.1.1) (Process 1)

Interface    Neighbor        LSA-Count

Vlan10           2.2.2.2         0

Table 1-17  Description on the fields of the display ospfv3 request-list statistics command

Field

Description

Interface

Interface name

Neighbor

Neighbor’s router ID

LSA-Count

Number of LSAs in the request list

 

1.1.20  display ospfv3 retrans-list

Syntax

display ospfv3 [ process-id ] retrans-list [ statistic ]

View

Any view

Default Level

1: Monitor level

Parameters

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

statistic: Displays link state retransmission list statistics.

Description

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

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

Examples

# Display the information of OSPFv3 link state retransmission list.

<Sysname> display ospfv3 retrans-list

            OSPFv3 Router with ID (2.2.2.2) (Process 1)  

             Interface  Eth1/0    Area-ID   0.0.0.1

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

                          Nbr-ID   2.2.2.2

LS-Type                LS-ID           AdvRouter       SeqNum       Age         

Router-LSA             0.0.0.0         2.2.2.2         0x80000006   0           

Network-LSA            0.15.0.8        2.2.2.2         0x80000001   0           

Intra-Area-Prefix-LSA  0.0.0.1         2.2.2.2         0x80000006   0

Table 1-18  Description on the fields of the display ospfv3 retrans-list command

Field

Description

Interface

Interface name

Area-ID

Area ID

Nbr-ID

Neighbor’s Router ID

LS-Type

Type of LSA

LS-ID

Link state ID

AdvRouter

Advertising Router

SeqNum

LSA sequence Number

Age

Age of LSA

 

# Display the statistics of OSPFv3 link state retransmission list.

<Sysname>display ospfv3 retrans-list statistics

            OSPFv3 Router with ID (3.3.3.3) (Process 1)

Interface  Neighbor        LSA-Count

vlan 1     1.1.1.1           0

Table 1-19  Description on the fields of the display ospfv3 retrans-list statistics command

Field

Description

Interface

Interface name

Neighbor

Neighbor ID

LSA-Count

Number of LSAs in the retransmission request list

 

1.1.21  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: OSPFv3 process ID.

ipv6-address: IPv6 address.

prefix-length: Prefix length.

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: vlan12

Table 1-20  Description on the fields of the display ospfv3 routing command

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-21  Description on the fields of the display ospfv3 routing statistics command

Field

Description

Intra-area-routes

Number of Intra-area-routes

Inter-area-routes

Number of inter-area routes

External-routes

Number of external routes

 

1.1.22  display ospfv3 statistic

Syntax

display ospfv3 statistic

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display ospfv3 statistic 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 statistic

 

                       OSPFv3 Statistics

Interface vlan-interface 14 Instance 0

 Type              Input       Output

 Hello             189         63

 DB Description    10          8

 Ls Req            2           1

 Ls Upd            16          6

 Ls Ack            10          6 

Table 1-22  Description on the fields of the display ospfv3 statistics command

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

 

1.1.23  display ospfv3 topology

Syntax

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

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID.

area: Displays the topology information of the specified area.

area-id: Area ID, a decimal integer or an IPv4 address.

Description

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

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         Eth1/0

Rtr   3.3.3.3                      1         3.3.3.3         Eth1/0

Rtr   4.4.4.4                      1         4.4.4.4         Eth1/0

Net   4.4.4.4(983049)              1         0.0.0.0         Eth1/0

Table 1-23  Description on the fields of the display ospfv3 topology command

Field

Description

Type

Type of node

ID(If-Index)

Router ID

Bits

Flag bit

Metric

Cost value

Next-Hop

Next hop

Interface

Outbound interface

 

1.1.24  display ospfv3 vlink

Syntax

display ospfv3 [ process-id ] vlink

View

Any view

Default Level

1: Monitor level

Parameters

process-id: OSPFv3 process ID.

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-interface 10, 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-24  Description on the fields of the display ospfv3 vlink command

Field

Description

Virtual Link VLINK1 to router 1.1.1.1 is up

The virtual link VLINK1 to switch 1.1.1.1 is up

Transit area 0.0.0.1 via interface Vlan-interface 10

Interface VLAN-interface 10 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

 

1.1.25  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

acl-number: ACL6 number.

ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list.

isisv6 process-id: Filters the routes of an IPv6-IS-IS process.

ospfv3 process-id: Filters the routes of an OSPFv3 process.

ripng process-id: Filters the routes of a RIPng process.

bgp4+: Filters BGP4+ routes.

direct: Filters direct routes.

static: Filters 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.

 

&  Note:

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-2000] rule permit source 2002:1:: 64

[Sysname-acl6-basic-2000] quit

[Sysname] ospfv3

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

1.1.26  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: ACL6 number.

ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list.

Description

Use the filter-policy import command to filter received routes.

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

No received routes are filtered by default.

 

&  Note:

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

1.1.27  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  { isis process-id | ospfv3 process-id | ripng process-id | bgp4+ | direct | static }

View

OSPFv3 view

Default Level

2: System level

Parameters

isisv6 process-id: Redistributes IPv6 ISIS routes from an IPv6 IS-IS process.

ospfv3 process-id: Redistributes OSPFv3 routes from an OSPFv3 process.

ripng process-id: Redistributes RIPng routes from a RIPng process.

bgp4+: Redistributes BGP4+ routes.

allow-ibgp: Allows redistributing IBGP routes.

direct: Redistributes direct routes.

static: Redistributes static routes.

cost value: Cost for redistributed routes. The default is 1.

type type: Specifies the type of 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.

 

  Caution:

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

1.1.28  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 of neighbor state changes of OSPFv3 process 100.

<Sysname> system-view

[Sysname] ospfv3 100

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

1.1.29  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.

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.

The default number is 8.

Examples

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

<Sysname> system-view

[Sysname] ospfv3 1

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

1.1.30  ospfv3

Syntax

ospfv3 [ process-id ]

undo ospfv3 [ process-id ]

View

System view

Default Level

2: System level

Parameters

process-id: OSPFv3 process ID. 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.

 

&  Note:

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

1.1.31  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.

area-id: Area ID, a decimal integer or an IPv4 address.

instance-id: Instance ID of an interface. The default is 0.

Description

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

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 process.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

1.1.32  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.

instance-id: Instance ID of the interface. The default is 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, the 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

1.1.33  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. The default is 1.

instance-id: ID of the instance the interface belongs to. The default is 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.

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 Vlan–interface10 in instance 1 to 8.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

1.1.34  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, which defaults to 0.

Description

Use the ospfv3 mtu-ignore command to configure the interface to ignore MTU when sending DD packets.

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

MTU is not ignored by default.

Examples

# Configure the interface that belongs to instance 1 to ignore MTU.

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

1.1.35  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.

instance-id: Instance ID of an interface, 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.

Related commands: ospfv3 timer hello.

Examples

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

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

1.1.36  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 in seconds.

instance-id: Instance ID of an interface, 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.

Related commands: ospfv3 timer dead.

Examples

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

<Sysname> system-view

[Sysname] interface vlan-interface 10

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

1.1.37  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.

instance-id: Instance ID of an interface, 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.

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

1.1.38  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.

instance-id: Instance ID of the interface. The default is 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.

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

1.1.39  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 the preference for specific routes.

Preference: Preference for OSPFv3 routes.

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 device 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

1.1.40  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 dotted decimal 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.

 

&  Note:

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

 

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

1.1.41  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 VLAN-interface 10 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

1.1.42  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.

hold-interval: Hold interval in seconds between two consecutive SPF calculations.

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 device 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

1.1.43  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 devices 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

1.1.44  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. The default is 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. The default is 5.

trans-delay seconds: Specifies the delay interval in seconds for sending LSA packets. The default is 1.

dead seconds: Specifies the neighbor dead time in seconds. The default is 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. The default is 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 direct connection with the backbone area or for a backbone area that cannot maintain connectivity, you can use the vlink-peer command to create logical connectivity. A virtual link can be considered as an interface with OSPFv3 enabled, because parameters such as hello, retransmit and trans-delay are configured in the similar way.

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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网