您好,欢迎访问深圳市苏山伟达通讯设备有限公司官方网站!

致力于智慧城市、XPON光网络通信工程

提供从产品到通信规划设计方案的服务
服务热线:

0755-89605209

首页 > 新闻资讯 > 技术解答 >

中兴OLT系统Log设置调试

【发布时间:2018-03-14 17:36:19】

Prerequisites:

  • Make sure that the network device works normally.

  • Log in to the ZXA10 C220 through HyperTerminal or Telnet.

Context:

To configure the system log, perform the following steps:

Step-1. Use the configure terminal command to enter global configuration mode.
Step-2. Use the syslog-server host command to configure system log server.
Step-3. Use the logging on command to enable system log function.
Step-4. Use the logging buffer command to configure log buffer size.
Step-5. Use the logging console command to configure information level sent to console.
Step-6. Use the logging level command to configure information level of log file.
Step-7. Use the logging mode command to configure clear mode of log buffer.
Step-8. Use the logging snmplog-save enable command to enable the function of saving SNMP log to buffer.
Step-9. Use the show logging configure command to query log configuration.

- See more at: http://gponsolution.com/zte-olt-system-log-configure.html#sthash.TqWaFDRq.dpuf

 

中兴OLT系统 Log 设置示例:

Configure log server:

  • Log server IP address: 168.1.1.1

  • Log type: alarm log, command log, and SNMP log

  • Log function: On

  • Console log level: Notification

ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#syslog-server host 168.1.1.1 fport 514 lport 514 alarmlog
level notifications cmdlog snmplog get-pdu set-pdu
ZXAN(config)#logging console NOTIFICATIONS
ZXAN(config)#logging on

ZXAN#show logging configure
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
logging snmplog-save disable
syslog facility local0
syslog severity 6
syslog-server host 168.1.1.1 fport 514 lport 514 alarmlog level notifications cmdlog snmplog get-pdu set-pdu

- See more at: http://gponsolution.com/zte-olt-system-log-configure.html#sthash.TqWaFDRq.dpuf

oun.png