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.
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.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ospf hostname-table
OSPF Process 1 with Router ID 10.3.3.3
Hostname table information
Area: 0.0.0.1
Router ID Hostname
10.3.3.3 RTR_BLR
10.1.1.1 RTR_SHANGHAI
255.255.255.254 RTR_BJI
Area: 0.0.0.2
Router ID Hostname
10.3.3.3 RTR_BLR
10.30.1.1 RTR_DELHI
AS-Scope
Router ID Hostname
10.20.1.1 RTR_SHENZHEN
255.255.255.254 RTR_BJI
Item | Description |
---|---|
Router ID | Router ID. |
Hostname | OSPF hostname. |
AS-Scope | Flooded hostname in the OSPF AS. |
Area | Flooded OSPF hostname in the area. |