>Enable 进入特权模式 #Exit 返回上一级操作模式 #del flash:config.text 删除配置文件(交换机及1700系列路由器) #erase startup-config 删除配置文件(2500系列路由器) #write memory 或copy running-config startup-config 保存配置 #Configure terminal 进入全局配置模式 (config)# hostname routerA 配置设备名称为routerA (config)#banner motd & 配置每日提示信息 &为终止符 (config)# enable secret star 或者:enable password star 设置路由器的特权模式密码为star;secret 指密码以非明文显示,password指密码以明文显示 查看信息 #show running-config 查看当前生效的配置信息 #show interface fastethernet 0/3 查看F0/3端口信息 #show
- 1
- 2
- 3
前往页