- Table of Contents
-
- 07-Layer 3 - IP Routing Command Reference
- 00-Preface
- 01-Basic IP Routing Commands
- 02-Static Routing Commands
- 03-RIP Commands
- 04-OSPF Commands
- 05-IS-IS Commands
- 06-BGP Commands
- 07-Policy-Based Routing Commands
- 08-Guard Route Commands
- 09-IPv6 Static Routing Commands
- 10-RIPng Commands
- 11-OSPFv3 Commands
- 12-IPv6 IS-IS Commands
- 13-IPv6 BGP Commands
- 14-IPv6 Policy-Based Routing Commands
- 15-Routing Policy Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
11-OSPFv3 Commands | 252.85 KB |
Contents
abr-summary (OSPFv3 area view)
default-cost (OSPFv3 area view)
display ospfv3 graceful-restart status
enable ipsec-policy (OSPFv3 area view)
filter-policy export (OSPFv3 view)
filter-policy import (OSPFv3 view)
graceful-restart helper enable
graceful-restart helper strict-lsa-checking
maximum load-balancing (OSPFv3 view)
silent-interface (OSPFv3 view)
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 of 0 to 128. This argument specifies the number of consecutive 1s of the prefix, which defines the network ID.
not-advertise: Specifies not to advertise the summary IPv6 route.
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.
|
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]
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 of 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:
· Configure the cost value in interface view.
· 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 automatically computes the interface cost value.
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 value | route-policy route-policy-name | type type ] *
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 value: Specifies a cost for the default route, in the range of 0 to 16777214. The default is 1.
route-policy route-policy-name: Specifies a routing policy, the name of which is a case-sensitive string of 1 to 63 characters.
type type: Specifies a type for the ASE LSA: 1 or 2. The default is 2.
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:
· The router advertises the default route only when it passes the routing policy.
· 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.
· 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.
· 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.
· 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 ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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
Graceful restart restarter enabled
Graceful restart helper enabled
Graceful restart helper srtict-lsa-checking enabled
Graceful restart interval 150 secs
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 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. |
Graceful restart restarter enabled |
The current process supports GR. |
Graceful restart helper enabled |
The current process supports the GR Helper capability. |
Graceful restart helper srtict-lsa-checking enabled |
The current process supports GR Helper strict LSA checking. |
Graceful restart interval 150 secs |
GR restart interval |
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 graceful-restart status
Syntax
display ospfv3 [ process-id ] graceful-restart status [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: ID of an OSPFv3 process, ranging from 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display ospfv3 graceful-restart status command to display GR status of the specified OSPFv3 process.
If no process ID is specified, GR status of all processes will be displayed.
Examples
# Display GR status of all OSPFv3 processes (GR Restarter).
<Sysname> display ospfv3 graceful-restart status
OSPFv3 Router with ID (1.1.1.1) (Process 1)
graceful restart information
GR status :GR in progress
GR remaining time: 100
# Display GR status of all OSPFv3 processes (GR Helper).
<Sysname> display ospfv3 graceful-restart status
OSPFv3 Router with ID (1.1.1.1) (Process 1)
graceful restart information
GR status:Helper
Neighbor ID Interface Instance ID Remaining time
1.1.1.1 Vlan1000 1 100
Table 2 Output description
Field |
Description |
OSPFv3 Router with ID (1.1.1.1) (Process 1) graceful restart information |
The GR status of OSPFv3 process 1 with router ID 1.1.1.1 is displayed. |
GR status |
GR status: · GR in progress—Indicates GR is in process. · Calculating routes—Indicates route calculation is in process. · Flushing LSAs—Indicates the switch is flushing stale LSA. · Normal—Indicates the switch is not in GR or Helper status. · Helper—Indicates the Helper status. |
GR remaining time |
Remaining time before the GR timer expires. |
Neighbor ID |
Router ID of the neighbor router. |
Interface |
Outgoing interface. |
Instance ID |
Instance ID. |
display ospfv3 interface
Syntax
display ospfv3 interface [ interface-type interface-number | statistic ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Interface type and interface number.
statistic: Displays the interface statistics.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display ospfv3 interface command to display OSPFv3 interface information.
Examples
# Display OSPFv3 interface information on 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
IPsec policy name: policy001, SPI: 300
BFD: Enabled
Table 3 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 |
Time intervals in seconds configured on the interface: · Hello—Hello interval · Dead—Dead interval · Wait—After this timer expires, the interface quits from the waiting state. · Retransmit—LSA retransmission interval |
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 |
SPI |
SPI defined in the IPsec policy |
BFD |
BFD status on the interface (enabled or disabled) |
display ospfv3 lsdb
Syntax
display ospfv3 [ process-id ] lsdb [ { external | grace | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router router-id ] | total ] [ | { begin | exclude | include } regular-expression ]
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.
grace: Displays information about Grace-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 in the LSDB.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 (2.2.2.2) (Process 1)
Link-LSA (Interface Vlan-interface11)
Link State ID Origin Router Age SeqNum CkSum Prefix
0.0.2.6 1.1.1.1 0055 0x80000001 0x4642 0
0.0.2.6 2.2.2.2 0053 0x80000001 0xf267 0
Grace-LSA (Interface Vlan-interface11)
Link State ID Origin Router Age SeqNum CkSum
0.0.2.6 1.1.1.1 100 0x8000004 0xba1f
Router-LSA (Area 0.0.0.1)
Link State ID Origin Router Age SepNum CkSum Link
0.0.0.0 1.1.1.1 0050 0x80000002 0x12d1 1
0.0.0.0 2.2.2.2 0048 0x80000002 0xa142 1
Table 4 Output description
Field |
Description |
Link-LSA |
Type 8 LSA |
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 |
Router-LSA |
Link |
Number of links |
Network-LSA |
Network-LSA |
Intra-Area-Prefix-LSA |
Type 9 LSA |
Grace-LSA |
Type 11 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-interface11)
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 5 Output description
Field |
Description |
LS age |
Age of LSA |
LS Type |
Type of LSA |
Link State ID |
Link state ID |
Originating Router |
Originating Router |
LS Seq Number |
LSA Sequence Number |
Checksum |
LSA Checksum |
Length |
LSA Length |
Priority |
Router Priority |
Options |
Options |
Link-Local Address |
Link-Local Address |
Number of Prefixes |
Number of Prefixes |
Prefix |
Address prefix |
Prefix Options |
Prefix options |
# Display Grace-LSA information in the LSDB.
<Sysname> display ospfv3 lsdb grace
OSPFv3 Router with ID (1.1.1.1) (Process 1)
Grace-LSA (Interface Vlan-interface4000)
----------------------------------------------------------------
LS age : 10
LS Type : Grace-LSA
Link State ID : 9.178.15.159
Originating Router: 1.1.1.1
LS Seq Number : 0x80000001
Checksum : 0x5274
Length : 36
Graceful Restart Period: 1800
Restart Reason : 3 - switch-over
Table 6 Output description
Field |
Description |
LS age |
Age of LSA |
LS Type |
Type of LSA |
Link State ID |
ID of Link State |
Originating Router |
Originating Router |
LS Seq Number |
LSA Sequence Number |
Checksum |
LSA Checksum |
Length |
LSA Length |
Graceful Restart Period |
GR restart interval |
Restart Reason |
Cause of the GR restart |
# Display LSA statistics in the LSDB.
<Sysname> display ospfv3 lsdb total
OSPFv3 (Process 1) Database Total
Type Of LSA Number
Router-LSA : 1
Network-LSA : 0
Inter-Area-Prefix-LSA : 0
Inter-Area-Router-LSA : 0
AS-external-LSA : 0
Link-LSA : 1
Intra-Area-Prefix-LSA : 0
Grace-LSA : 0
Unknown-LSA : 0
Total Number Of LSAs : 2
Table 7 Output description
Field |
Description |
Type Of LSA |
Type of LSA |
Number |
Number of LSAs |
Router-LSA |
Type 1 LSA |
Network-LSA |
Type 2 LSA |
Inter-Area-Prefix-LSA |
Type 3 LSA |
Inter-Area-Router-LSA |
Type 4 LSA |
AS-external-LSA |
Type 5 LSA |
Link-LSA |
Type 8 LSA |
Intra-Area-Prefix-LSA |
Type 9 LSA |
Grace-LSA |
Type 11 LSA |
Unknown-LSA |
Unknown LSA |
Total Number Of LSAs |
Total number of LSAs |
display ospfv3 lsdb statistic
Syntax
display ospfv3 lsdb statistic [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 Grace 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 0
Table 8 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 |
Grace |
Grace-LSA number |
ASE |
AS-external-LSA number |
Total |
Total LSA number |
display ospfv3 next-hop
Syntax
display ospfv3 [ process-id ] next-hop [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 GE1/1/1 1
Table 9 Output description
Field |
Description |
Neighbor-Id |
Neighboring router ID |
Next-hop |
Next-hop address |
Interface |
Outgoing interface |
RefCount |
Reference count |
display ospfv3 peer
Syntax
display ospfv3 [ process-id ] [ area area-id ] peer [ [ interface-type interface-number ] [ verbose ] | peer-router-id ] [ | { begin | exclude | include } regular-expression ]
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.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display ospfv3 peer command to display OSPFv3 neighbor information.
· If no area-id is specified, the neighbor information of all areas is displayed.
· If no process-id is specified, the information of all processes is displayed.
· 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 10 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 1 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::20F:E2FF:FE49:8050
In the area 0.0.0.1 via interface Vlan-interface33
DR is 1.1.1.1 BDR is 2.2.2.2
Options is 0x000013 (-|R|-|-|E|V6)
Dead timer due in 00:00:39
Neighbor is up for 00:25:31
Database Summary List 0
Link State Request List 0
Link State Retransmission List 0
Graceful restart state: Normal
Table 11 Output description
Field |
Description |
Neighbor |
Neighbor ID |
interface address |
Interface address |
In the area 0.0.0.1 via interface Vlan-interface33 |
VLAN-interface 33 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 00:06:28 |
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 |
Graceful restart state |
GR status: · Doing GR—Indicates GR is in process · Complete GR—Indicates the neighbor has completed GR · Normal—Indicates normal status · Helper—Indicates the device is a GR Helper of the neighbor |
display ospfv3 peer statistic
Syntax
display ospfv3 peer statistic [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 12 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 switch 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 | grace | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router ip-address ] | statistics ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: OSPFv3 process ID, in the range of 1 to 65535.
external: Displays the AS-external LSA information of the OSPFv3 link state request list.
grace: Displays the Grace-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.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 GE1/1/2 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 13 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
Vlan11 10.1.1.1 0
Table 14 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 | grace | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router ip-address ] | statistics ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: OSPFv3 process ID, in the range of 1 to 65535.
external: Displays the AS-external LSA information of the OSPFv3 link state retransmission list.
grace: Displays the Grace-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, 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.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 GE1/1/2 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 15 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
GE1/1/2 12.1.1.1 2
Table 16 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 ] [ | { begin | exclude | include } regular-expression ]
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 of 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 .
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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: Vlan11
Table 17 Output description
Field |
Description |
Destination |
Destination network segment |
Type |
Route type |
Cost |
Route cost value |
NextHop |
Next hop address |
Interface |
Outgoing 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 18 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 statistic
Syntax
display ospfv3 statistic [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 GE1/1/1 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 19 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 |
Number of discarded packets |
display ospfv3 topology
Syntax
display ospfv3 [ process-id ] topology [ area area-id ] [ | { begin | exclude | include } regular-expression ]
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.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 Vlan11
Rtr 3.3.3.3 1 3.3.3.3 Vlan11
Rtr 4.4.4.4 1 4.4.4.4 Vlan11
Net 4.4.4.4(983049) 1 0.0.0.0 Vlan11
Table 20 Output description
Field |
Description |
Type |
Type of node |
ID(If-Index) |
Router ID |
Bits |
Flag bit |
Metric |
Cost value |
Next-Hop |
Next hop |
Interface |
Outgoing interface |
display ospfv3 vlink
Syntax
display ospfv3 [ process-id ] vlink [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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-interface11, 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 21 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-interface11 |
VLAN-interface 11 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 |
enable ipsec-policy (OSPFv3 area view)
Syntax
enable ipsec-policy policy-name
undo enable ipsec-policy
View
OSPFv3 area view
Default level
2: System level
Parameters
policy-name: IPsec policy name, a string of 1 to 15 characters.
Description
Use the enable ipsec-policy command to apply an IPsec policy in the OSPFv3 area.
Use the undo enable ipsec-policy command to remove the IPsec policy from the OSPFv3 area.
By default, no IPsec policy is applied in an area.
The IPsec policy to be applied must have been configured.
Examples
# Apply IPsec policy policy001 to OSPFv3 area 0.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] area 0
[Sysname-ospfv3-1-area-0.0.0.0] enable ipsec-policy policy001
filter-policy export (OSPFv3 view)
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ bgp4+ | direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ]
undo filter-policy export [ bgp4+ | direct | isisv6 process-id | ospfv3 process-id | ripng process-id | 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.
bgp4+: Filters IPv6 BGP routes.
direct: Filters direct routes.
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.
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.
By default, OSPFv3 does not filter redistributed routes.
If no protocol is specified, all redistributed routes will be filtered.
If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to deny/permit a route with the specified destination and prefix. The source keyword specifies the destination address of a route while the destination keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration is ineffective).
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
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter redistributed routes.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ospfv3
[Sysname-ospfv3-1] filter-policy 3000 export
filter-policy import (OSPFv3 view)
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.
If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to deny/permit a route with the specified destination and prefix. The source keyword specifies the destination address of a route while the destination keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration is ineffective).
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
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter received routes.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ospfv3
[Sysname-ospfv3-1] filter-policy 3000 import
graceful-restart enable
Syntax
graceful-restart enable
undo graceful-restart enable
View
OSPFv3 view
Default level
2: System level
Parameters
None
Description
Use the graceful-restart enable command to enable the GR capability for OSPFv3.
Use the undo graceful-restart enable command to disable the GR capability for OSPFv3.
By default, the GR capability for OSPFv3 is disabled.
You cannot enable the GR capability for an area of the current process already configured with the vlink-peer command.
Examples
# Enable the GR capability for OSPFv3 process 1.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] graceful-restart enable
graceful-restart helper enable
Syntax
graceful-restart helper enable
undo graceful-restart helper enable
View
OSPFv3 view
Default level
2: System level
Parameters
None
Description
Use the graceful-restart helper enable command to enable the GR Helper capability for OSPFv3.
Use the undo graceful-restart helper enable command to disable the GR Helper capability for OSPFv3.
By default, the GR Helper capability for OSPFv3 is enabled.
Examples
# Enable the GR Helper capability for OSPFv3 process 1.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] graceful-restart helper enable
graceful-restart helper strict-lsa-checking
Syntax
graceful-restart helper strict-lsa-checking
undo graceful-restart helper strict-lsa-checking
View
OSPFv3 view
Default level
2: System level
Parameters
None
Description
Use the graceful-restart helper strict-lsa-checking command to enable strict LSA checking for the GR Helper. When an LSA change on the GR Helper is detected, the GR Helper switch exits the GR Helper mode.
Use the undo graceful-restart helper strict-lsa-checking command to disable strict LSA checking for the GR Helper.
By default, strict LSA checking for the GR Helper is disabled.
Examples
# Enable strict LSA checking for the GR Helper in OSPFv3 process 1.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] graceful-restart helper strict-lsa-checking
graceful-restart interval
Syntax
graceful-restart interval interval-value
undo graceful-restart interval
View
OSPFv3 view
Default level
2: System level
Parameters
interval-value : GR restart interval, in the range of 40 to 1800 seconds.
Description
Use the graceful-restart interval command to configure the GR restart interval.
Use the undo graceful-restart interval command to restore the default.
By default, the GR restart interval is 120 seconds.
The value of the GR restart interval cannot be smaller than the maximum OSPFv3 neighbor dead time of all the OSPFv3 interfaces; otherwise, GR restart may fail.
Related commands: ospfv3 timer dead.
Examples
# Configure the GR restart interval for OSPFv3 process 1 as 100 seconds.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] graceful-restart interval 100
import-route (OSPFv3 view)
Syntax
import-route protocol [ process-id | allow-ibgp ] [ cost value | route-policy route-policy-name | type type ] *
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 of 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 value: Specifies a cost for redistributed routes, ranging from 1 to 16777214. The default is 1.
route-policy route-policy-name: Redistributes only the routes that match the specified routing policy. route-policy-name is a case-sensitive string of 1 to 63 characters.
type type: Specifies the type for redistributed routes, 1 or 2. It defaults to 2.
|
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.
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, in the range of 1 to 16. 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.
Use the undo maximum load-balancing command to restore the default.
By default, the maximum number of equal-cost routes is 16.
Examples
# Configure the maximum number of equal-cost routes as 6.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] maximum load-balancing 6
ospfv3
Syntax
ospfv3 [ process-id ] [ vpn-instance vpn-instance-name ]
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.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the OSPFv3 process belongs to the public network.
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.
|
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
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 of 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 of 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 VLAN-interface 10 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 bfd enable
Syntax
ospfv3 bfd enable [ instance instance-id ]
undo ospfv3 bfd enable [ instance instance-id ]
View
Interface view
Default level
2: System level
Parameters
instance-id: Instance ID of the interface. It ranges from 0 to 255 and defaults to 0.
Description
Use the ospfv3 bfd enable command to enable BFD for link failure detection on an OSPFv3 interface.
Use the undo ospfv3 bfd enable command to disable BFD on the OSPFv3 interface.
By default, the OSPFv3 interface is not enabled with BFD.
Examples
# Enable BFD on VLAN-interface 11 in instance 1.
<Sysname> system-view
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] ospfv3 bfd enable instance 1
ospfv3 cost
Syntax
ospfv3 cost value [ instance instance-id ]
undo ospfv3 cost [ value ] [ instance instance-id ]
View
Interface view
Default level
2: System level
Parameters
value: OSPFv3 cost of the interface, in the range of 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.
The default cost depends on the interface type: 1 for a VLAN interface; 0 for a loopback interface; computed according to the bandwidth for other interfaces with the formula: Interface OSPF cost = Bandwidth reference value (100 Mbps) ÷ Interface bandwidth (Mbps).
If the calculated cost is greater than 65535, the value of 65535 is used; if the calculated cost is smaller than 1, the value of 1 is used.
Examples
# Specifies the OSPFv3 cost of VLAN-interface 10 in instance 1 as 33.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 cost 33 instance 1
ospfv3 dr-priority
Syntax
ospfv3 dr-priority priority [ instance instance-id ]
undo ospfv3 dr-priority [ priority ] [ instance instance-id ]
View
Interface view
Default level
2: System level
Parameters
priority: DR priority, in the range of 0 to 255.
instance-id: ID of the instance an interface belongs to, in the range of 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 VLAN-interface 10 in instance 1 to 8.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 dr-priority 8 instance 1
ospfv3 ipsec-policy
Syntax
ospfv3 ipsec-policy policy-name [ instance instance-id ]
undo ospfv3 ipsec-policy policy-name [ instance instance-id ]
View
Interface view
Default level
2: System level
Parameters
policy-name: IPsec policy name, a string of 1 to 15 characters.
instance-id: ID of the instance of the interface, in the range of 0 to 255. It defaults to 0.
Description
Use the ospfv3 ipsec-policy command to apply an IPsec policy on an OSPFv3 interface.
Use the undo ospfv3 ipsec-policy command to remove the IPsec policy from the OSPFv3 interface.
By default, no IPsec policy is applied on an OSPFv3 interface.
The IPsec policy to be applied must have been configured.
Examples
# Apply IPsec policy policy001 to OSPFv3 interface VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 ipsec-policy policy001 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 of 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 VLAN-interface 10 that belongs to instance 1 to ignore MTU check when sending DD packets.
<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 [ broadcast | nbma | p2mp [ non-broadcast ] | p2p ] [ 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:
· For PPP, the default network type is P2P.
· For Ethernet, the default network type is broadcast.
Examples
# Configure the network type of VLAN-interface 10 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 [ dr-priority dr-priority ] [ 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 of 0 to 255. The default is 1.
instance-id: Interface instance ID, in the range of 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 [ seconds ] [ 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 120 seconds for P2MP and NBMA interfaces.
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
ospfv3 timer hello
Syntax
ospfv3 timer hello seconds [ instance instance-id ]
undo ospfv3 timer hello [ seconds ] [ 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.
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
ospfv3 timer retransmit
Syntax
ospfv3 timer retransmit interval [ instance instance-id ]
undo ospfv3 timer retransmit [ interval ] [ 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 switch 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
ospfv3 timer poll
Syntax
ospfv3 timer poll seconds [ instance instance-id ]
undo ospfv3 timer poll [ seconds ] [ instance instance-id ]
View
Interface view
Default level
2: System level
Parameters
seconds: Poll interval in seconds, in the range of 1 to 65535.
instance-id: Interface instance ID, in the range of 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.
Examples
# Set the poll timer interval on VLAN-interface 10 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 [ seconds ] [ 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.
Examples
# Configure the transmission delay as 3 seconds for VLAN-interface 10 in instance 1.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 trans-delay 3 instance 1
preference
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 case-sensitive string of 1 to 63 characters.
Preference: Preference of OSPFv3, in the range of 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 switch running an OSPFv3 process in the AS. 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 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 receiving and sending OSPFv3 packets.
Use the undo silent-interface command to restore the default.
An interface is able to receive and send OSPFv3 packets by default.
Multiple processes can disable the same interface from receiving and 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 receiving and sending OSPFv3 packets in OSPFv3 processes 100 and 200.
[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 of 0 to 65535.
hold-interval: Hold interval in seconds between two consecutive SPF calculations, in the range of 0 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.
Setting both the delay-interval and hold-interval to 0 triggers an SPF calculation at once, improving the network convergence speed.
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 this keyword configured, the ABR advertises only a default route in an Inter-Area-Prefix-LSA into the stub area. No AS-external-LSA, Inter-Area-Router-LSA, or other Inter-Area-Prefix-LSA is advertised in the area. The stub area of this kind is also known as 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 | ipsec-policy policy-name ] *
undo vlink-peer router-id [ hello | retransmit | trans-delay | dead | ipsec-policy ] *
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.
ipsec-policy policy-name: Applies an IPsec policy, the name of which is a string of 1 to 15 characters.
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.
If you have enabled the GR capability for the current process, you cannot execute the vlink-peer command for the process.
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