华为设备常用小功能:关闭干扰信息,设置闲置超时时间等

华为设备常用小功能:关闭干扰信息,设置闲置超时时间等

 

1.关闭弹出提示消息

<R2> undo terminal monitor              //关闭弹出提示消息
Info: Current terminal monitor is off.
<R2>

 

3.将设备会话的闲置超时设为2分钟

<R2> system-view                           //进系统视图
Enter system view, return user view with Ctrl+Z.

[R2] user-interface console 0
[R2-ui-console0] idle-timeout 2        //将闲置超时设为2分钟

 

附其他常用命令(以下网上搜索的,感谢不知名原作者)

 system-view 或者 sys 或者 system 进入系统视图

sysname HW 更改设备的名字为HW

interface Ethernet0/0/1 或者int interface 接口类型+接口编号 进入接口视图

[Huawei-Ethernet0/0/1] shutdown 关闭当前接口

[Huawei-Ethernet0/0/1] undo shutdown 开启当前接口

display current-configuration 或者 display cu 查看当前配置

display saved-configuration 或者 display sa 查看已保存配置

display version 查看版本

save 保存配置

reset saved-configuration 清除已保存的配置

quit 返回上级视图

return 返回用户视图

reboot 重启设备

dis device 用来查看设备信息

dis interface 用来查看接口信息

dis version 用来查看版本信息

slot-id 用来查看某一单板、电子标签的信息

dis env 用来查看设备的温度

dis cpu 用来查看cpu的信息

dis memory 用来查看内存的信息

dis interface 用来查看接口的信息

terminal monitor 终端信息显示功能

terminal debug 使终端现实调试信息

temperature threshold 设置温度的告警值

display diagnostic-information  显示诊断信息

display ip routing-table  显示路由信息

display current-configuration   显示系统当前配置

display saved-configuration   显示系统保存配置

display  vlan   显示VLAN信息

display stp   显示生成树信息

display arp   显示ARP信息表

display mac-address   显示MAC地址表

display log   显示系统日志

display clock   显示系统时钟

display ipint brief   查看三层接口汇总信息

原文地址:https://www.cnblogs.com/gucun-blog/p/14241600.html