Using the cycli Utility : cycli Commands : get | show

get | show
Get the value assigned to a parameter. When no parameters are listed, the whole parameter tree is displayed. If full parameters are specified, the assigned value is displayed.
Synopsis
get | show parameter(s)
Examples
cli> get network hostname
anchovy
cli> show network resolv domain
avocent.com
When get is entered with a partial parameter, all the subtrees display. In the output, if a value is assigned, the parameter preceding the value ends with a semicolon.
cli> get network
network interface failover: no
network interface eth0 active: yes
network interface eth0 method: dhcp
network interface eth0 address: 192.168.160.10
network interface eth0 netmask: 255.255.255.0
network interface eth0 broadcast: 192.168.160.255
network interface eth0 gateway: none
network interface eth0 mtu: 1500
network interface eth1 active: no
network interface eth1 method: dhcp
network interface eth1 address
network interface eth1 netmask
network interface eth1 broadcast
network interface eth1 gateway: none
network interface eth1 mtu: 1500
network interface bond0 active: no
network interface bond0 method: static
network interface bond0 address: 192.168.160.10
network interface bond0 netmask: 255.255.255.0
network interface bond0 broadcast: 192.168.160.255
network interface bond0 gateway: none
network interface bond0 mtu: 1500
network interface priv0 active: yes
network interface priv0 method: manual
network interface priv0 address
network interface priv0 netmask
network interface priv0 broadcast
network interface priv0 gateway: none
network interface priv0 mtu: 1500
network interface eth2 active: no
...
network smtp auth method
network ipv4 icmp echo_ignore_all: 0
network ipv4 ip forward
cli>
If the system assigns default values, default values are shown next to the automatically added parameter name, as in the following example, which was entered on the OnBoard appliance before any configuration has been done.
cli> get network interface eth0
network interface eth0 active: yes
network interface eth0 method: dhcp
network interface eth0 address: 192.168.160.10
network interface eth0 netmask: 255.255.255.0
network interface eth0 broadcast: 192.168.160.255
network interface eth0 gateway: none
network interface eth0 mtu: 1500
cli>
NOTE: If you make a change but do not commit it (see commit), the configuration files are not updated. The get command shows the changes that are currently stored in the RAM memory, not the actual value stored in the affected configuration file.