IP domain command

Unanswered Question
Dec 18th, 2007
User Badges:

Hello everyone,

I have upgraded a WS-C3550-24-SMI switch with the latest OS which includes security. I would like to add ssh to the switch but it says I must add a domain name. Could someone explain why this is neccessary. Can I makeup any domain name or does it need to be a valid name? Does the switch need to be added to DNS?

Should I use the crypto key generate rsa command to accomplish this?

Thanks again for your help,


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Tue, 12/18/2007 - 13:04
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


It can be any domain name you want, it really doesn't matter that much if you are using it purely for ssh. However you may as well use the domain name that is already used in your company.

No an entry for the switch does not have to be added to DNS for it to work but you may well want to do that anyway so you can use the name rather than the ip address when you ssh to the switch.

The domain name is needed as it used as part of the crypto key generation.

crypto key generate rsa is used to generate a key after you have set the domain name.




This Discussion