1、进入路由器的全局模式。router#configure terminal2、将主机名为cisco的路由器映射到192.168.0.12的地址上。router(config)#ip host cisco 192.168.0.12