Deployment Guide

56
5.6.2.2 set logging level
Sets the level that log messages are generated for during runtime. This only changes the values during this run
of the system. To make this persistent in the running configuration use the set default logging level
command. See the example below:
FJ6K0Z1_console> set logging level
set logging level command: valid levels are 0-7
5.6.3 Enable or Change Default Logging Levels/Components
Default logging values allow the users to set persistent values into the switch’s running-configuration for the
initial state of logging when the switch initially loads. This allows the initial configuration of the logging
components to be set to a user configurable value, while the runtime log levels can be changed as needed to
debug the system.
5.6.3.1 set default logging component
set default logging component
Sets the logging components in the running configuration to be used as the initial configuration when the
switch loads. It has the same range of values that the set logging component level has.
5.6.3.2 set default logging level
set default logging level
Sets the logging level in the running configuration to be used as the initial configuration when the switch
loads. It has the same range of values that the set logging level has.
5.6.4 Syslog Configuration
As mentioned previously, there are currently no user accessible local logs kept in DNOS-OF, so setting up the
external syslog is very important if you want to actually see the log entries you have configured.
ZBA123_console> set ip syslog service <IP address> <IP port> enables logging to the remote syslog server
Without a valid argument, logging level gives this message:
ZBA123_console> set logging level
set logging level command: valid levels are 0-7
NOT setting to level -1
With a valid argument, logging level gives this message:
ZBA123_console> set logging level 4
logging level set to 4
Sets the address and port for remote syslog from the management port.
5.7 Switch Configuration Storage
There are 3 configuration files used by DNOS-OF to control switch configuration: startup-config, running-
config, and backup-config. These store the configuration data in standard JSON object format. Note that
password is stored encrypted.