How to use CLI

Command: help lists all commands; press Tab for hints.

Command

Purpose

ls

List nodes

get <node>

Show node contents

cd <node>

Switch to a node

set <leaf> <value>

Change a setting

commit

Apply changes to the running configuration (not persistent)

copy running startup

Save to flash so settings survive a reboot

discard

Drop uncommitted changes

describe <path>

Show information about a YANG path

dump

Print datastore content (JSON/XML)

switch

Switch datastore

exec, prepare, cancel

Run RPC/actions

quit / Ctrl-z

Leave the CLI

Linux shell utilities

Utilities available in the Linux shell for user root:

Command

Purpose

velia-list-alarms

List statuses and alarms

grep ^VERSION= /etc/os-release

Show the OS version

ifconfig

Show interface addresses (the IP is on br0)

journalctl

Show logs

Press Ctrl-z to leave the CLI (like quit). Press Ctrl-d to leave the current shell level (like exit).