* This KB is a quick reference to some useful Flexvnf Shell/CLI commands (also a part of tech-support!)
Shell Commands
Versa Package Info | dpkg -s versa-flexvnf Current Versa Daemons running | service versa-flexvnf status Fail2ban status | service fail2ban status Monit status | service monit status Hostname | hostname Interfaces | ifconfig -a Distribution | lsb_release -a Last Reboot | last -x reboot Last Shutdown | last -x shutdown Uptime | uptime Time | date CPU | top -H -b -n1 IPTables | iptables -S IPTables NAT | iptables -t nat -S Memory | free -kh Hard Disk | df -kh MemInfo | cat /proc/meminfo Mounted FSs | mount Kernel Modules Loaded | lsmod Versa-service Memory Usage | pmap -x $(pidof versa-vsmd) Versa-service Proc status | cat /proc/$(pidof versa-vsmd)/status Hardware Info | lspci -vv lsof output | lsof -bw -n Versa-service threads | ps -T -p $(pidof versa-vsmd) Versa-service affinity | taskset -a -p $(pidof versa-vsmd) Capabilities | getcap -rv /opt/versa/bin MBufs In Use | /opt/versa/scripts/mbufs_inuse.sh System package states | dpkg -l
CLI Commands
show confd-state show users show commit list show system details show system trial-info show system uptime show system status show system snapshots show system load-stats show system storage show system package-info show alarms statistics detail show coredumps show arp all show security security-package information show security security-package security-package-history show security ips compile-status show security osspack info show security osspack history brief show security osspack history detail show interfaces brief show interfaces detail show interfaces statistics show interfaces port statistics detail show interfaces port statistics brief show class-of-services interfaces brief show class-of-services interfaces extensive show bgp neighbor brief show redundancy inter-chassis show orgs org $TENANT_NAME sd-wan brief show orgs org $TENANT_NAME sd-wan history show orgs org $TENANT_NAME sd-wan statistics aggregate show orgs org $TENANT_NAME sd-wan statistics access-circuit show orgs org $TENANT_NAME sd-wan statistics vni show orgs org $TENANT_NAME sd-wan sla-monitor status show orgs org-services $TENANT_NAME ipsec statistics show org org-services $TENANT_NAME ipsec vpn-profile $VPN_PROFILE ike history show org org-services $TENANT_NAME ipsec vpn-profile $VPN_PROFILE statistics