You can add, change, or delete configuration variables in the Configuration Mode. You can enter the configuration mode using the configure
command. To exit from the configuration mode, enter the exit
command.
If you enter the help
command in the configuration mode, you can see all commands of the mode.
LYSH@MyHostName# configure configure# help
database
Please refer to the CLI - Database section.
datetime
Please refer to the CLI - NTP and datetime section.
dhcpv4, dhcpv6
Please refer to the CLI - Services(daemons) section.
fail2ban
Please refer to the CLI - fail2ban section.
failover
Please refer to the CLI - System Failover section.
hostname
Please refer to the CLI - Hostname section.
ip
Please refer to the CLI - Networking section.
log
sort
You can specify the order of logs display. This configuration affects when if you execute the show log
command without -w option. you can verify current setting by executing show system logsort
. If the sort is "desc," it shows logs in descending order. If the sort is "asc", it shows logs in ascending order.
LYSH@MyHostName# show system logsort logsort : desc // logs are shown in descending order.
You can change the order in the configuration mode.
LYSH@MyHostName# configure configure# log sort asc configure# exit LYSH@MyHostName# show system logsort logsort : asc // logs are shown in descending order.
logexp
Please refer to the CLI - Services(daemons) section.
loghost
It is the configuration for Syslog to log remotely. We term such remote log server "loghost".If there is the same "loghost", it overwrites to the new one.
LYSH@MyHostName# configure configure# loghost add -h usage: loghost add [-h] <A.B.C.D|WORD> [<[1-65535]>] [<[WORD]>]
To send all logs to the remote server whose address is 192.168.0.100 and port is the default Syslog port(514).
configure# loghost add 192.168.0.100
To send all logs to the remote server whose address is 192.168.0.100 and port is 1000.
configure# loghost add 192.168.0.100 1000
To send logs whose level is greater than or equal to "notice" to the remote server whose address is 192.168.0.100 and port is 1000.
configure# loghost add 192.168.0.100 1000 notice
To verify loghost, enter the show loghost
in the user mode.
LYSH@MyHostName# show loghost *.notice @192.168.0.100:1000
nameserver
You can add or delete a nameserver of a network interface. To verify the configured nameservers, enter the show interface
command in the user mode.
LYSH@MyHostName# configure configure# nameserver add eth0 8.8.8.8 // add a nameserver, 8.8.8.8, into the eth0 interface. configure# nameserver delete eth0 8.8.4.4 // delete a nameserver, 8.8.8.8, from the eth0 interface. configure# exit LYSH@MyHostName# show interface eth0 stats : operate=up, up=yes, speed=100MB, duplex=full, mtu=1500 incoming : bytes=15.1G, pkts=93920605, errs=0, drops=6869214 outgoing : bytes=65.9G, pkts=76383487, errs=0, drops=0 gateway4 : 192.168.0.1 IPv4 address : 192.168.0.40/24 MAC address : 00:01:a2:92:1e:f3 ...... DNS Servers: 8.8.8.8 8.8.4.4
netplan
You can apply the network configuration immediately.
LYSH@MyHostName# configure configure# netplan apply
ntp
Please refer to the CLI - NTP and datetime section.
rtlog
Please refer to the CLI - Services(daemons) section.
system
Please refer to the CLI - System.
timezone
You can configure the timezone of the device.
LYSH@MyHostName# configure configure# tiemzone
ufw
It is the default firewall configuration tool. Please refer to the CLI - ufw section.