zoukankan      html  css  js  c++  java
  • SSH交换机显示logbuffer状态信息,t m 、t d

    terminal monitor

    命令功能

    terminal monitor命令用来使能终端显示信息中心发送信息的功能。

    undo terminal monitor命令用来去使能终端显示信息中心发送信息的功能。

    缺省情况下,终端显示功能处于使能状态。

    命令格式

    terminal monitor

    undo terminal monitor

    参数说明

    视图

    用户视图

    缺省级别

    3:管理级

    使用指南

    前置条件

    执行命令info-center enable使能信息中心功能。

    后续任务

    执行terminal monitor使能显示功能后,可以分别使用terminal debugging/undo terminal debuggingterminal logging/undo terminal loggingterminal trapping/undo terminal trapping使能或去使能终端显示Debug/Log/Trap信息功能。

    注意事项

    此命令只影响输入命令的当前终端。

    执行undo terminal monitor取消显示功能时,相当于执行undo terminal debuggingundo terminal loggingundo terminal trapping命令,所有的Debug/Log/Trap信息在本终端都不显示。

    使用实例

    # 去使能终端显示功能。

    <Huawei> undo terminal monitor
    Info: Current terminal monitor is off.
    相关主题
     
     

    info-center channel

    命令功能

    info-center channel命令用来配置信息输出时所使用的信息通道。

    undo info-center channel命令用来恢复信息输出时所使用的信息通道为缺省值。

    缺省情况下,系统向各个方向输出信息所使用的信息通道如下表所示:

    表4-29  缺省情况下,信息通道的通道号、通道名和输出方向的对应关系

    通道号

    通道名

    输出方向

    0

    console

    控制台

    1

    monitor

    用户终端

    2

    loghost

    日志主机

    3

    trapbuffer

    Trap缓冲区

    4

    logbuffer

    Log缓冲区

    5

    channel5

    未指定

    6

    channel6

    未指定

    7

    channel7

    未指定

    8

    channel8

    未指定

    9

    channel9

    日志文件

    命令格式

    info-center console | logbuffer | logfile | monitor | trapbuffer } channel { channel-number | channel-name }

    undo info-center { console | logbuffer | logfile | monitor | trapbuffer } channel

    参数说明

    参数参数说明取值
    console 指定向控制台输出信息的信息通道。 -
    logbuffer 指定向Log缓冲区输出信息的信息通道。 -
    logfile 指定向日志文件输出信息的信息通道。 -
    monitor 指定向用户终端输出信息的信息通道。 -
    trapbuffer 指定向Trap缓冲区输出信息的信息通道。 -
    channel-number 指定通道编号。 整数形式,取值范围是0~9。
    channel-name 指定通道名称。该名称可以是缺省的信息通道名称也可以是用户自定义的名称。 字符串形式,区分大小写,长度范围是1~30个字符,只能由字母或数字组成,并且首字符只能为字母。

    视图

    系统视图

    缺省级别

    2:配置级

    使用指南

    用户可以通过执行info-center channel命令修改信息输出的信息通道来实现向某些不同的方向输出相同的信息。

    配置信息输出到日志主机所使用的信息通道请参见info-center loghost

    使用实例

    # 配置向控制台输出信息的通道。

    <Huawei> system-view
    [Huawei] info-center console channel console

    # 配置向Log缓冲区输出信息的通道。

    <Huawei> system-view
    [Huawei] info-center logbuffer channel logbuffer

    # 配置向日志文件输出信息的通道。

    <Huawei> system-view
    [Huawei] info-center logfile channel 9

    # 配置向用户终端输出信息的通道。

    <Huawei> system-view
    [Huawei] info-center monitor channel monitor

    # 配置向Trap缓冲区输出信息的通道。

    <Huawei> system-view
    [Huawei] info-center trapbuffer channel trapbuffer
    相关主题
     
     
  • 相关阅读:
    【基础算法】- 全排列
    【基础算法】- 2分查找
    区块链培训
    Static Binding (Early Binding) vs Dynamic Binding (Late Binding)
    test
    No data is deployed on the contract address!
    "throw" is deprecated in favour of "revert()", "require()" and "assert()".
    Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
    京都行
    Failed to write genesis block: database already contains an incompatible
  • 原文地址:https://www.cnblogs.com/TImeroot/p/14723759.html
Copyright © 2011-2022 走看看