本文讨论Dell Networking PowerConnect 2800型号交换机上通过命令行提供的有限数量的命令。
基本CLI概述
PowerConnect 28xx系列支持基本控制台CLI界面和单个telnet会话。
要访问此串行控制台,交换机必须处于受控模式。默认情况下,交换机处于非受控模式。如果对切换至受控模式不熟悉,请参阅文章HOW10276“How to access Management for the PowerConnect 2800 series switches”(如何访问PowerConnect 2800系列交换机的管理)。
2808型号没有串行端口用于连接控制台。因此,2808没有和其余2800型号交换机一样的命令行功能。
CLI可用于:
- 重新引导设备
- 将系统还原为默认值(除了2808必须从Web界面重置)
- 下载或上传配置、映像或引导文件
- 创建本地数据库用户(用于设备管理)
- 定义SNMP团体
- 定义静态IP地址
- 执行show tech-support命令
重新引导设备
# reload
此命令将重置整个系统并断开当前会话的连接。Do you want to continue?(是否要继续?)(Y/控制台N)[N] Y
Shutting down ...(正在关闭...)
Shutting down ...(正在关闭...)
还原系统默认值
重新加载后以及交换机正在启动时,将显示点击“enter”的选项以停止自动启动并进入引导菜单。
在引导菜单中,按选择[2] Erase Flash File([2]擦除刷新文件),然后按Y>确认
启动菜单
[1] Download Software(下载软件)
[2] Erase Flash File(擦除刷新文件)
[3] Enter Diagnostic Mode(进入诊断模式)
[4] Set Terminal Baud-Rate(设置终端波特率)
[5] Back(返回)
输入您的选择或按“ESC”退出:2
Warning! About to erase a Flash file.(将擦除刷新文件。)
Are you sure (Y/N) ?(是否确定(Y/N)?)y
升级固件
键入copy tftp:// / image
从TFTP服务器提取映像文件。
console# copy tftp://10.0.0.2/ -10020 powerconnect_28xx.ros image
16-Dec-2008 14:35:59 %COPY-I-FILECPY: Files Copy - source URL tftp://10.0.0.2/powerconnect_28xx-10020.ros destination URL flash://image
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!16-Dec-2008 14:39:07 %COPY-W-TRAP:复制操作
成功完成
!
Copy: 4606156 bytes copied in 00:03:37 [hh:mm:ss]
console#
创建用户的本地数据库
console# configure
console(config)# username admin password password level 15
console(config)#
SNMP 配置
console# configure
console(config)# snmp-server community public rw 10.37.123.10
console(config)#
IP地址分配
console# configure
console(config)# ip address 172.16.1.1 /24
console(config-if)#
Show Tech-Support
Console# show tech-support