The hostname command enables the OSPFv3 dynamic hostname function.
The undo hostname command disables the OSPFv3 dynamic hostname function.
By default, the OSPFv3 dynamic hostname function is disabled.
Usage Scenario
To facilitate network management, configure dynamic hostnames to identify routers. To enable the OSPFv3 dynamic hostname function, run the hostname command.
Precautions
If you specify host-name in this command, host-name is advertised as the dynamic hostname. If no host-name is specified in this command, the hostname specified in the sysname command is advertised as the dynamic hostname.