1. 首页
  2. 课程学习
  3. 嵌入式
  4. 思科交换机常用配置命令

思科交换机常用配置命令

上传者: 2022-09-29 13:21:53上传 RAR文件 4.332 KB 热度 28次

  交换机基本状态:

  switch: ;ROM状态, 路由器是rommon>

  hostname> ;用户模式

  hostname# ;特权模式

  hostname(config)# ;全局配置模式

  hostname(config-if)# ;接口状态

  交换机口令设置:

  switch>enable ;进入特权模式

  switch#config terminal ;进入全局配置模式

  switch(config)#hostname ;设置交换机的主机名

  switch(config)#enable secret xxx ;设置特权加密口令

  switch(config)#enable password xxa ;设置特权非密口令

  switch(config)#line console 0 ;进入控制台口

  switch(config-line)#line vty 0 4 ;进入虚拟终端

  switch(config-line)#login ;允许登录

  switch(config-line)#password xx ;设置登录口令xx

  switch#exit ;返回命令

下载地址
用户评论