_____________________________________________________________________________
____________________________________________________________________________
48
LTP-8X optical line terminal
Table 13.3. System Log Output Devices
Output Device
Name
Description
System log
System
The system log allows the log to be displayed locally or with the
help of the syslog server.
Console
Console
Being used for log display, the console allows system messages to
be visible as soon as they are received in the terminal connected to
the Console port.
CLI sessions
Rsh
Being used for log display, CLI sessions allow system messages to be
visible as soon as they are received in all CLI sessions connected via
telnel or SSH.
File
File
Logging into a file allows system messages to be written directly to
the file which can further be sent for analysis to support specialists.
13.4.1
Modules Configuration
Consider module configuration by the example of the pmchal-gpon module responsible for messages
from GPON subsystem. Other modules have similar configuration process.
Step 1.
Set a collecting level with the help of the
logging module pmchal-gpon level
command.
LTP-8X(config)# logging module pmchal-gpon loglevel debug
Step 2.
Set a output devices’ logging level with
logging system <device> debug
command.
LTP-8X(config)# logging system loglevel debug
LTP-8X(config)# logging rsh loglevel error
LTP-8X(config)# logging file loglevel errors
Every output device may have its own filter level or have the display disabled.
13.4.2
Configuring SYSLOG parameters
Step 1.
Use the
loggin buffer
command to specify the memory size in bytes to be used for system log storage.
LTP-8X(config)# logging buffer 262144
Step 2.
If needed, use the
logging romote
command to specify the IP address of the remote SYSLOG server to
be used to display system log.
LTP-8X(config)# logging remote 192.168.1.43
Step 3.
Apply the configuration by using the
do
commit
command.
LTP-8X(config)# do commit
Step 4.
Check the configured data by using the
do show logging
command.