89
Enabling OSPF PIC
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Enable PIC for
OSPF.
pic
[
additional-path-always
]
By default, OSPF PIC is
enabled.
Configuring BFD for OSPF PIC
By default, OSPF PIC does not use BFD to detect primary link failures. To speed up OSPF convergence,
enable BFD single-hop echo detection for OSPF PIC to detect primary link failures.
To configure BFD for OSPF PIC:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the source IP
address of BFD echo packets.
bfd echo-source-ip
ip-address
By default, the source IP address of
BFD echo packets is not
configured.
3.
Enter interface view.
interface
interface-type
interface-number
N/A
4.
Enable BFD for OSPF PIC.
ospf primary-path-detect bfd echo
By default, BFD for OSPF PIC is
disabled.
Configuring the number of OSPF logs
OSPF logs include route calculation logs and neighbor logs.
To configure the number of OSPF logs:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Configure the
number of OSPF
logs.
event-log
{
peer
|
spf
}
size
count
By default, the number of both route
calculation logs and neighbor logs is 10.
Configuring OSPF GR
GR ensures forwarding continuity when a routing protocol restarts.
Two routers are required to complete a GR process. The following are router roles in a GR process.
•
GR restarter
—Graceful restarting router. It must have GR capability.
•
GR helper
—A neighbor of the GR restarter. It helps the GR restarter to complete the GR process.