306 CHAPTER 28: OSPF CONFIGURATION
Enabling the
Advertisement and
Reception of Opaque
LSAs
With this feature enabled, the OSPF router can receive and advertise Type 9, Type 
10 and Type 11 opaque LSAs.
Follow these steps to enable the advertisement and reception of opaque LSAs:
Configuring OSPF 
Graceful Restart
Configuring the GR
Capability
You can configure the IETF standard or non IETF standard OSPF Graceful Restart 
capability.
Configuring the IETF standard OSPF GR capability
Follow these steps to configure the standard IETF OSPF GR capability:
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Bind OSPF MIB to an 
OSPF process 
ospf mib-binding process-id Optional
The first OSPF process is 
bound with OSPF MIB by 
default. 
Enable OSPF trap  snmp-agent trap enable ospf 
[ process-id ] [ ifauthfail | 
ifcfgerror | ifrxbadpkt | 
ifstatechange | iftxretransmit | 
lsdbapproachoverflow | 
lsdboverflow | maxagelsa | 
nbrstatechange | originatelsa | 
vifcfgerror | virifauthfail | 
virifrxbadpkt | virifstatechange | 
viriftxretransmit | 
virnbrstatechange ] * 
Optional
Enabled by default 
Enter OSPF view  ospf [ process-id | router-id 
router-id ] * 
- 
Enable messages 
logging 
enable log [ config | error | state ] Optional
Not enabled by default
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter OSPF view  ospf [ process-id | router-id 
router-id ] * 
- 
Enable the advertisement and 
reception of opaque LSAs 
opaque-capability enable Optional
Disabled by default
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter OSPF view  ospf [ process-id | router-id 
router-id ] * 
- 
Enable the advertisement and 
reception of opaque LSAs 
opaque-capability enable Required
Disabled by default