1:进入特权模式enablerouter>enablerouter#2:进入全局配置模式configureterminalrouter>enablerouter#configureterminalrouter(conf)#3:交换机命名hostnameroutera以routerA为例router>enablerouter#configureterminal