clish -s -c 'add host name <hostname|domain> ipv4-address <ip>'

Notes:

  • Do NOT directly edit the /etc/hosts file

Next Post Previous Post