R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
147
[Sysname] ospf 100
[Sysname-ospf-100] filter-policy 2000 import
# Configure ACL 3000 to permit only route 113.0.0.0/16. Use ACL 3000 to filter received routes.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 255.255.0.0 0
[Sysname-acl-adv-3000] rule 100 deny ip
[Sysname-acl-adv-3000] quit
[Sysname] ospf 100
[Sysname-ospf-100] filter-policy 3000 import
graceful-restart (OSPF view)
Use graceful-restart to enable OSPF GR.
Use undo graceful-restart to disable OSPF GR.
Syntax
graceful-restart [ ietf | nonstandard ] [ global | planned-only ] *
undo graceful-restart
Default
OSPF GR is disabled.
Views
OSPF view
Predefined user roles
network-admin
Parameters
ietf: Enables IETF GR.
nonstandard: Enables non-IETF GR.
global: Enables global GR. In global GR mode, a GR process can be completed only when all GR
helpers exist. A GR process fails if a GR helper fails (for example, the interface connected to the GR
helper goes down). Without this keyword, this command enables partial GR. In partial GR mode, a GR
process can be completed if a GR helper exists.
planned-only: Enables planned only GR. Without this keyword, this command enables both planned GR
and unplanned GR.
Usage guidelines
GR includes planned GR and unplanned GR:
• Planned GR—Manually restart OSPF or perform an active/standby switchover. Before OSPF restart
or active/standby switchover, the GR restarter sends Grace-LSAs to GR helpers.
• Non-planned GR—OSPF restarts or an active/standby switchover occurs because of device failure.
Before OSPF restart or active/standby switchover, the GR restarter does not send Grace-LSAs to GR
helpers.
Before enabling IETF GR for OSPF, enable Opaque LSA advertisement and reception with the
opaque-capability enable command.