Huawei华为交换机学习笔记

Huawei华为交换机学习笔记

王忘杰
2022-07-27 / 0 评论 / 91 阅读 / 正在检测是否收录...

进入系统试图 system-view
退出 quit
返回用户视图 return Ctrl+Z
显示系统版本 display version
查看当前配置 display this 
更改设备名 sysname
保存 save
重启reboot
恢复出厂设置reset saved-configuration
查看配置信息 display current-configuration
关闭“打断命令输入”undo terminal monitor 
查看路由表 display ip routing-table


配置终端登录密码
user-interface console 0
authentication-mode password
set authentication password simple 123 明文密码
set authentication password cipher 123 密文密码

配置终端自动退出时间
user-interface console 0
idle-timeout 1 1分钟后自动退出

关闭网络接口
interface GigabitEthernet 0/0/2
shutdown关闭
undo shutdown打开

配置IP地址
interface GigabitEthernet 0/0/0 进入接口
ip add 192.168.1.254 24 配置IP

配置交换机管理地址
interface Vlanif 1
ip add 192.168.1.253 24
undo sh

配置远程访问
user-interface vty 0 1 远程管理的终端数量
user privilege level 3 远程管理的权限级别
authentication-mode aaa 启用3A认证
aaa 进入3A认证视图
local-user admin password cipher 123 添加用户密码
local-user admin service-type telnet 远程管理的协议

清除Console口密码

User interface con0 is available
Please Press ENTER.
Password:

断电重启,提示Ctrl+B时按Ctrl+B
Boot Area ...........................................Main
CPU reset type ...................................PowerOn
CPU Core Frequency ...............................1400MHz
SDRAM memory size ............................... 4Gbytes
SDRAM initializing ..................................Done
Press [Ctrl+T] to entry diag menu in 1 seconds
BIOS Version:1262, Date: Mar-12-2020 09:00:00
Starting the os kernel
Uncompressing... done, booting...
@@@[    3.300340] **** Total Boot time: 3300 ms, uncompress initrd cost 2701 ms ****

Press CTRL+B to enter BOOT menu or CTRL+E to boot DFX: 2
Info: The password is empty. For security purposes, change the password.

New password:
Confirm password:

The password is changed successfully.

        Main Menu

    1. Default startup
    2. Serial submenu
    3. Ethernet submenu
    4. Startup parameters submenu
    5. File system submenu
    6. Password manager submenu
    7. Restore factory defaults
    8. Reboot

Enter your choice(1-8): 6

        Password manager submenu

    1. Modify bootloader password
    2. Clear the console login password
    3. Reset bootloader password
    0. Return

Enter your choice(0-3): 2

Caution: A new console password must be set after the restart.
Continue now? Yes(y) or No(n): y
Boot Disk: flash
Startup File: CE6820-V200R019C10SPC800.cc
code here...
2

讨论

根据公安部要求,本站无评论功能,若有问题欢迎加入QQ群讨论,群在侧边栏,刷新几次可见