Deployment Guide
74
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.
5.7.1 startup-config
The initial switch configuration is stored in flash, in a file called startup-config. When the switch is first booted
into DNOS-OF at the start of day, this will contain a set of default values as shown in the example below:
FJ6K0Z1_console> show startup-config
{
"Default Logging":
{
"components":
{
"API": false,
"Datapath": false,
"Mapping": false,
"OFDB": false
},
"level": 1
},
"Global OpenFlow Configuration":
{
"DNOS-OF version": "1.1",
"HA feature": "enabled",
"OFControlNetwork Backup Address": "192.168.1.55/24",