Disabling the Opaque LSA Capability

The opaque link-state advertisement (LSA) capability is enabled by default and can be disabled. When the opaque LSA capability is disabled, the device does not accept opaque LSAs from a peer. Therefore, these LSAs are not added to the OSPF link state database and are not flooded to the opaque capable peers. When the default opaque capability is enabled for a device, the device does not originate any opaque LSAs from itself.
The following task disables the opaque LSA capability so that opaque LSAs are not added to the OSPF link state database and are not flooded to the opaque capable peers.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router ospf command to enter OSPF router configuration mode and enable OSPFv2 globally.
    device(config)# router ospf
  3. Enter the opaque-capability command with the disable parameter to disable the opaque LSA capability.
    device(config-ospf-router)# opaque-capability disable

The following example disables the opaque LSA capability.

device# configure terminal
device(config)# router ospf 
device(config-ospf-router)# opaque-capability disable

The following example re-enables the opaque LSA capability.

device# configure terminal
device(config)# router ospf 
device(config-ospf-router)# opaque-capability enable