Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

buffer

Set the system log size.

Syntax
buffer <VALUE>
no buffer
Parameters

<VALUE> - log size in bytes, range of values [1000 - 300000]

Default value

100000

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# buffer 1000

permanent

Configure syslog files to be saved in non-volatile memory.

Syntax
[no] permnanent
Parameters

The command does not contain parameters.

Default value

Disabled.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# permnanent

remote server

Configure syslog server address to which the logs will be sent. It is possible to specify up to three servers with unique IP addresses.

Syntax
remote server ip <IP> [PORT]
no remote server ip <IP>
Parameters

<IP> - IP address, specified as AAA. BBB. CCC. DDD, where each part takes the value [0..255];

[PORT] - port, may take values [1-65535].

Default value

<IP> - not specified;

[PORT] - 514.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# remote server ip 192.168.100.5 port 1000

remote loglevel

Set the log level to be sent to the syslog server.

Syntax
remote loglevel <LOGLEVEL>
no remote loglevel
Parameters

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# remote loglevel debug

console loglevel

Set the log level for console connection.

Syntax        
console loglevel <LOGLEVEL>
no console loglevel
Parameters

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# console loglevel debug

file loglevel

Set the log level for syslog file

Syntax
file loglevel <LOGLEVEL>
no file loglevel
Parameters

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# file loglevel debug

module cli

Set the log level for CLI module

Syntax
module cli [SUBMODULE] loglevel <LOGLEVEL>
no cli [SUBMODULE] loglevel
Parameters

[SUBMODULE] - name of the submodule for which the logging will be changed. Values: [ ipc | cfgdb | hash | log ];

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice - for module and all submodules.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# module cli loglevel debug
LTP-16N(logging)# module cli ipc loglevel debug 

module dna

Set the log level for DNA module

Syntax
module dna [SUBMODULE [PORT-ID]] loglevel <LOGLEVEL>
no dna [SUBMODULE [PORT-ID]] loglevel
Parameters

[SUBMODULE] - name of the submodule for which the logging will be changed. Value: [gpon-port | conf-task | olt | ont | bcm-api | tools | loglib | cfgdb ];

[PORT-ID] - interface index for the gpon-port and ont submodules:

  • gpon-port - value <1-16>. With capability to set ranges and/or enumerations.
  • ont - value <1-16/1-128>. The first number is the port index, the second is the ONT index. With capability to set ranges and/or enumerations.

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice - for module and all submodules.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# module dna loglevel debug
LTP-16N(logging)# module dna ont 1/1-5,10 loglevel debug 

module fsm-pon

Set the log level for FSM module.

Syntax
module fsm-pon [SUBMODULE] loglevel <LOGLEVEL>
no fsm-pon [SUBMODULE] loglevel
Parameters

[SUBMODULE] - name of the submodule for which the logging will be changed. Values: [ main-queue | callback-queue | info-queue | timers | task-queue | omci | listener | cfgdb ];

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice - for module and all submodules.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# module fsm-pon loglevel debug
LTP-16N(logging)# module fsm-pon timers loglevel debug 

module igmp

Set the log level for IGMP module.

Syntax
module igmp [SUBMODULE] loglevel <LOGLEVEL>
no igmp [SUBMODULE] loglevel
Parameters

[SUBMODULE] - name of the submodule for which the logging will be changed. Values: [ main-task | conf-task | cfgdb | msg-queue | timers ];

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice - for module and all submodules.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# module igmp loglevel debug
LTP-16N(logging)# module igmp conf-task loglevel debug 

module logmgr

Set the log level for log-mgr module.

Syntax
module logmgr [SUBMODULE] loglevel <LOGLEVEL>
no logmgr [SUBMODULE] loglevel
Parameters

[SUBMODULE] - name of the submodule for which the logging will be changed. Values: [ cfgdb ];

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice - for module and all submodules.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# module logmgr loglevel debug
LTP-16N(logging)# module logmgr cfgdb loglevel debug 

module usermgr

Set the log level for user-mgr module.

Syntax
module usermgr [SUBMODULE] loglevel <LOGLEVEL>
no usermgr [SUBMODULE] loglevel
Parameters

[SUBMODULE] - name of the submodule for which the logging will be changed. Values: [ cfgdb ];

<LOGLEVEL> - LOGGING LEVEL. Values: [ critical | error | warning | notice | info | debug ].

Default value

notice - for module and all submodules.

Privilege group
config-logging
Command mode

LOGGING

Example
LTP-16N(logging)# module usermgr loglevel debug
LTP-16N(logging)# module usermgr cfgdb loglevel debug 
  • Нет меток