98
# Configure ACL 3000 to permit only route 113.0.0.0/16. Use ACL 3000 to filter inbound routes.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 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. Before OSPF restart, the GR Restarter sends Grace-LSAs to GR
Helpers.
• Non-planned GR—OSPF restarts because of device failure. Before OSPF restart, 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.
Before enabling non-IETF GR for OSPF, enable OSPF LLS with the enable link-local-signaling command
and OOB-Resynch with the enable out-of-band-resynchronization command.