Basic config

ip domain-name <name>

Domain suffix for the device (also required before 'crypto key generate rsa' for SSH).

Works on: Router, SwitchMode: config
Run this command live

Don't just read it — type ip domain-name <name> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "ip domain-name <name>" command do?

Domain suffix for the device (also required before 'crypto key generate rsa' for SSH).

More Basic config commands

← Back to the full command reference

ip domain-name <name> — network CLI command reference · NetForge-AI