switch(config)# hostname JLAB // 命名主機名稱 JLAB(config)# ip domain-name james-tw.com // 設定網域名稱 JLAB(config)# crypto key generate rsa // 產生金鑰 The name for the keys will be: JLAB.james-tw.com
www.james-tw.com