Switch to logging configuration mode.
logging
The command does not contain any parameters.
config-logging
CONFIG
LTP-16N(configure)# logging |
Set the system log size.
file size <VALUE>
no file size
<VALUE> — log size in bytes, range of values [1000-300000].
3000000
config-logging
LOGGING
LTP-16N(logging)# file size 20000 |
Configuring the saving of syslog files to non-volatile memory.
[no] permanent
The command does not contain any parameters.
Disabled
config-logging
LOGGING
LTP-16N(logging)# permnanent |
Configuring syslog server address to which the logs will be sent. It is possible to specify up to three servers with unique IP addresses.
remote server ip <IP> [PORT]
no remote server ip <IP>
<IP> — not specified;
[PORT] — 514.
config-logging
LOGGING
LTP-16N(logging)# remote server ip 192.168.100.5 port 1000 |
Setting the log level to be sent to the syslog server.
remote loglevel <LOGLEVEL>
no remote loglevel
<LOGLEVEL> — logging level. Values: [ critical | error | warning | notice | info | debug ].
notice
config-logging
LOGGING
LTP-16N(logging)# remote loglevel debug |
Setting the logging level for console connection.
console loglevel <LOGLEVEL>
no console loglevel
<LOGLEVEL> — logging level. Values: [ critical | error | warning | notice | info | debug ].
notice
config-logging
LOGGING
LTP-16N(logging)# console loglevel debug |
Setting the log level for syslog file.
file loglevel <LOGLEVEL>
no file loglevel
<LOGLEVEL> — logging level. Values: [ critical | error | warning | notice | info | debug ].
notice
config-logging
LOGGING
LTP-16N(logging)# file loglevel debug |
Setting the log level for kernel.
kernel loglevel <LOGLEVEL>
no kernel loglevel
<LOGLEVEL> — logging level. Values: [ critical | error | warning | notice | info | debug ].
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# kernel loglevel debug |
Setting the log level for CLI module.
module cli [SUBMODULE] loglevel <LOGLEVEL>
no cli [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module cli loglevel debug LTP-16N(logging)# module cli ipc loglevel debug |
Setting the log level for DNA module.
module dna [SUBMODULE [PORT-ID]] loglevel <LOGLEVEL>
no dna [SUBMODULE [PORT-ID]] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module dna loglevel debug LTP-16N(logging)# module dna ont 1/1-5,10 loglevel debug |
Setting the log level for FSM module.
module fsm-pon [SUBMODULE] loglevel <LOGLEVEL>
no fsm-pon [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module fsm-pon loglevel debug LTP-16N(logging)# module fsm-pon timers loglevel debug |
Setting the log level for IGMP module.
module igmp [SUBMODULE] loglevel <LOGLEVEL>
no igmp [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module igmp loglevel debug LTP-16N(logging)# module igmp conf-task loglevel debug |
Setting the log level for log-mgr module.
module logmgr [SUBMODULE] loglevel <LOGLEVEL>
no logmgr [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module logmgr loglevel debug LTP-16N(logging)# module logmgr cfgdb loglevel debug |
Setting the log level for lldp module.
module lldp [SUBMODULE] loglevel <LOGLEVEL>
no lldp [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module lldp loglevel debug LTP-16N(logging)# module lldp cfgdb loglevel debug |
Setting the log level for user-mgr module.
module usermgr [SUBMODULE] loglevel <LOGLEVEL>
no usermgr [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module usermgr loglevel debug LTP-16N(logging)# module usermgr cfgdb loglevel debug |
Setting the log level for DHCP module.
module dhcp [SUBMODULE] loglevel <LOGLEVEL>
no dhcp [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module dhcp loglevel debug LTP-16N(logging)# module dhcp cfgdb loglevel debug |
Setting the log level for SNMP module.
module dhcp [SUBMODULE] loglevel <LOGLEVEL>
no dhcp [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module snmp loglevel debug LTP-16N(logging)# module snmp ipc loglevel debug |
Setting the log level for PPPoE module.
module pppoe [SUBMODULE] loglevel <LOGLEVEL>
no pppoe [SUBMODULE] loglevel
notice — for module and all submodules
config-logging
LOGGING
LTP-16N(logging)# module pppoe loglevel debug LTP-16N(logging)# module pppoe ipc loglevel debug |