当前位置:首页 > 华为S3928P操作维护手册V1
? 配置登陆用户的级别为最高级别3(缺省为级别1) [SwitchA-ui-vty0-4]user privilege level 3
3.2.2用户名+密码认证的方式
? 进入用户界面视图
[SwitchA]user-interface vty 0 4
? 配置本地或远端用户名和口令认证
[SwitchA-ui-vty0-4]authentication-mode scheme
? 配置本地TELNET用户,用户名为”huawei”,密码为”huawei”,权限为最高
级别3(缺省为级别1) [SwitchA]local-user huawei
[SwitchA-user-huawei]password simple huawei [SwitchA-user-huawei]service-type telnet level 3
? 在交换机上增加super password
[SwitchA]super password level 3 simple super3
3.3交换机FLASH文件的维护
? dir命令用来显示以太网交换机的Flash中的指定文件或目录信息。
? display current-configuration 命令用来显示交换机当前的配置。 当用户完成一组配置之后,需要验证配置是否生效,则可以执行display current-configuration命令来查看当前生效的参数。
- 12 -
? 保存当前运行的配置到123.cfg中,并将123.cfg作为下次启动时的主用配
置文件。
The configuration will be written to the device. Are you sure?[Y/N]y
Please input the file name(*.cfg)(To leave the existing filename unchanged press the enter key):123.cfg Now saving current configuration to the device. Saving configuration. Please wait... ............
Unit1 save configuration flash:/123.cfg successfully
? 删除交换机下次启动时的主用配置文件。
? 删除本地Unit的文件test/test.txt,删除文件在设备回收站
? 彻底删除flash:目录下、处于回收站中的所有文件。
Clearing files from flash may take a long time. Please wait...
- 13 -
3.4交换机系统文件的维护
? display boot-loader命令用来显示Fabric App启动文件信息,包括当前使用
的App启动文件名、下次启动时的主用App启动文件名和备用App启动文件名。
显示Unit 1的App启动文件信息。
The current boot app is: test.bin The main boot app is: test.bin The backup boot app is: testbak.bin
? boot boot-loader命令用来设置Fabric App文件主属性,该App文件将
作为交换机下次启动时的首选启动文件。
? 设置Fabric的主启动文件为boot.bin。
The specified file will be booted next time on unit 1!
3.5设备文件的下载和上传
3.5.1 FTP的方式
? 开启交换机FTP功能
? 添加本地FTP用户并设置共享目录 [Quidway] local-user Huawei
- 14 -
[Quidway-luser-switch] password simple Huawei [Quidway-luser-switch] service-type ftp
3.5.2 TFTP的方式
? 在PC上安装TFTP server的软件 在交换机上登陆PC TFTP server下载文件
Downloading file from remote tftp server, please wait......
Not enough space; Writing to device failed; Downloaded data will be deleted.............
Deleting file successful.
? 在交换机上登陆PC TFTP server 上传文件
# 将本机的vrpcfg.cfg 文件上传到TFTP服务器(1.1.1.1)并保存为temp.cfg。
Copying file to remote tftp server. Please wait... / TFTP: 962 bytes sent in 0 second(s). File uploaded successfully.
3.6 设备告警的查看
? 显示交换机日志缓冲区的状态和缓冲区记录的日志信息。
Logging buffer configuration and contents:enabled #Aug
17
11:56:27:492
2009
S3928P-MSTP-DF-00F
VRRP/5/TrapBecomeNewMaster:- 1 - 1.
- 15 -
共分享92篇相关文档