Usage Scenario
To facilitate network management, configure dynamic hostnames to identify routers. After you run the hostname command to configure a dynamic hostname for a device, the device generates a router information (RI) Opaque LSA.
RI Opaque LSAs are generated based on the following rules:
- The rules based on which RI Opaque LSAs are generated on ASBRs are as follows:
- ASBRs that are connected to NSSA or Stub areas generate and flood Type 10 RI Opaque LSAs (Type 10 RI LSAs).
- ASBRs that are not connected to NSSA or Stub areas generate and flood AS RI LSAs (Type 11 RI LSAs).
- ASBRs that are connected to NSSA or Stub areas only do not generate RI Opaque LSAs within the AS.
- ABRs and internal area routers flood RI Opaque LSAs to its connected areas.
After a device receives a RI Opaque LSA, you can run the display ospf hostname-table command on the router to check the mapping between the router ID and the dynamic hostname.
Prerequisites
The Opaque LSA capability has been enabled using the opaque-capability enable command.
Precautions
If you specify in this command, is advertised as the dynamic hostname. If no is specified in this command, the hostname specified in the sysname command is advertised as the dynamic hostname.