user@debug:~$ show -?
Usage: show [OPTIONS] COMMAND [ARGS]...
SONiC command line - 'show' command
Options:
-?, -h, --help Show this message and exit.
Commands:
aaa Show AAA configuration in ConfigDb
acl Show ACL related information
arp Show IP ARP table
clock Show date and time
ecn Show ECN configuration
environment Show environmentals (voltages, fans, temps)
interfaces Show details of the network interfaces
ip Show IP (IPv4) commands
ipv6 Show IPv6 commands
lldp LLDP (Link Layer Discovery Protocol)...
logging Show system log
mac Show MAC (FDB) entries
ntp Show NTP information
platform Show platform-specific hardware info
processes Display process information
runningconfiguration Show current running configuration...
services Show all daemon services
session Show existing everflow sessions
startupconfiguration Show startup configuration information
system-memory Show memory information
tacacs Show TACACS+ configuration
techsupport Gather information for troubleshooting
uptime Show system uptime
users Show users
version Show version information
vlan Show VLAN information
The same syntax applies to all subcommands ofshow
which themselves contain subcommands
- Example:
user@debug:~$ show interfaces -?
Show details of the network interfaces
Options:
-?, -h, --help Show this message and exit.
Commands:
alias Show Interface Name/Alias Mapping
counters Show interface counters
description Show interface status, protocol and...
portchannel Show PortChannel information
status Show Interface status information
summary Show interface status and information
transceiver Show SFP Transceiver information
Software Component Versions
show version
- Displays software component versions of the currently running SONiC image. This includes the SONiC image version as well as Docker image versions. You can find details of the SONiC image version format here .
- Example:
admin@SONiC:~$ show version SONiC Software Version: SONiC.HEAD.769-147b89f Distribution: Debian 8.7 Kernel: 3.16.0-4-amd64 Build commit: 147b89f Build date: Tue Apr 25 23:17:13 UTC 2017 Built by: build@jenkins-worker-internal-1 Docker images: REPOSITORY TAG IMAGE ID SIZE docker-syncd-brcm latest e0718ff09fa9 282.8 MB docker-orchagent-brcm latest 2e66189adf3e 252.8 MB docker-dhcp-relay latest 708ffe9c382e 248.4 MB docker-database latest ce1157a4c32e 216.4 MB docker-snmp-sv2 latest dfd1ea263f76 289.9 MB docker-teamd latest b70c8c266250 250.3 MB docker-platform-monitor latest 13dd1d45c31e 273.5 MB docker-lldp-sv2 latest 5792e34980cc 254.9 MB docker-fpm latest c611a97cf5fa 256.8 MB