info-center source { module-name | default } console { deny | level severity } 缺省情况下,日志信息的输出规则请参见“1.1.4 日志信息的缺省输出规则”。 (3) (可选)配置时间戳输出格式。 info-center timestamp { boot | date | none } 缺省情况下,信息的时间戳输出格式为date格式。 (4) 退回到...
info-centertimestamp {boot|date|none} 缺省情况下,信息的时间戳输出格式为date格式 退回到用户视图 quit - (可选)允许日志信息输出到当前终端 terminalmonitor 缺省情况下,允许日志信息输出到控制台 允许调试信息输出到当前终端 terminaldebugging 缺省情况下,不允许调试信息输出到当前终端 ...
system-view info-center enable info-center sourcedefaultchannel loghost log level debugging info-center loghost172.16.30.2facility local0 2、要保证交换机到日志服务器网络可达 3、交换机的时间建议调整一下 代码语言:javascript 复制 clock timezone Asia_Shanghai add08:00:00clock datetime12:01:052020/06/0...
system-view info-center enable info-center sourcedefaultchannel loghost log level debugging info-center loghost172.16.30.2facility local0 2、要保证交换机到日志服务器网络可达 3、交换机的时间建议调整一下 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 clock timezone Asia_Shanghai add08:00...
info-center timestamp loghost no-year-date//将日志格式不显示年 这条命令可选择日志时间戳的格式。 info-center loghosthost-ipv4-addressportport-numberfacility local7 这条命令是设置日志服务器地址及端口,facility命令可以设置设备信息,以便在日志服务器上进行日志分类。
H3C 信息中心配置
多次执行本命令,最多可以指定20台不同主机同时接收设备产生的日志信息。
local-user admin password simple 12345 service-type telnet level 3 service-type web level 2 # info-center loghost 202.102.216.130 # undo ssid wa1208e # config-file-auto-save-period set 30 cpu-performance-alarm-limit set 100 config-file-auto-save-mode-open # web-server max-user-number 5 ...
[ H3C ]info-center enable [ H3C ]qu< H3C >< H3C >debugging ip packet < H3C >t d< H3C >t m< H3C >结束后关闭debug< H3C >u t m< H3C >u t d < H3C >undo debugging all 2022-06-26回答 评论(0) 举报 (0) 姚同学 开启debug< > t m< > t d[ ] info-cen en 2022-06-...